Mutant PHP Blog: Specifications for PHP5

Courtesy PHPDeveloper.org  Tue, 09/30/2008 - 11:17

In a recent entry to his blog Sean shows off a new specifications library he's created to replace common comparison functionality with a series of specs.

I thought I'd share a PHP library implementing this idea by Evans and Fowler.

Written for PHP5, it's a library for defining custom specifications using composition and inheritance.

He gives the example of "Person" objects with name and age properties.

A search might involve looking...


 

More related items

PHPro.org: SPL Autoload
On the PHPro.org website, Kevin Waterson has written up an introduction to the handy autoloading functionality that comes with PHP5 releases - the __autoload method from the Standard PHP...

Padraic Brady's Blog: Writing Professional Looking...
Padraic Brady has posted part one in a new series he's developed covering documentation (and using Docbook, Phing and Apache FOP to create some professional looking results). This article...

IBM developerWorks: What's new in PHP V5.3, Part 1:...
John Mertic has put together a what's new list in the upcoming PHP 5.3 release: PHP V5.3 is set to be released by the end of 2008, and many of the new features in this release have been in...

Microsoft Wireless Notebook Optical Mouse 3000 -...

Microsoft 69K-00001 Natural Wireless Laser Mouse 6000...
When you place your hand on the Microsoft 69K-00001 Natural Wireless Laser Mouse 6000 for the first time, you'll wonder how you've ever managed without it. Offering an unmatched package of...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com