News Feed

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

Mike's Blog:
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

Pierre\'s Blog: Zip, complete rewrite and write mode added

DevShed: The Basics of Implementing Adapter Objects with PHP

Matthew Weier O'Phinney's Blog: Why PHP Namespaces Matter

David Gardner's Blog: Why you should always use PHP interfaces

Jani Hartikainen's Blog: The "do X or die()" pattern must die

Community Events

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

laravel conference version artisanfiles interview security tool composer symfony opinion voicesoftheelephpant library list release community language series podcast introduction framework

All content copyright, 2014 :: - Powered by the Solar PHP Framework