Using SalesNet Web Services from PHP
I’ve been working on some projects recently where I’ve had to make heavy use of the SalesNet CRM API. I’ve written some code that makes basic access of the API easier and I thought I would write about...
View ArticleUsing the Countable Interface
PHP provides a number of predefined interfaces and classes that can really make your life as a developer easier but which are often overlooked. The functionality offered by the Standard PHP Library...
View ArticleImplementing the ArrayAccess Interface
This is the second part of an occasional series looking at practical uses for the PHP SPL and predefined interfaces. The first post in the series looked at implementing the Countable interface, this...
View ArticleMaking PHPUnit, Doctrine & MySQL Play Nicely
I’m currently using Doctrine for the first time and really enjoying it so far. One of the pain points for me though has been in getting Doctrine setup with PHPUnit for testing. One of the main Doctrine...
View ArticleImplementing IteratorAggregate and Iterator
After a bit of a break I’m finally able to get back to writing about the predefined interfaces in PHP. PHP provides two interfaces that allow you to define how your objects behave in a foreach loop:...
View ArticleNormalising DateTimes with Doctrine Events
Two of the biggest pains in development for me are character encoding and working with date time information. The former continually bites me when I least expect it, although making sure everything in...
View ArticleTurbocharging your Logs
Logging can be a really powerful tool to help you to keep on top of problems in your applications. However all too often this information is lost amongst multiple log files spread out over many...
View ArticleContinuous Deployment with Symfony2, Jenkins and Capifony
It seems that many people talk about setting up a continuous deployment system but few actually take the plunge and make it a reality. I’ve recently set up continuous deployment for an API project at...
View ArticleA few Vim Tricks
I’m a fairly recent convert to using Vim for development, having started using it last May. Having become somewhat proficient (or so I think) I wouldn’t swap it for any other editor. I recently...
View ArticleIntroduction to Varnish
I’ve been meaning to write some posts about Varnish for a long time now. We use it extensively at work as part of our server stack and it’s a piece of software that consistently makes my jaw drop with...
View Article
More Pages to Explore .....