The project uses a front controller that is located in
{PROJECT_ROOT}/public/index.php
. This script is the only one that executes all
of the paths in our application. The advantage of using a front-controller over
the more traditional way of each page is a page.php
script, is that we have
centralized control over the complete application and we can use dynamic
routing.
Why store public images, fonts, javascript and stylesheeds non public and then write code to copy it to public?
Why download javascript source code when there is a minifined CDN? Why shouldn't I use JQuery? What is wrong with javascript and why write EMC6 and compiling it back with babel?
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.