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...


 

Reply

The content of this field is kept private and will not be shown publicly.