Commit e81b6880a440dd93c388a1348c1a2b6382388b01
0 parents
first commit
Showing
1 changed file
with
48 additions
and
0 deletions
Show diff stats
| 1 | +++ a/README.md | ||
| 1 | +Artbox Basic Template | ||
| 2 | +=============================== | ||
| 3 | + | ||
| 4 | +Artbox Basic Template is a skeleton [Yii 2](http://www.yiiframework.com/) application enhanced by | ||
| 5 | +light-weight CMS developed by Artweb. | ||
| 6 | + | ||
| 7 | +The template includes three tiers: front end, back end, and console, each of which | ||
| 8 | +is a separate Yii application. | ||
| 9 | + | ||
| 10 | +The template is designed to work in a team development environment. It supports | ||
| 11 | +deploying the application in different environments. | ||
| 12 | + | ||
| 13 | +DIRECTORY STRUCTURE | ||
| 14 | +------------------- | ||
| 15 | + | ||
| 16 | +``` | ||
| 17 | +common | ||
| 18 | + config/ contains shared configurations | ||
| 19 | + mail/ contains view files for e-mails | ||
| 20 | + models/ contains model classes used in both backend and frontend | ||
| 21 | + tests/ contains tests for common classes | ||
| 22 | + widgets/ contains views render widgets | ||
| 23 | +console | ||
| 24 | + config/ contains console configurations | ||
| 25 | + controllers/ contains console controllers (commands) | ||
| 26 | + models/ contains console-specific model classes | ||
| 27 | + runtime/ contains files generated during runtime | ||
| 28 | +backend | ||
| 29 | + assets/ contains application assets such as JavaScript and CSS | ||
| 30 | + config/ contains backend configurations | ||
| 31 | + controllers/ contains Web controller classes | ||
| 32 | + models/ contains backend-specific model classes | ||
| 33 | + runtime/ contains files generated during runtime | ||
| 34 | + tests/ contains tests for backend application | ||
| 35 | + views/ contains view files for the Web application | ||
| 36 | + web/ contains the entry script and Web resources | ||
| 37 | +frontend | ||
| 38 | + assets/ contains application assets such as JavaScript and CSS | ||
| 39 | + config/ contains frontend configurations | ||
| 40 | + controllers/ contains Web controller classes | ||
| 41 | + models/ contains frontend-specific model classes | ||
| 42 | + runtime/ contains files generated during runtime | ||
| 43 | + tests/ contains tests for frontend application | ||
| 44 | + views/ contains view files for the Web application | ||
| 45 | + web/ contains the entry script and Web resources | ||
| 46 | +vendor/ contains dependent 3rd-party packages | ||
| 47 | +environments/ contains environment-based overrides | ||
| 48 | +``` |