Archive for March, 2009

April Nashville PHP Users Group Meeting

Posted on 24. Mar, 2009 by Will Fitch.

0

The April 2009 users group meeting will focus on the Symfony framework. We will be receiving a presentation from Centre{source} where one of the developers is on the Symfony development team. More details to come later.

Continue Reading

The Chain-of-Command Pattern: OOP Techniques in PHP

Posted on 10. Mar, 2009 by Will Fitch.

4

The chain-of-command pattern, like most others, assists with maintaining a loose coupling within your classes. By providing a series of classes that implement the ICommand interface and do a specific bit of processing, the developer doesn’t have to care which method to execute.

Continue Reading

The Observer Pattern: OOP Techniques in PHP

Posted on 09. Mar, 2009 by Will Fitch.

0

The observer pattern provides another way to maintain loose coupling within your code. It’s an extremely simple pattern and is implemented similarly across languages. There are two parts: the observer and the observable object. Let’s address them both starting with the observer.

Continue Reading

The Iterator Pattern: OOP Techniques in PHP

Posted on 04. Mar, 2009 by Will Fitch.

2

The iterator pattern is one of the most useful, yet unused patterns defined. It provides a way for class users to count and iterate over a set of objects related to the class. This is very useful in MVC (Model-View-Controller) models as they handle data and the logic that pertains to it.

Continue Reading

The Factory Pattern: OOP Techniques in PHP

Posted on 02. Mar, 2009 by Will Fitch.

0

The purpose of the factory pattern is to assist with maintaining loose coupling. Code that is tightly coupled is error prone in that if a class is changed, it can have a domino affect to other scripts using it. This is typical to large-scale systems and smaller systems that grow very fast.

Continue Reading

The Singleton Pattern: OOP Techniques in PHP

Posted on 02. Mar, 2009 by Will Fitch.

4

The singleton pattern is a common pattern used to make resources exclusive in that there is one of a particular type of resource. The most common usage of this is database connectivity. Typically, an application only wants a single connection to a single database server at any given time. This is where the singleton pattern comes in.

Continue Reading

March Nashville PHP Users Group Meeting

Posted on 01. Mar, 2009 by Will Fitch.

0

The March Nashville PHP Users Group meeting details are now available. Shawn McCool will be presenting the CodeIgniter PHP Framework. The meeting will be at 1pm CST at Corky’s Brentwood. For additional details, please visit http://www.meetup.com/nashville-php/calendar/9769825/.

Continue Reading

PHP 5.2.9 Released

Posted on 01. Mar, 2009 by Will Fitch.

0

PHP has announced the release of 5.2.9. To download this release, visit http://www.php.net/archive/2009.php#id2009-02-26-1.

Continue Reading