On Fri, 2003-02-14 at 01:18, Shaun Guth wrote: > I completely agree that most features will be re-enabled (such as > passing parameters via the instance script, and changing the default > name of the runmode parameter). I've spent the time to make CGI::Application::Light mostly feature-complete to CGI::Application (except for the template coupling and some debugging routines). It now supports naming the run_mode parameter, instance script parameter passing, response headers, redirection, setting cookies, etc. Now the big differences are a different set of method names (clearer imho), some things work differently (like redirects, cookies, headers), a postrun() that's called before output is generated but after your run-mode is executed, and the decoupling of HTML::Template. The docs at http://perl.l8nite.net/modules/CGI/Application/ have all been updated. Adding all these features added 33 lines of code to the module. It still outperforms CGI::Application, but only by about 1/100th of a second (this was a very simple test though). See http://perl.l8nite.net/modules/CGI/Application/benchmarks.html for the numbers. My previous argument for speed is squashed though, I'm no longer offering that advantage. I think that the main advantages this module has to offer now are an improved calling syntax and the ability to be subclassed for various Templating engines without having "extra" code carried around. Maybe the improved API could be the start of some ideas for what we can include in CGI::Application 4.0 ? Shaun
Attachment:
signature.asc
Description: This is a digitally signed message part
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/suppressed/ To unsubscribe, e-mail: suppressed For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.