News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Travis Swicegood:
Fluent-API, here I come!
October 28, 2007 @ 22:34:43

On his blog, Travis Swicegood discusses method chaining and Fluent APIs in PHP5.
One of the things that bugs me about PHP is that fluent APIs that were made possible by method chaining in PHP 5 are hindered by the new keyword. In Python or Javascript it's possible to instantiate the object and continue chaining it.
Check out the comments on his blog for more code examples and solutions for implementing method chaining in PHP5
0 comments voice your opinion now!
fluentapi methodchaining api php5 tutorial fluentapi methodchaining api php5 tutorial



Similar Posts

Zend Developer Zone: PHP and IBM Goodness

DevShed: Drawing Basic Rectangles in PDF Documents with PHP 5

DevShed: Sub Classing Exceptions in PHP 5

Raphael Stolt's Blog: Scraping websites with Zend_Dom_Query

DevShed: Inserting Comments and Accessing Nodes with the DOM XML Extension in PHP 5


Community Events







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


application release conference zendframework releases mysql zend book framework PHP5 package ajax database developer job example PEAR cakephp security code

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