Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Design vs. Code vs. Maintenance

by elwarren (Priest)
on May 17, 2000 at 21:39 UTC ( [id://12186]=note: print w/replies, xml ) Need Help??


in reply to Design vs. Code vs. Maintenance

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://12186]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-29 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found