CodeIgniter Forums
Opinions? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Opinions? (/thread-61094.html)



Opinions? - El Forum - 09-16-2014

[eluser]Unknown[/eluser]
Hey everyone, I am a beg/amateur php developer and I was wondering what are your guys opinion about storing your web pages in a database? I hope this isn't a horrible question..... Thanks for the feed back!


Opinions? - El Forum - 09-16-2014

[eluser]InsiteFX[/eluser]
Not at all, this how a blog and cms store there pages.

Tables pages



Opinions? - El Forum - 09-16-2014

[eluser]Unknown[/eluser]
Thanks for the follow up dude, I just wanted some clarification.


Opinions? - El Forum - 09-16-2014

[eluser]CroNiX[/eluser]
I wouldn't store an entire complete page in the db, but just the fields needed to create a page so that you can rebuild them using a template.

Like page title, h1, content, etc.