Blame view

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