function myapp_foo(Lune_Request $req, Lune_Response $res) { $res->contentTypeHtml('UTF-8'); $res->message = 'Hello ' . $req->name; $res->render(); // equals to $res->render('myapp_foo.php'); }
function h($str) { return Lune_Response::escapeHtml($str); }