Skip to content
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.

Latest commit

 

History

History
66 lines (49 loc) · 2.32 KB

the_project_structure.md

File metadata and controls

66 lines (49 loc) · 2.32 KB

Application structure/architecture

Table of contents

Where is index.php?

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.

Public assets

Why store public images, fonts, javascript and stylesheeds non public and then write code to copy it to public?

Webpack, webpack encore and babel

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?

Images

CSS prepossessing and scss

Security

Webserver rules

Symfony Firewall & environment variables

Securing the database

Testing

Travis CI

PHP Unit

Code Climate


Author Joris Rietveld License: CC BY-SA 4.0

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.