structure.md

August 23, 2017 ยท View on GitHub

ONE PHP Micro Framework Documentation

This is the directory structure you will end up with following the instructions in the Installation Guide. Note: You can use controllers or not, but is always recomended for big projects.

MVC

|-- ROOT
|       |-- .htacess
|       |-- index.php
|       |-- src/
|       |--     |-- OnePHP/
|       |--     |--         |-- one_framework.php
|       |--     |-- controllers/    
|       |--     |-- views/
|       |--     |-- libs/
|       |-- public/

All your code must go inside src/ folder.

Next: Routing

Contribute and improve this documentation.
Click Edit and Fork the project.