On Saturday 22 June 2002 13:25, Tzafrir Cohen wrote: > On Sat, 22 Jun 2002, Amir Hardon wrote: > > Hello all, > > I'm writing a set of CGI programs that generate's a home site according > > to some data (The idea is to make the creation of a homepage very > > simple... just enter some texts choose colors and you have your site). > > > > I don't know what will be the best way to store this data, my options are > > using an SQL server, or just storing the data on a file. > > > > What should be my considerations? > > First one: > > Is there a requirement for the data to me modified on-line? > Yes! > Should the user be allowed to modify the data/look of the site? > Yes! > Second one: > > What is avilable? (aand what can be installed) > Postgresql, or flat file.. > Consider some other alternatives: > > * Generate the whole site off-line (with a makefile) No... the content is changed very frequently. > > This gives the best performance, as you serve static html (that can also > be easily cached). It does not allow easily dynamic content trickery such > as themes. > > * "file"==? > > You can use a flat file, or you use some sort of "database" file. This > generally allows you relatively fast querying, but updating it is > problematic (right?) Well... I already wrote the functions for doing it...
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]