I am currently attempting to build a Content Management System... I know big undertaking, but I need to do it for an upcoming website.
PROBLEM:
I have decided that the Object Oreinted approach is the best for the scale of the project. The Problem is that I am not familiar PHP OOP (I am for Java however). As such, I am not sure how to proceed. I am assuming that for saving the data - I will be making a method (function) that will connect to the database and place the instance variables created in the class to the database. If I do this - I am assuming everytime someone wants to login (for example) I autheticate them, then create a new object- populated with data retrieved from the database and store the object as a session variable.
OR
Do I store the object in the database as an object, and not just the object-related data? If I do this, how would I make the database normalized and searchable?