Rita_Ruah Posted September 3, 2013 Share Posted September 3, 2013 Hello, I haven't found any tutorial regarding this topic, how should I do this? Should the backoffice generate xml? It's a very simple site, but I don't want to use a db. Thanks. Quote Link to comment Share on other sites More sharing options...
Muddy_Funster Posted September 3, 2013 Share Posted September 3, 2013 why would you not want to use a database? Without a database you are going to be depandant on flat tile storage and filesystem IO commands. Quote Link to comment Share on other sites More sharing options...
Psycho Posted September 3, 2013 Share Posted September 3, 2013 There really is no way to provide a good answer because without knowing all the details of what EXACTLY you need there's no way to provide any guidance. For example, if all you need to allow is modification of text on existing pages you could probably build something yourself. And, doing that with flat-files is an acceptable solution, in my opinion.. However, if you need to allow changes to styles of that text it gets a little more complicated. And, if you need to allow changes to positioning, images, etc. it gets even more complicated. Quote Link to comment Share on other sites More sharing options...
Rita_Ruah Posted September 5, 2013 Author Share Posted September 5, 2013 I want to create a simple cms with a simple backoffice so that my parents can use it to add posts to their online cooking book. As I love new ideas, I would want to create a simple cms that instead of a database would use a xml file or something. What main features should I seek, in my head: - 2 or 3 templates - Security (Admin login) - Simple way to add posts - Simple way to edit css (when saving it would save a new css file) Thanks for your feedback Quote Link to comment Share on other sites More sharing options...
fastsol Posted September 5, 2013 Share Posted September 5, 2013 You can make a simple backoffice scenario just as easy with a db, if not easier than with flat files. A secure login system is much harder to achieve with out a db. Is there a specific reason you don't want to use a db? You could use a prebuilt system like wordpress if you just need simple blog posting and file editing. Quote Link to comment Share on other sites More sharing options...
mac_gyver Posted September 5, 2013 Share Posted September 5, 2013 moving this thread to the Application Design forum section. Quote Link to comment Share on other sites More sharing options...
RobertP Posted September 5, 2013 Share Posted September 5, 2013 Ok, i strongly recommend using sqlite in your circumstance. It is a db, but it has no dependencies, except php support which i believe comes pre-installed.. 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.