October 2010
4 posts
4 tags
Using nginx with PHP 5.3.3 on Windows
This post is mainly a reminder to my future self in case I need to do something like this again.
Using bleeding edge technologies on Windows has always been a painful process. Mainly because not many LAMP developers use windows (its just not in the acronym), which leads to poor support of the OS and lack of learning material.
After playing with NodeJS and watching Ryan’s presentation, I...
7 tags
Symfony Console Commands and DIC
I personally feel that conventions should be best practices and not inevitable parts of frameworks. Conventions are good, but they kill testability. So while they can save you some time you would have had to spend on configuration otherwise, they also limit the granularity of your interfaces and break testability.
My recent example of not testable controllers and how it could have been fixed was...
6 tags
Symfony2 DIC Component Overview
As some of you might know, the Symfony2 framework consists of two main ingredients:
Components
Bundles
The logical separation should be the following:
The Symfony Components are standalone and reusable PHP classes. With no pre-requisite, except for PHP, you can install them today, and start using them right away. (Symfony Components Web Site)
A Bundle is a structured set of files (PHP...
7 tags
Interface Injection and Symfony2 DIC
During the preparation for my recent talk, I had to refresh my knowledge of the theoretical side of Dependency Injection, since I was using it for a while, but found myself not knowing some of the terminology. I found “Dependency Injection” article on Wikipedia.org to very fulfilling. One thing that caught my attention specifically was the types of Dependency Injection, and Wikipedia...