Jump to content

which part of website to store in database?


oha055

Recommended Posts

Hi!

 

So I'm fairly new to PHP, and am currently making a website from scratch including as much PHP functionality as I can for learning purposes. As I have just finished making a blog function, I started to wonder. Is it normal to store every part of a website in a the database? The blog part of the website I just created has of course all the differet blog entries stored in a table in the db, but is it also normal practice to store about, contact etc. in tables too? Or should categories like these be created using brand new .php documents? I am in the progress of making a page controller and thought I should clearify things first, before I go any further.

 

This question may seem stupid, but I don't know alot about what the normal practices of doing things like these in php are. Anyways, hope someone can help me out! :)

You can do it however you like. Once you start storing different categories of data, your moving into the land of a CMS application.

 

Thanks for the reply! :)

 

ok, so any way I like. But do you think maybe this would be a bit overkill for a personal website? Also, do you know of any good books on CMS?

 

Thanks! :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.