-
Notifications
You must be signed in to change notification settings - Fork 1
Architecture
This is a quick overview over the architecture of Elenears Erben. EE is based on Lithium. They have an architecture document as well: here
The EE codebase is divided into two primary folders: app
and libraries
. libraries
contains the Lithium framework, which is a great modern framework to implement PHP 5.3 applications. Visit http://lithify.me or the corresponding GitHub project for further information.
The app
folder is, where our game really is placed. Here is a list of the most important folders:
config/
controllers/
models/
views/
webroot/
webroot
is the folder to which the web server points. It contains CSS, JavaScript and image files. Beyond that, there are no other files, primary for security reasons.
In the config
-folder, all our cool Lithium-features are enabled. This is also where we define routes. Have a look at routes.php
.
models/
, views/
and controllers/
go hand in hand. If you have no idea, what the Model-View-Controller pattern is, have a look at the Wikipedia article.
To get a feel for Lithium's flavor of MVC, have a look at the Getting started guide of Lithium.