Re: [cgi-prototype-users] Creating mixins for CGI::Prototype

2007-08-16 Thread Dotan Dimet
Hi Andrew, CGI::Prototype as a framework is something of a bit of string lashed around a set of power tools. These tools can do anything you need, but the "framework" provides no guidance about how to do it, beyond the "with this" inherent in Randall's choice of tools. Instead of 'use base',

Re: [cgi-prototype-users] Creating mixins for CGI::Prototype

2007-08-19 Thread Dotan Dimet
Andrew Gianni wrote: > Dotan, are your mixins simply providing additional non-CGI::Prototype > functionality, i.e. not overriding core CGI::P methods? > > Yep. That's why my mixins are "Utils" rather than pages. If you could build an ordered chain of render_enter methods or whatever, the a