Responsible Silex controllers http://t.co/PLRe2pHthZ #silex #php #sf2 #symfony
May 09, 2013
Micro-framework Silex is an excellent wrapper around the Symfony components. It abstracts away a lot of the complexities, so you can get right to the nitty gritty details. $app = new Application(); $app->get('/foo', function() { return new Response('Bar'); }); You can also pull in TwigServiceProvider for an excellent rendering engine to craft your beautiful websites.