PHP SilexPhp 框架
Symfony团队出品的php5.3微框架, 可大量复用Symfony2组件
示例代码:
require_once __DIR__.'/../vendor/autoload.php'; $app = new Silex\Application(); $app->get('/hello/{name}', function($name) use($app) { return 'Hello '.$app->escape($name); }); $app->run();
评论