Dragen Posted June 26, 2007 Share Posted June 26, 2007 I'm writing a news script, where I can write articles and have them outputted on my homepage. What I'm wondering before I start is; does anyone have any advice whether something like this would be better of stored in a database or flat files? Some articles could be quite long and I just thought they may be better suited stored in a .txt file for instance, but then again it might not make any difference. Anyway.. just some advice please. Thanks Quote Link to comment Share on other sites More sharing options...
trq Posted June 26, 2007 Share Posted June 26, 2007 Personally, if there is a database available, I always use it. It makes alot of tasks much simpler in the end. Quote Link to comment Share on other sites More sharing options...
Dragen Posted June 26, 2007 Author Share Posted June 26, 2007 I was kind of thinking that as It would be easier to search for articles by id, date, name, etc etc.. Quote Link to comment Share on other sites More sharing options...
aim25 Posted June 26, 2007 Share Posted June 26, 2007 I think you would be better off with a database, becuase you can store a lot of different information about an article with out a whole lot of extensive coding. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.