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?

Should the user be allowed to modify the data/look of the site?

Second one:

What is avilable? (aand what can be installed)

Consider some other alternatives:

* Generate the whole site off-line (with a makefile)

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?)

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
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]

Reply via email to