Good Training Sources for OOP PHP, Anyone?

2019-02-04 21:48发布

问题:

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.

回答1:

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



回答2:

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.



回答3:

Lynda.com have a good video course:

Lynda - PHP with MySQL Beyond the Basics

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



回答4:

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 :)



回答5:

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.



回答6:

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



回答7:

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



标签: php oop