From what I understand I should be using Object oriented programming when I’m building my site. I see the value of it, but I don’t really know how I should use it.
Let’s take one page of my site for example.
On this page the user fills out a lot of forms to later generate a business offer. The forms are information about the customer, what has been sold and some financing data.
This is saved in a mysql database.
So, should all these forms be generated by an object in php?
Should I have one object that retrieves the saved data from the database.
Another that generates the forms.
And another that retrieves post data and saves it in the database.
Am I understanding this correctly?