July Slides

Wednesday, July 28th, 2010

July was a month of talks and travel, including speaking at OSCON and user group talks to DCPHP and PDXPHP.

11:28 am | Comment (4) | Print | Categories: Conferences, Object-Oriented Development, PHP 5, System Architecture

Interfaces Make Testing Easier

Wednesday, May 26th, 2010

I, along with others, have written on interfaces many times before but recently I had occasion to find a new thing about them that makes them really awesome. A few days ago I was tasked with implementing PHPUnit against a Zend Framework application. This application, like many others, makes use of Zend_Auth, and in doing [...]

7:00 am | Comment (5) | Print | Categories: Object-Oriented Development

Revisiting: Why Every Developer Should Write Their Own Framework

Monday, May 24th, 2010

In November of 2009, I wrote about why developers should write their own frameworks. I pointed out at the time that often developing a framework forces developers to make the kinds of architectural choices that frameworks require, which helps them better understand the architectural choices in the most popular frameworks.

7:00 am | Comment (8) | Print | Categories: Object-Oriented Development, Open Source, Zend Framework

A Lesson In Static Methods And Late Static Binding

Monday, April 12th, 2010

Until last week, I had never experienced what must have been incredibly frustrating to most developers: the fact that the self keyword in PHP refers to the class it is located in, and not necessarily a class that extends it. I personally ran into this problem when trying to extend Zend_Auth. Being a singleton, the [...]

7:00 am | Comment (4) | Print | Categories: Object-Oriented Development, PHP 5, Zend Framework

The Registry Pattern Reexamined

Friday, March 26th, 2010

Last July, I wrote about the registry pattern and some of its advantages. These advantages include the ability to access objects across different areas of your application, and the storage of objects for later retrieval.

7:00 am | Comment (15) | Print | Categories: Best Practices, Object-Oriented Development
« Older Entries
Search:
Copyright © 2008 - 2010. All Rights Reserved.