Well, I know object oriented programming in PHP, and I understand it pretty well (from the basic “person” class with setName, setLastName etc.. methods), but I have no idea, when I would use OOP on an actual dynamic website.
For example, I am currently working on a project (haven’t started programming yet) where I will make a website with a MySQL database. So far on similar projects I would just write normal code, but I would prefer to work with objects now.
P.S: I’m still a student.
Well, I know object oriented programming in PHP, and I understand it pretty well
Share
Whenever you like, it’s not a way of programming you must apply to when you use PHP. Use the language as a tool.
Related: What are the benefits of OO programming? Will it help me write better code?
If you want to work with objects with your current background, you might want to learn about OOAD as well. That’s sort of a subjective comment, it helped me to better understand what object oriented programming is about.