views:

3524

answers:

6

Is there any good php5 OOP tutorial site?

I Googled for a while ,and
found that there are all of PHP4 OOP site everywhere.

A: 

There's a PHP 5 OOP Tutorial here.

"I hope to use these tutorials to introduce to you some of the new features of the PHP 5 object model."

RichieHindle
sorry, that site explain only new features. I need all of OOP features. because I don't know about OOP at all.
aaa
I mean there are 25 featurers for PHP5 OOP, and old ones are 20, and new ones are 5, and that site explain only new 5s.
aaa
A: 

Here is the official php.net Tutorial/Overview...

http://at2.php.net/manual/en/language.oop5.php

Paul Weber
+1  A: 

There are few places where You can learn about OOP in PHP:

OOP in PHP

Classes and Objects (PHP 5)

OOP in PHP5 (Warning - pdf!)

Presentation on scribd.com contrastin oop in PHP4 vs PHP5 (few other presentations are also availible on scribd.com)

php.net guide about migrattin oop from PHP4 to PHP5

There are also few books, ie: Object-Oriented Programming with PHP5

When You will use google - You will find many many sites about this - and if You really want to learn it, just buy and study one of the newer books about oop in php5 - usually they have good information, written with easy language.

zeroDivisible
+2  A: 

It's not free, but the best resource I found about PHP5 + OO in general is Matt Zandstras PHP Objects, Patterns and Practice.

It not only shows you the basics (classes v. objects, inheritance, polymorphism etc, which is where most people stop when learning OO) but it also goes through design patterns which show you how to do OO right.

By 'right' I just mean things like coding to an interface, DRY, composition over inheritance etc. Crucially, it goes over basic UML (class and sequence diagrams) which really help to give you a visual understanding of OO. Thoroughly recommended.

Ali
Upvoted, really great book!
usoban
A: 

http://www.sysexecutive.com/category/online-tutorials/php is providing best PHP5 tutorials

The best PHP5 tutorials? You wouldn't be saying that just because its your website, would you?
Brandon
A: 

this is a very good tutorial with concepts explained clearly. http://www.sunilb.com/php/php-tutorials/php-5-tutorial-final-class-and-methods thanks sunil

vidya