Can see is interface, Localization, Hook patterns
Current Version: v2.0.1define('APP_NAME, 'sobird'); define('APP_PATH', '/app/deploy/path'); define('SYS_PATH', '/sys/deploy/path'); require_once(SYS_PATH.'bootstrap.php'); $app = R::createApp(APP_NAME, APP_PATH); $app->run();
class indexAction extends Controller{ function onHttpRequest(){ $this->assign('hello_world','hello world!'); $this->display(); } }
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>title</title>
</head>
<body>
<h1><?php echo $hello_world; ?></h1>
</body>
</html>