• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flat file vs database driven systems

#1
Hi guys,

With the rise in popularity of flat file system/cms now, I just wondered what everyone else thought about the pros and cons of this versus database driven systems.

I can see some pros but honestly, I've spent so long always developing db driven systems as I'm sure everyone else has to even consider a flat file system.

With db querying it just makes sense to stick with db driven systems. Does anyone else have any thoughts? I'd be eager to hear. P.S no flame war please, but I know the community is good with that anyway.
Practical guide to IgnitedCMS - Book coming soon
Reply

#2
Rise in popularity? Where did you get that from?
Reply

#3
Howdy Narf. I was looking at the following link, http://www.webhostingsearch.com/articles...le-cms.php

Of course the term 'rise' is subjective. Not saying it's a huge rise but it just seems interesting. what's your thoughts, or have you ever worked with a flat file system/cms?
Practical guide to IgnitedCMS - Book coming soon
Reply

#4
Sooner or later your clients will ask for more that a flat-file CMS is not able to provide. If such a system has means to be upgraded easily to a file and database driven one, then maybe it could be used for commercial development.
Reply

#5
Quote:maybe it could be used for commercial development.

Some of the flat file systems shown in my link are considered 'enterprise'. I don't think they would have that business model if it couldn't do most of the other things the database driven one can (for commercial development)
Practical guide to IgnitedCMS - Book coming soon
Reply

#6
(10-11-2015, 07:34 AM)iamthwee Wrote:
Quote:maybe it could be used for commercial development.

Some of the flat file systems shown in my link are considered 'enterprise'. I don't think they would have that business model if it couldn't do most of the other things the database driven one can (for commercial development)

Don't believe everything you read on the internet.
Reply

#7
Why would you want a flat-file app anyway? Storing data in DB can be faster, than storing into a file. Provided your DB is configured and designed properly. Especially when your dataset gets larger.
Reply

#8
Quote:Why would you want a flat-file app anyway

Well yes, my thoughts exactly however, I was lucky enough to get chatting to https://twitter.com/jackmcdade founder of a fairly polished CMS. So it got me wondering.

Thanks for the pointer narf Wink
Practical guide to IgnitedCMS - Book coming soon
Reply

#9
Check out my blog which explains how I use CodeIgniter to implement a flat file system.

http://anetizer.com/eureka-for-making-a-...oad-faster

Also check the following and notice the Debug in the footer, if it displays{elapsed_time} and {memory_usage} the page is cached.

http://www.johns-jokes.com/jotd/2140

Please excuse CSS errors, the site is in the process of being transferred to a new server.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.