Jump to content

Where can I get familiar with, and learn, PHP Object Oriented coding?


Recommended Posts

Where would you guys recommend I go to learn and become familiar with writing Object Oriented PHP code? Also what are the advantages of writing object oriented code? Is it better than the 'traditional' coding style? I mean without using Objects, Classes, Methods, etc.. Is one way more efficient than the other? I've been seeing a lot of object oriented php code lately, and I'm just curious and want to learn the concept of OOP, any help is appreciated.

 

Thanks!

 

-CLUEL3SS

OOP just keeps everything clean and tidy when you're working on bigger things. It also helps you write reusable code and keeps it all separate.

 

For the basic of OOP i found this guy's tutorials on youtube really handy -

 

I'm not saying that's the absolute pinnacle of learning but if you want a fast overview of the concepts behind OOP its fab!

 

 

 

 

Where would you guys recommend I go to learn and become familiar with writing Object Oriented PHP code? Also what are the advantages of writing object oriented code? Is it better than the 'traditional' coding style? I mean without using Objects, Classes, Methods, etc.. Is one way more efficient than the other? I've been seeing a lot of object oriented php code lately, and I'm just curious and want to learn the concept of OOP, any help is appreciated.

 

Thanks!

 

-CLUEL3SS

Object oriented code is harder (and slower) to write and sometimes is slower executed, but is easier to maintain, reuse and debug.

It is also less error prone and easier to extend and scale ...

If you don't see reason to write OO code it's better to write good procedural style instead of bad OO.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.