Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Where to keep HTML templates for a web application?

by legLess (Hermit)
on Feb 10, 2004 at 06:56 UTC ( [id://327836]=note: print w/replies, xml ) Need Help??


in reply to Re: Where to keep HTML templates for a web application?
in thread Where to keep HTML templates for a web application?

For the most part I agree that databases are (duh) for data. But Slash is a unique system. Templates live on the file system until they're compiled into the database as native Perl. Then they're read at server startup by mod_perl and cached in memory for the life of the server.

The drawbacks are numerous and obvious. The benefits of this I can see are:
  • Faster web server startup than if the templates were on a filesystem, uncompiled.
  • Single point of optimization (DB server) to improve template access speed.
  • Fastest possible page rendering.
But maybe I'm missing something, and I certainly don't know everything about Slash. Maybe chromatic will reply.
  • Comment on Re: Re: Where to keep HTML templates for a web application?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found