Forum Moderators: open

Message Too Old, No Replies

To use or not to use

Should I use databases for articles

         

bateman_ap

10:37 pm on Dec 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Been pondering this one before I start a new site.

Most sites I currently create use an almost exclusive database content (database of widgets etc with reviews and information) with the occasional page of static content, usually introduction pages.

Now I am creating more features and content sites and wondered whether to use a database to store the information in or to just code the pages by hand.

The advantages of the database approach I imagine is that it will be very easy to change the design as it will only use a handfull of tempalte pages (that has been the case with current sites) as opposed to hacing to change a few thousand pages or keep a load with an old design with new pages reflecting a new design.

Also is easy to write a back end admin system to be able to edit articles without the need to ftp files up and down.

The disadvantages are the load on the server and a slightly harder time getting the urls to work properly with rewriting etc.

What I am really going for is are long articles suitable to store in databases?

txbakers

3:42 am on Dec 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I love using a database with any repetitive website. Why code hundreds of pages, when you can code 4, and let the database do all the work?