简体   繁体   中英

Advanced OOP in PHP5?

I want to know more about OOP in PHP 5.2.

Can anybody help me with a link to advanced OOP tutorials in PHP?

I know about static , public and private class member attributes, but I need more info about basic and advanced OO techniques. I hope somebody can help. :)

In order to first understand OOP with PHP, you must understand the core concepts behind OOP. Tutorials won't help you correctly grasps things like abstraction, inheritance, encapsulation, and polymorphism.

Grab a book about Object Oriented Programming, that is the best way to learn. One of my favorites is:

Design Patterns: Elements of Reusable Object-Oriented Software

设计模式:可重用的面向对象软件的元素

If you want something more PHP oriented, I heard nothing but good things about:

PHP 5 Objects, Patterns, and Practice

PHP 5 Objects, Patterns, and Practice http://ecx.images-amazon.com/images/I/51BF7MF03NL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU01_.jpg

Both are available at Amazon.com

I don't understand why so many young/new programmers have a total aversion for books when they start learning.

您是否签出了OOP WikiBook条目

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM