On 7/5/05, Mark Stosberg <[EMAIL PROTECTED]> wrote: > On 2005-07-05, Michael Peters <[EMAIL PROTECTED]> wrote: > > Paul Campbell wrote: > >> I'm interested in any feedback anyone might have for this module. > > > > I know that you probably wrote most of this before the full callback > > system was done, but it would be really neat if more of this was > > invisible to the user. For instance > > > > $self->run_modes > > ( > > 'index' => 'index', > > 'multiply' => 'multiply', > > 'divide' => 'divide', > > 'upload' => 'upload', > > &AJAX_run_modes, > > ); > > And as long as they are invisible to the user, why not use a name > that is more unique and less likely to conflict.
I think the AJAX specific runmodes are added in by calling 'AJAX_run_mode', so we can't see from this what they actually are. However, I agree that they should probably be fairly unique so that it is unlikely to conflict with runmodes the user may be using. > > It would be wicked cool if you used a callback registered at postrun to > > actually post process the HTML to add this javascript to the <head> and > ><body> tags itself. Another feature that now becomes invisible to the user. > > I agree on the wickedcoolness of this as well. That would be extremely cool, but I would also like to see an object that can be passed to Template Toolkit to give someone a bit finer control where all this stuff goes. It is always nice to have multiple ways to achieve the same thing. The auto parsing is cool, because it works like magic right out of the box. The finer control is nice when it is necesary to be a bit closer to the metal. I'm starting to sound like a broken record, but this is another module that I am excited about, yet haven't had time to look into... There is also the Search module and countless others! For those of you that were at YAPC, and remember seeing me a little wild eyed and stressed, Cees version 2.0 is still in beta and pending release... Any day now I hope :-S Cheers, Cees --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
