EDIT: Changes have been made to Dependency Injection in Symfony2 since I wrote this post, please read my follow up post after this one. Symfony2 makes good use of Dependency Injection throughout and makes the Dependency Injection container available for code built on top of the framework. In this post I will look at the [...]
Archive for April, 2011
Symfony2: Controller as Service
April 15th, 2011
9 Comments
Background I am recreating Lime Thinking’s current website using Symfony2, much of the site is made up of what are effectively static pages. The main content of the page is stored as an XML file which then has the overall XSL template applied to it to add the common parts of the site. For the [...]
Symfony2: Routing and mod_rewrite
April 8th, 2011
1 Comment
Quick note on Symfony2 routing and mod_rewrite. As I am recreating an existing project using Symfony2 rather than starting from scratch there are a few things I a doing which may not fit the usual way of working Symfony2. One issue I have run across, and which is not immediately apparent, is with using mod_rewrite [...]


