I want to build a cms, and i have a question, what benefit i get for using object oriented programming?
p.s i have created a cms using php, without classes or objects.
Printable View
I want to build a cms, and i have a question, what benefit i get for using object oriented programming?
p.s i have created a cms using php, without classes or objects.
First off, why are you re-inventing the wheel? There are so many free CMSs out there already that have been in development for years. You would waste so many hours do what already exists in many different forms already.
As for your question about OOP...a simple Google search would have given you plenty of answers.
http://www.google.com/search?q=benefits+of+oop
I agree with PeejAvery. The sheer amount of CMSes out there is incredible and you should sure as hell find at least one that suits your needs (Unless this is a school project ;) )
Just apart from the "getting something that exists" vs "building it yourself" :
How are you coding without objects and classes, all inline ?
In that case your code will not be reusable very easy, and you will probably be very vulnerable to sql-injections and other leaking stuff.