Flywork Framework - Proof of Concept Project
This project is an example showing how the Flywork framework works.
The default application namespace should be "App\", which allows Composer and PSR-4 to correctly handle classes.
- /public
- /bundles
- .htaccess
- index.php
- /src
- /Controllers
- /Rest
- /Models
- /Views
- /Controllers
- /writable
- /cache
- /logs
- /upload
You should put web assets (css, js, img, etc) in this folder. Organize it as you want, but keep in mind that these files are accessible via HTTP requests.
The files .htaccess
and index.php
are essential to run the application.
Contains all generated bundles (combination of files - CSS or JS)
Contains application source code.
Contains all application web controllers.
Contains all application RESTful controllers.(which will be called through url /rest/controller-name/action
)
Contains applications models, which handles database entities and data manipulation.
Contains all application views (you can organize it in subfolders).
This folder is necessary to put all files which is written by framework.
Should contains cache
, logs
and upload
subfolders and be setted as writable.
Main composer application file.
Sample database script.