Towards A Style Of Contract Programming
There’s a programming style I rarely see in the PHP world, but one which I use from my C programming days – programming by contract. It’s a very useful technique for writing code that is demonstrably...
View ArticleFlickr: Link Your Photos Back To Your Blog
I post photos to Flickr from time to time, and then write blog articles about the photos. The blog articles get written days, weeks, sometimes months in advance of when they’re scheduled to appear on...
View ArticleAde Slade’s DbUnit Talk
At #phpsw this week, former Gradwell-er and all-round good guy Ade Slade delivered a great talk about DbUnit. Testing in general, and doing testing the right way in particular, is one of his great...
View ArticleReal-Time Graphing With Graphite
If you’re building a web-based app, it’s always a good idea to build some instrumentation into your app. That way, you can see how your app is behaving, and how your users are interacting with your app...
View ArticleIntroducing ContractLib
ContractLib is a simple-to-use PHP component for easily enforcing programming contracts throughout your PHP components. These programming contracts can go a long way to helping you, and the users of...
View ArticleGetting Started With ContractLib
In my last blog post, I introduced ContractLib, a simple programming by contract library that I’ve created for PHP 5.3 onwards. And I promised some examples :) Installing ContractLib ContractLib is...
View ArticleComparing ContractLib to PHP’s Built-In assert()
One of the questions I’ve been asked after yesterday’s blog post about Phix’s ContractLib is why not just use PHP’s built-in assert() function? I think it’s a great question, and the best way to answer...
View ArticleGetting PEAR Working On Windows 7
So that I don’t forget how to do this next time around. Worked for me, your mileage may vary. First step is to get a working install of PHP. Download PHP 5.4.latest ZIP file from the PHP Windows...
View ArticleHubFlow – GitHub and the GitFlow Model Together
At work, we’ve recently published HubFlow: instructions + tools for using Vincent Dreissen’s GitFlow model with GitHub. The full article is over on the DataSift dev blog.
View ArticleUsing Git Collaboratively: My Tutorial At PHPNW12
I haven’t really talked much about my upcoming tutorial session at #phpnw12 next month before now, but I hope there’s still time to convince you to come along and learn how to use Git as your team...
View ArticleCatching Up On Recent Talks
I’ve given several talks to user groups over the last few months, around the topics of testing and performance. I hope that you find them interesting and useful. When To Mock Mocking has not only...
View Article
More Pages to Explore .....