Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Database driven web content: live or tape?

by tmiklas (Hermit)
on Jul 20, 2002 at 04:47 UTC ( [id://183552]=note: print w/replies, xml ) Need Help??


in reply to Database driven web content: live or tape?

Hi talexb...

As you said those solutions have advantages and disadvantages... You won't find the 'one and only' right way to do it... I use both of them becouse my key variable is frequency of changes in a database. If it's a news board or something like this, then it's generated live. If I can add a new data for an update daily, then it's static and linking directly to the URLs doesn't make any sense (URL is still valid, but the content is different).
If you don't know which one to choose then try making it live, becouse then (if it's done well) you can 'generate' static HTML without real generator (using wget or something lik this).
Choosing 'live' solution you won't get into the dark alley... besides (with the power of Perl) it's only a few keystrokes to make it statically generated using cron... Good luck!

Greetz, Tom.
  • Comment on Re: Database driven web content: live or tape?

Log In?
Username:
Password:

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

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

    No recent polls found