4. Folder Structure
assets/
Contains static file contents such as CSS, JavaScript,
and image files.
•
config/
Contains configuration files in PHP format. Has app.php
and database.php by default.
•
5. Folder Structure
controller/
Contains the controller class files. All files
should end in “Controller” suffix. (eg
MainController.php)
•
helpers/
Contains the helper files.
•
6. Folder Structure
lib/
Contains core classes needed to run the MVC
functionality of the web application.
•
model/
Contains model classes for the web application. All
required classes should end in “Model” suffix. (e.g.
UserModel.php)
•
9. TODO
• Add object mapping of database result to
•
•
•
•
•
PHP class instance.
Logging
Memcache support
Model class generator
Improve configs
Theme layout support