good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Design vs. Code vs. Maintenanceby elwarren (Priest) |
on May 17, 2000 at 21:39 UTC ( [id://12186]=note: print w/replies, xml ) | Need Help?? |
To answer your final question: I once wrote some scripts that were very similar to the html::template concept, but I did not use it in a cgi context. I kept a mirror of my html tree, except all the files were templates. A short little find script would run through all the directories, generate the static html pages based on the templates, and finally move them all into the live html tree. You then have a database driven site without the database! As an added bonus, it was quite easy to move the site from the old style generated static pages to a live database driven site. The output just goes to the screen instead of the file. I think this was what you were asking, hope it helps.
In Section
Seekers of Perl Wisdom
|
|