-
Notifications
You must be signed in to change notification settings - Fork 0
Architecture
The Aurora codebase is structured in several directories.
-
app
- Contains the code related to the project configuration, database, controllers, languages and views. -
bin
Contains the CLI code. -
core
- Contains the core code of Aurora. Like the router, database abstraction layer, language manager, etc. -
docs
- Contains the Aurora documentation. -
public
- Contains the public files and resources, such as images, stylesheets and javascript files. -
tests
- Contains all the code related to the automated tests.
Aurora is built on top of the following technologies:
-
PHP - The backend programming language.
-
HTML/CSS/JS - The frontend languages.
-
SQLite - The database engine used by default.
-
Apache - The web server used by default.
Aurora is built with simplicity in mind. The workflow is very straightforward:
-
The user makes a request to the web server.
-
/public/index.php
is executed and initializes the web app. -
/app/bootstrap/config.php
is requested and loads the configuration, routes and everything else related to the web app initialization in theapp/bootstrap
property. -
The requested route is matched and the corresponding route defined in
/app/bootstrap/routes.php
is executed (each route normally calls the modules defined in/app/controllers/modules
).