8

I will like to see if everybody could share any good training sources on OOP on PHP language.

Good Training Sources for OOP (Object Oriented Programming) PHP, anyone ?

I've seen numerous tutorials, mostly superficial, some of them bad.

Please share anything good either commercial or free, Video or Written.

Codex73
  • 5,690
  • 11
  • 56
  • 76

7 Answers7

11

I love the PHP Manual's guide to OOP. It's to the point and has many examples.

Ólafur Waage
  • 68,817
  • 22
  • 142
  • 198
4

This is your absolute best bet, in my opinion. The documentation here includes both technical explanation as well as useful examples and plain-english wording.

PHP.net/oop

Keep in mind however that PHP OOP is still in relative infancy, and there will no doubt be many things that are confusing to other OOP implementations.

dreadwail
  • 15,098
  • 21
  • 65
  • 96
  • PHP5's implementation of OO is anything but infantile. It has limitations because of design choices, but they are a choice few. – Robert K Oct 13 '09 at 01:17
4

Lynda.com have a good video course:

Lynda - PHP with MySQL Beyond the Basics

http://www.lynda.com/home/DisplayCourse.aspx?lpk2=653

prip
  • 91
  • 1
  • 4
2

It's a bit more on the advanced side of OOP, since it's about design patterns, but I really like Martin Fowler's Patterns of Enterprise Application Architecture (http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420/ref=sr_1_1?ie=UTF8&s=books&qid=1255402272&sr=1-1). And you can never go wrong with the Gang of Four's pattern book (http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/)

The nice thing about learning patterns is that they're language agnostic. Learn a pattern, use it in (almost) any language :)

Steven Mercatante
  • 24,757
  • 9
  • 65
  • 109
2

For starting the php phpmaual is the best thing that is available. You can also try http://w3schools.com If you wants some more resources on the oops concept and examples then you can go to http://www.phpclasses.org/ Here you will find some incredible projects of php.

Bindas
  • 980
  • 2
  • 8
  • 22
1

Since is conceptual and not language specific, look for any good OOP resource in any language and try and make it work in PHP.

Look at concepts like design patters, unit testing and domain driven development and you will expose yourself to a lot of OOP knowledge.

Start using libraries like Zend Framework and Doctrine PHP ORM in your PHP projects. They are object-oriented and by using them you will develop a greater understanding.

Also check out phpPatterns and the c2 wiki.

-Sam

Palo Verde
  • 387
  • 2
  • 8
0

You can try Codeacademy, it provides with tutorials in many languages : http://www.codecademy.com/fr/tracks/php