Archive for April, 2011

Symfony2: Dependency Injection Types

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 [...]

Symfony2: Controller as Service

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

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 [...]

Subscribe to RSS Feed Follow me on Twitter!