Do object oriented PHP and procedural PHP do the same thing? -


this question has answer here:

i'm beginner in php know lot of stuff (procedural). want know if object oriented php same thing procedural.

basically i'm planning make social site , i'm wondering best use (if same thing).

they different approaches same problem.

however, large projects don't want go procedural. mixing oo code design pattern mvc (model-view-controller) way want go, easier maintain , expand. allows develop reusable classes , methods instead of rewriting same thing on , on again - the dry (don't repeat yourself) principle. tend use this mvc framework lot of smaller systems write, , it's useful introduction both oo , mvc.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -