Tag Archives: PHP

Exceptional Error Handling

When it comes to error handling, most developers either skim over it or forget about it all together. Error handling is a difficult thing to get right. In this article I’m going to show an effective way to add error handling to your business software by making use of exceptions. Why exceptions? Exceptions are very […]

Posted in Programming | Tagged | Comments closed

Symfony 2 for PHP developers – Part 3

So, now that we have spoken about the general direction in Part 1 and we talked about the Dependency Injection in Part 2, it’s now time to talk about “wiring”. I previously already mentioned wiring in Part 2 and we’re now going to look into what this actually means. The term “wiring” is actually very […]

Posted in Programming | Also tagged | Comments closed

Symfony 2 for PHP developers – Part 2

Dependency Injection is at the heart of Symfony 2. To understand Symfony 2 you need to understand Dependency Injection. Fortunately for us, the principle of Dependency Injection is very simple. Rather than hard coding instantiations of objects into our classes we’ll pass ‘m in, something like this: 1 2 3 4 5 6 7 8 […]

Posted in Programming | Also tagged | Comments closed

Symfony 2 for PHP developers – Part 1

So, you heard a lot about this web framework called Symfony 2 and everyone is banging on about how fantastic it is, but you don’t understand what the big deal is and now you’re reading this.. To be honest, my introduction to Symfony 2 wasn’t entirely voluntarily, it was forced upon me but I decided […]

Posted in Programming | Also tagged | Comments closed

Configuring WordPress for multiple domains

One if the things you will run into while doing WordPress development is switching between your local development environment, the staging environment and, eventually, the production environment. If you set up a new WordPress website and you use the out-of-the-box configuration mechanics, you will find that WordPress stores the website domain in the database. This means […]

Posted in Wordpress | Also tagged , | Comments closed