Category Archives: PHP

Phake 1.0.0 is finished

So, now that 2012 is here, I can confidently say that I have accomplished two things…the first is proving that I can indeed completely neglect my site for a year. The second is that given a free weekend I can … Continue reading

Posted in PHP, PHP Testing | Tagged , , | 1 Comment

Pear Channel set up for Phake

For those that may not have caught my first post on the subject, Phake is a mock framework that I announced a couple of days ago in Introducing Phake Mocking Framework. It was recommended in the comments that I get … Continue reading

Posted in PHP, PHP Testing | Tagged , , , | 1 Comment

Introducing Phake Mocking Framework

I have used PHPUnit heavily now for the last 4 years. As anyone that is heavily involved in writing Unit Tests knows, test doubles (commonly referred to as mock objects) are a necessary part of your toolbox. The mocking options … Continue reading

Posted in PHP, PHP Testing | Tagged , , , | 24 Comments

Why I Hate Singletons

One of the most derided, yet most loved and used patterns is the singleton pattern. Its supporters continually praise its ability to limit instantiation of objects and its opponents continually chastise its tendency to be little more than a glorified … Continue reading

Posted in PHP | 30 Comments

Book Review: PHP5 CMS Framework Development by Martin Brampton

PHP5 CMS Framework Development (published by packt publishing) is a a book that offers "Expert insight and practical guidance to creating an efficient, flexible, and robust framework for a PHP5 based content management system." Upon reading through the book I … Continue reading

Posted in PHP | 6 Comments

Programming to Interfaces > Programming to Implementations

Over the last couple of months there is a concept in object-oriented programming that has been bothering me. This is the notion of ‘programming to an interface, not an implementation’. This is a principle I first learned about when reading … Continue reading

Posted in PHP | 9 Comments

DC PHP

I will be flying out this weekend for my first speaking engagement at The 2008 DC PHP Conference. In looking at the speakers list there are a few familiar faces and quite a few new ones so it should be … Continue reading

Posted in PHP | 2 Comments

Las Vegas PHP Group: It’s Alive

As promised, a couple of days ago the LV PHP User Group had its first meeting. The purpose of the meeting was to see what kind of interest there was and to gather some ideas for future meetings. We had … Continue reading

Posted in PHP | 3 Comments

Las Vegas PHP User Group

I am pleased to announce that Las Vegas finally has a PHP User Group and our first meeting is…tomorrow. I am pretty excited as I know there is a fairly decent size PHP programmer community in LV, it just hasn’t … Continue reading

Posted in PHP | 6 Comments

Late Static Binding (LSB) forward_static_call()

I finally freed up some time to finish some quick tests for some of the late static binding patches I made and one of them finally made it into head. The original post I had bringing up this issue was … Continue reading

Posted in PHP | 9 Comments