&reftitle.examples;
A classic Application directory layout
Entry
index.php in the top directory is the only way in of the application, you should rewrite all request to it(you can use .htaccess in Apache+php_mod)
bootstrap() //call bootstrap methods defined in Bootstrap.php
->run();
?>
]]>
Rewrite rule
"/index.php/$1",
)
}
]]>
Default controller
_view->word = "hello world";
//or
// $this->getView()->word = "hello world";
}
}
?>
]]>
Default view template
Hello World