Posted by Jerry Stuckle on 10/13/06 12:11
Peter wrote:
> Greetings,
>
> I'm having trouble deciding on whether to go with a flat file or DB
> driven architecture for a wee personal website. I'd like to be able to
> update HTML files online and this is my only requirement.
>
> Flat Files:
> advantage: attach some PHP code at the top of each file that allows the
> file to be opened and edited
> disadvantage: the files would have to be writeable
>
> DB:
> advantage: more secure
> disadvantage: allot of overhead
>
> Would anyone have any advice?
>
> PS: I was originally planning to use a CMS but found that no CMS was
> customizable enough with little effort for a basic small website -
> strang eh :)
>
If all you're using it for is to update html files, you can keep
everything in flat files and just ftp them up. That's how most sites
are done, and it works quite well.
However, I also agree with other comments here. This is a nice way to
start learning SQL. You won't run into a lot of complexity, and the
overhead isn't that great.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|