Quantcast
Channel: 2 – Intermediate – Stuart on PHP
Browsing all 11 articles
Browse latest View live

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 Article



Flickr: 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 Article

Ade 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 Article

Real-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 Article

Introducing 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 Article


Getting 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 Article

Comparing 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 Article

Getting 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 Article


Image may be NSFW.
Clik here to view.

HubFlow – 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 Article


Using 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 Article

Image may be NSFW.
Clik here to view.

Catching 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
Browsing all 11 articles
Browse latest View live




Latest Images