i use handlers! usually with HTML::Template or XML::LibXML // XML::LibXSLT to handle the content /layout pieces!
On Tue, 2004-01-27 at 10:40, Paul Simon wrote: > --- "Hemond, Steve" <[EMAIL PROTECTED]> wrote: > > > > Instead of embedding perl code in html files to > > generate stuff from a > > database, I would just have to write an entire perl > > file that will print > > the html code (like the example I've shown above) > > and do the > > manipulations on the database at the same time. I'm > > just wondering if > > this is a good idea, or if I am missing the features > > of mod_perl at all. > > > I don't think that's a good idea, putting the html > code in the script. Of course, it depends on how much > html you are talking about. I code web apps using > CGI::Application with HTML::Template ( or > Template-Toolkit), then I simply run the apps as > registry scripts since I don't need the power of > handlers. > > CGI::Application - > http://search.cpan.org/search?query=CGI%3A%3AApplication&mode=all > Choosing a Templating System - > http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html > ModPerl::Registry - > http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html > > Paul -- Clayton Cottingham - WinterMarket Networks Virtual Reality Programming, Design & Evangelist Phone:(604) 875-1213 Cell: (604) 506-7230 Vancouver, B.C. Canada [EMAIL PROTECTED] http://www.wintermarket.net IM's icq:154964789 hotmail:[EMAIL PROTECTED] yahoo:[EMAIL PROTECTED] -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html