Documentation
How to build a site with olala
From installation to production: how the framework works, where your code goes and which modules will help. New here? Start with the quick start.
Getting started
MVC
Routing
How a URL becomes a module, controller and action. Custom routes with parameters.
Controllers
Classes, actions, passing data to views, JSON, redirects and 404.
Views and layouts
Plain PHP templates, page layouts, partials and variables.
Models and database
Models as plain classes and the db module: queries, inserts, updates, transactions.
Tools
Configuration
config.php, DEBUG mode, the settings module and your own parameters.
Cache
File cache with TTL and a RAM drive for maximum speed.
Sessions
Working with sessions: standard PHP sessions or storage in the database.
AJAX and JavaScript
JSON actions, the ajax layout, system.js and rendering views from the browser.
The ./create console
Generate modules, controllers, migrations and a RAM drive with a single command.
Handy modules
Dates, money, strings, images, email, logs, files and editable texts.