J'utilise un mini-framework PHP, la doc semble claire et concise : http://flightphp.com/learn/
Voici un exemple de route :
Code : Tout sélectionner
Flight::route('/', function(){
Flight::render('header', array('heading' => 'Hello'), 'header_content');
Flight::render('body', array('body' => 'World'), 'body_content');
Flight::render('layout', array('title' => 'Home Page'));
});