>>>>> "Chris" == Chris Ward <[EMAIL PROTECTED]> writes:
Chris> I recommend http://www.template-toolkit.org/. Just print out the Chris> documentation so it's on hand and your guarenteed on you way to creating some Chris> cool ass stuff. Basically it's embedded perl inside HTML....but you if you Chris> reverse it and call it from within a perl cgi module with apache-mod_perl and Chris> you can pre-fetch all the html and necessary data (generated images...etc) Chris> requested and cache it all or send it to the browser on the fly...etc. Although I'm using Apache::Template for stonehenge.com, I recently did a project for a Very Large Client using a more traditional MVC paradigm. The CGI (or Apache::Request) code acts as the Controller, selecting Model data and an appropriate View (written in Template Toolkit), passing Model and meta references into the template as parameters. Apache::Template requires discipline to program in this fashion. The first line of your template needs to be something like: [% USE control = My.Controller() %] so that you can call to Perl code as a controller. Otherwise, you write a lot of controller code in TT language, and that's a bad match. I now see this firsthand, having done it both ways. See also OpenInteract, which takes this to the next step. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>