Introduction

Titel

No changes

Permalink

No changes

Indhold

OldNew
5 5
6## Folder Referencing 6## Folder Referencing
7 7
8LiteCart uses two ways for referencing the application root folder. A server side system path (FS_DIR_APP), or a client side web path (WS_DIR_APP). 8LiteCart uses two ways for referencing the application root folder:
9 9
10* FS_DIR_APP – File system (server side) path
11* WS_DIR_APP – Web system (client side) path
10 12
11### File System Paths (FS_DIR_APP) 13### File System Paths (FS_DIR_APP)
12 14
13FS_DIR_APP is the absolute path for the application root. It is used on the server side and is translated to something like ///var/www/litecart/// or //C:/xampp/htdocs/litecart/// depending on machine and installation. 15FS_DIR_APP is the absolute path to the application root. It is used on the server side and is translated to something like ///var/www/litecart/// or //C:/xampp/htdocs/litecart/// depending on machine and installation.
14 16
15Example below: 17Example below:
16```php 18```php
35 37
36This is the current folder structure as of LiteCart 2.3+: 38This is the current folder structure as of LiteCart 2.3+:
37 39
38<columns 100% 25% -> 40```
39/ 41/ – Root
40├── admin/ 42├── admin/ – Backend
41│ ├── *.app/ 43│ ├── *.app/ – Admin apps
42│ └── *.widget/ 44│ └── *.widget/ – Dashboard widgets
43├── cache/ 45├── cache/ – Cache Directory
44├── data/ 46├── data/ – Data Storage
45├── ext/ 47├── ext/ – External/Extras/Vendor
46│ ├── jquery/ 48│ ├── jquery/
47│ └── ... 49│ └── ...
48├── images/ 50├── images/ – Graphics
49├── includes/ 51├── includes/
50│ ├── abstracts/ 52│ ├── abstracts/ – Class templates
51│ ├── boxes/ 53│ ├── boxes/ – Partials
52│ ├── entities/ 54│ ├── entities/ – Entity Objects
53│ ├── functions/ 55│ ├── functions/ – Defined functions called via lib_func.inc.php using functions::name()
54│ ├── library/ 56│ ├── library/ – System nodes and events
55│ ├── modules/ 57│ ├── modules/ – Modules
56│ ├── references/ 58│ ├── references/ – Read-only factory model reference objects
57│ ├── routes/ 59│ ├── routes/ – Route mapping
58│ ├── templates/ 60│ ├── templates/ – HTML and Output
59│ └── wrappers/ 61│ └── wrappers/ – Wrappers, Service Layers, and Clients
60├── install/ 62├── install/ – Installation wizard
61├── logs/ 63├── logs/ – Application logs
62├── pages/ 64├── pages/ – Documents
63└── vmods/ 65└── vmods/ – Modifcations
64 └── .cache/ 66 └── .cache/
67```
65 68
66 69Please note the folder structure is subject to change in LiteCart 3.0.0.
67<newcolumn>
68 Root
69 Backend
70 Admin apps
71 Dashboard widgets
72 Cache Directory
73 Data Storage
74 External/Extras/Vendor
75
76
77 Graphics
78
79 Class templates
80 Partials
81 Entity Objects
82 Defined functions called via lib_func.inc.php using functions::name()
83 System nodes and events
84 Modules
85 Read-only factory model reference objects
86 URL routing and resolving
87 HTML and Output
88 Service Layers and Clients
89 Installation wizard
90 Application logs
91 Documents
92
93 Modifications
94</columns>
95 70
96 71
97## System Nodes / Library 72## System Nodes / Library

Edited by tim on 28 dec. 2023 at 05:47