项目作者: xinhaiz
项目描述 :
参考Yaf以纯PHP实现的PHP框架
高级语言: PHP
项目地址: git://github.com/xinhaiz/Ghalf.git
Ghalf v0.8.0 (Beta)
Yaf
环境
目录
+ public
| - index.php
+ conf
| - application.ini
- application/
+ controllers
- Index.php
+ views
|+ Index
- index.phtml
- library
- models
- modules
- plugins
- Bootstrap.php
<?php
define('DS', DIRECTORY_SEPARATOR);
define('APP_PATH', dirname(dirname(__FILE__)));
require(APP_PATH . '/Ghalf/Application.php');
$app = new \Ghalf\Application(APP_PATH . '/conf/application.ini');
$app->bootstrap()->run();
文档