News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mike's Blog:
s/fluent/decorated
January 02, 2006 @ 07:03:37

On Mike's blog today, he has a quick post with his take on the "fluent interfaces" topic that's been floating around the community lately.

I've read some posts about "fluent interfaces" and I have to agree that it's a bad idea to sacrifice a reasonable API to be able to write english code.

It's anyway possible to accomplish that to some extent on a need-by-need basis with a class of only 20 lines of code.

0 comments voice your opinion now!
fluent interface decorator pattern fluent interface decorator pattern


blog comments powered by Disqus

Similar Posts

Amir Saied's Blog: Book review: "Pro PHP: Patterns, Frameworks, Testing and More" by Kevin McArthur

Chris Hartjes' Blog: Fun with API's - FRAPI and django-tastypie

ThinkPHP Blog: Mayflower Barcamp: Developing a PHP extension for Skype

Cormac' PHP Blog: Practical example php implementation of the Observer pattern

DevShed: Introducing Visitor Objects in PHP 5


Community Events





Don't see your event here?
Let us know!


install series update symfony package version language library framework tool podcast interview laravel release opinion voicesoftheelephpant security community introduction composer

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework