Re: [PHPTAL] Patch for Configuration Methods
Hi Joshua Agreed. Thanks for pointing that out. I guess the term got more generalized along the way as method chaining implementations started popping up everywhere. Btw: Nice reference! Kind Regards, Werner Joshua Paine wrote: it looks helpful here, it's just not "fluent". ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal
Re: [PHPTAL] Patch for Configuration Methods
On Mon, 2008-04-07 at 09:50 +0200, Werner wrote: > the patch enables a fluent interface for many access methods. Maybe I missed something, but it looks like you enabled method chaining, not a fluent interface, which uses method chaining to make a sort of DSL. Method chaining is useful for cutting out boilerplate code (love it in jQuery), and it looks helpful here, it's just not "fluent". http://martinfowler.com/bliki/FluentInterface.html ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal
Re: [PHPTAL] Patch for Configuration Methods
On 7 Apr 2008, at 08:50, Werner wrote: Herewith a patch for PHPTAL configuration methods. It adds very little new functionality - the main aim of these new methods is to simplify PHPTAL's integation into third party frameworks like Zend Framework, Symfony, etc. The secondary aim was 100% backward compatibility - no one need to change their existing code if the patch is applied. This is a good idea. Thanks for the patch - I've applied it. -- regards, Kornel ___ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal