<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Method Chaining in MooTools and&#160;PHP</title> <atom:link href="http://davidwalsh.name/method-chaining/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/method-chaining</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 02:40:12 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: AHHP</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-10368</link> <dc:creator>AHHP</dc:creator> <pubDate>Mon, 13 Jul 2009 23:16:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-10368</guid> <description>Very nice articles. all are really useful :)</description> <content:encoded><![CDATA[<p>Very nice articles. all are really useful :)</p> ]]></content:encoded> </item> <item><title>By: Chris the Developer</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-9650</link> <dc:creator>Chris the Developer</dc:creator> <pubDate>Tue, 09 Jun 2009 11:11:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-9650</guid> <description>AFAIK, method chaining is only available in PHP 5.</description> <content:encoded><![CDATA[<p>AFAIK, method chaining is only available in PHP 5.</p> ]]></content:encoded> </item> <item><title>By: Luke</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-9601</link> <dc:creator>Luke</dc:creator> <pubDate>Fri, 05 Jun 2009 07:54:06 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-9601</guid> <description>Thtas a clever little tip there, thanks!</description> <content:encoded><![CDATA[<p>Thtas a clever little tip there, thanks!</p> ]]></content:encoded> </item> <item><title>By: EmEhRKay</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-9599</link> <dc:creator>EmEhRKay</dc:creator> <pubDate>Fri, 05 Jun 2009 03:54:28 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-9599</guid> <description>Cool stuff. I recently wrote two php classes Rules and Access. The rules class has basic validation methods like isSunday() isAdmin() etc. each do a boolean check setting a class param and returns $this. The the Access class is realy just a namespace for static methods like isAdminAndSunday() that simply returns the result from RulesInstance-&gt;isSunday()-&gt;isAdmin()-&gt;get();Very decent stuff once you figure out usage for it</description> <content:encoded><![CDATA[<p>Cool stuff. I recently wrote two php classes Rules and Access. The rules class has basic validation methods like isSunday() isAdmin() etc. each do a boolean check setting a class param and returns $this. The the Access class is realy just a namespace for static methods like isAdminAndSunday() that simply returns the result from RulesInstance-&gt;isSunday()-&gt;isAdmin()-&gt;get();</p><p>Very decent stuff once you figure out usage for it</p> ]]></content:encoded> </item> <item><title>By: jem</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-9598</link> <dc:creator>jem</dc:creator> <pubDate>Thu, 04 Jun 2009 21:11:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-9598</guid> <description>Took me a while to get in the habit of &lt;em&gt;always&lt;/em&gt; returning some object in functions or class methods.Also don&#039;t forget about the chain method that a lot of native mootools classes support, i use it a fair bit when working with FX.var myTween = new Fx.Tween($(&#039;someElement&#039;), {property: &#039;opacity&#039;}).set(0).start(1).chain(functioin() { /* do something when tween completes */})</description> <content:encoded><![CDATA[<p>Took me a while to get in the habit of <em>always</em> returning some object in functions or class methods.</p><p>Also don&#8217;t forget about the chain method that a lot of native mootools classes support, i use it a fair bit when working with FX.</p><p>var myTween = new Fx.Tween($(&#8216;someElement&#8217;), {property: &#8216;opacity&#8217;}).set(0).start(1).chain(functioin() { /* do something when tween completes */})</p> ]]></content:encoded> </item> <item><title>By: Bleyder</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-9589</link> <dc:creator>Bleyder</dc:creator> <pubDate>Thu, 04 Jun 2009 12:57:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-9589</guid> <description>It&#039;s one of the best tips I&#039;ve ever read! Thanks!</description> <content:encoded><![CDATA[<p>It&#8217;s one of the best tips I&#8217;ve ever read! Thanks!</p> ]]></content:encoded> </item> <item><title>By: nicolas Santos</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-9583</link> <dc:creator>nicolas Santos</dc:creator> <pubDate>Wed, 03 Jun 2009 16:53:22 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-9583</guid> <description>i&#039;ve been searching this tips for a long time now :) i think i&#039;ll have to recode some of my classes :)thanx for the tips (again)</description> <content:encoded><![CDATA[<p>i&#8217;ve been searching this tips for a long time now :) i think i&#8217;ll have to recode some of my classes :)</p><p>thanx for the tips (again)</p> ]]></content:encoded> </item> <item><title>By: Kromack</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-9582</link> <dc:creator>Kromack</dc:creator> <pubDate>Wed, 03 Jun 2009 16:28:53 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-9582</guid> <description>I&#039;m affraid that it&#039;s not possible to do method chaining natively in PHP. I&#039;m used to use this synthax in most PHP frameworks and I didn&#039;t knows that wasn&#039;t a native feature ! I have learn something :)</description> <content:encoded><![CDATA[<p>I&#8217;m affraid that it&#8217;s not possible to do method chaining natively in PHP. I&#8217;m used to use this synthax in most PHP frameworks and I didn&#8217;t knows that wasn&#8217;t a native feature ! I have learn something :)</p> ]]></content:encoded> </item> <item><title>By: Jelly</title><link>http://davidwalsh.name/method-chaining/comment-page-1#comment-9581</link> <dc:creator>Jelly</dc:creator> <pubDate>Wed, 03 Jun 2009 13:56:26 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2740#comment-9581</guid> <description>I had no idea you could chain methods like that in PHP. I was trying to think of a way to do exactly that just last night, and couldn&#039;t figure it out. Champion!</description> <content:encoded><![CDATA[<p>I had no idea you could chain methods like that in PHP. I was trying to think of a way to do exactly that just last night, and couldn&#8217;t figure it out. Champion!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching using disk: basic
Object Caching 801/803 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 01:09:09 -->
