advice on a basic flat file cms

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mj_gooner
Forum Newbie
Posts: 1
Joined: Thu Aug 11, 2005 3:59 am

advice on a basic flat file cms

Post by mj_gooner »

Hi,

i have had a look around but am looking for some advice. i would like to create a flat file cms for a small website. the features would be;

- an image gallery
- a couple of pages with text that needs to be edited (either via forms or by changing a .txt file)
- a guestbook
- a page that has links created automatically after a word file has been uploaded.
- some authentication.

i know MySQL would be useful for this but can anyone recommend a cms that doesn't use a db.

many thanks

mark
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

What's wrong with sqlite? (In the end you'll be writing exactly the same code for storage in a flat file)
User avatar
AnarKy
Forum Contributor
Posts: 119
Joined: Tue Nov 02, 2004 1:49 am
Location: South Africa

sqlite

Post by AnarKy »

timvw wrote:What's wrong with sqlite? (In the end you'll be writing exactly the same code for storage in a flat file)
I totally agree, using a file(s) for this is murder!!!
This should be done using a DB and if you don’t want a separate DB server...
:arrow: use sqlite
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Some people don't have MySQL. Others thing SQL query is too complicated (I was like that: all my stuff was flat file). It's an understandable dilemma. But you know what? Learn SQL.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

SQLite is not MySQL... Just read the documentation what is ;) And how it can be useful as it doesn't need to have a SQL dbms running...
Post Reply