findAll(); // normal dba like $res = $dba()->query("SELECT * FROM moo"); } // test action, arguments passed hint at the route structure :action 'login' (int $a, '[a-zA-Z0-9]' $b, bool $c) { // bring in the user library :resource { 'user' } if($user->login('k4st', 'password')) { echo 'yay'; } else { echo 'nay'; } } // custom controller for missing action, without this there would be a // 404 error page :default { header('Status: 404 Not Found'); }