Zend Framework Performance Architecture Part 4: Denormalisation using the...
In the previous Zend Framework Performance Architecture articles we’ve covered some structural changes you can make to improve the performance of your code by applying caching and denormalisation of...
View ArticleWorking for Shares
As a programmer there will no doubt come a time, or many, when you are offered shares in a company in exchange for a discounted rate. Most likely the company will be a startup looking to reduce their...
View ArticleZFDebug
Thanks for Darby Felton for putting me on to this cool Zend Framework debugging utility: ZFDebug A tutorial should be coming this way once I’ve had time to get it figured out.
View ArticleMutateMe
Check out this cool utility created by Pádraic Brady for hardcore unit testers, it can automatically mutate your data in order to check if your unit tests are thorough enough. MutateMe I’ll have to get...
View ArticleInstalling ZFDebug
Installing ZFDebug is pretty simple, first of all you’ll want to download it or do a checkout from the ZFDebug Subversion repository. Personally I added an external to my existing Subversion project,...
View ArticleAn Easier Way to Instantiate Models in Zend Framework Controllers
I get sick of having to type this: $someTable = new Some_Table(); $someTable->someMethod(); Since PHP can’t chain on instantiation this gets very annoying. I added this to my base controller (which...
View ArticleMemcache Statistics
I needed to work with Memcache again today and remembered this awesome tool: Memcache Stats
View ArticleHow to Start Unit Testing
You know you want to do it, you may even agree you should do it, but how do you justify the days or weeks required to implement unit testing? In larger projects where many developers are involved it is...
View ArticleSymfony 2 Field Comparison Validator
Symfony 2 comes with a range of predefined validators you can use to validate your forms, however I recently came across the need to validate that one field is equal to another. This is actually quite...
View ArticleSymfony 2 Bootstrap CSS Form Templates
I have been playing around a bit with the Twitter Bootstrap CSS toolkit and I wanted to style the forms in a Symfony 2 project accordingly. On its own this is not a difficult task, you can do the...
View Article