PHP 5.3 框架 FUEL

fmms 13年前

Fuel 是一个快速、轻量级的 PHP 5.3 框架。

控制器示例代码:

class Controller_Example extends Controller {        public function action_index()      {          $data['css'] = Asset::css(array('reset.css','960.css','main.css'));          $this->response->body = View::factory('test/index', $data);      }  }

项目主页:http://www.open-open.com/lib/view/home/1333635100139