CG数据库 >> PHP: Object-Oriented Programming

PHP: Object-Oriented ProgrammingMP4 | Video: 720p | Duration: 3:53:52 | English | Subtitles: VTT | 464.5 MBPHP developers can benefit from the efficient, well-organized, reusable, and easy-to-understand code that object-oriented programming offers.

In this intermediate-level course, Kevin Skoglund introduces object-oriented programming (OOP) principles for PHP.

Kevin shows how to define a class, add properties and methods, and create new instances.

He demonstrates how to use class inheritance to share, extend, and override class behavior, and how to control access to the properties and methods of a class.

He explains the difference between static and late static bindings, and shows how to customize the PHP "magic" methods, which are triggered automatically.

In the final chapter, he shows how to add object-oriented code to a real-world PHP website, so you can see OOP techniques in action.

Topics include:Defining classesCalling methodsClass inheritanceExtending and overriding classesAccessing and controlling access to properties and methodsStatic properties and methodsMagic methods: constructor, destructor, and cloneCreating a PHP OOP project


PHP: Object-Oriented Programming的图片1

发布日期: 2017-11-18