JMS243: PHP Class Constructor and Object-Oriented Programming Tutorial With Examples

preview_player
Показать описание

In this object-oriented programming tutorial, we dig into constructors... what they're for, when to use them, adding variables and more... with example code.
#php #webdev
Рекомендации по теме
Комментарии
Автор

Thank you for this very useful video. Easy to understand the role of a class and the role of an object!.OOP is the base for most of languages nowdays.

fabriziobiggi
Автор

Nice! So, a class is a blue-print for an object. An object is a collection of properties and associated methods created from a class blue-print using the keyword "new" . And objects are the basic units used in OOP to construct applications. They offer the advantages of Inheritance, Polymorphism & Encapsulation.

douglasheller
Автор

Could you provide an example of when you would have a PHP constructor ( _construct) using a get or post method with a HTML Form element ?

MrCef
visit shbcf.ru