Object Orientated Programing?

This is a discussion on "Object Orientated Programing?" within the PHP Forum section. This forum, and the thread "Object Orientated Programing? are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 23rd, 2006, 13:18
Junior Member
Join Date: Nov 2006
Location: London
Age: 22
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Object Orientated Programing?

I am looking for a book or set of of online tutorials which cover object orientated programing with php. I starting learning about 2 months ago and am reaching an intermediate level. I am already becoming aware of a few bad programming habits and would like to learn to program in a neat and productive way.

I have had a look on amazon and the books on there are met with some seriously mixed reviews. Can anyone recommend anything?
Reply With Quote

  #2 (permalink)  
Old Nov 23rd, 2006, 14:24
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Object Orientated Programing?

OO techniques are one of those things that I have found to be much better taught than read from a book or tutorial, both of which lack interaction and the dynamics needed to learn both the principles concerned and how they can be practically applied. That's probably why the book reviews are so mixed!

Personally, I teach OO techniques in relationship to how it's applied in PHP (and some other languages too) and find that the very best approach is to start with an actual application or hobby / leaisure interest of the th students. By far the best way to relate!
Reply With Quote
  #3 (permalink)  
Old Nov 26th, 2006, 14:05
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Object Orientated Programing?

Do you like php OOP, Graham? How about for small to medium sites without a lot of collaboration?
Reply With Quote
  #4 (permalink)  
Old Nov 26th, 2006, 17:46
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Object Orientated Programing?

Quote:
Originally Posted by masonbarge View Post
Do you like php OOP, Graham? How about for small to medium sites without a lot of collaboration?
It has its place ... but it's not for everyone. Small applications / sites that don't share a great deal around between them will, perhaps, have the most limited use of OO techniques. Once you start getting up to medium sized applications (whether or not they're written by one of two people or as a result of a great deal of collaboration), it can very much depend on other factors in the application, and the comfort and knowledge of the programmer(s).

Some applications are screaming out to use OO techniques, especially where you want to encapsulate and test logic section by section, and where you can make significant gains from inheritance and polymorphism. But for others, where such gains would be limited, OO can add an extra layer your could do without.
Reply With Quote
Reply

Tags
object orientated programing

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Object ID firefox help russtuk Web Page Design 1 May 21st, 2007 15:21
ufo object issue in IE jwalker80 JavaScript Forum 0 Feb 25th, 2007 14:14
<object> mayhem :) BigWings Web Page Design 15 Dec 12th, 2006 20:40
Object Detection RobinDeanDotCom JavaScript Forum 4 Sep 11th, 2006 18:30


All times are GMT. The time now is 11:26.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43