
Learn how to define a PHP class with properties like title, author, ISBN, and availability, use public visibility, and instantiate objects with the new keyword for a bookstore catalog.
Explore PHP's magic methods with a focus on the constructor and its automatic invocation when instantiating objects; learn to pass arguments to initialize properties.
Explore static properties and methods in PHP OOP, learn how to increment a class-wide id, access via self:: and the class name, and distinguish static from instance members.
Explore autoloading in PHP OOP by using a class-name based loader to automatically load files, and learn how this replaces manual requires behind the scenes.
Learn how inheritance works in PHP by using extends to inherit a parent’s properties and methods, with protected, public, and private access and constructor usage.
Explore abstract classes, how a parent enforces method implementation across child classes, and how basic and premium customers extend from customer and ultimately from person.
demonstrates declaring an abstract class in php, adding abstract methods, and forcing child classes like basic and premium to implement them, noting that abstract classes cannot be instantiated.
Explore PHP interfaces as contracts that declare public methods and properties, contrast with abstract classes, and show how implementing enforces methods in classes like basic and premium.
Learn how basic and premium classes extend a person base while implementing interfaces, and how interfaces can extend other interfaces to enforce methods like pay and taxes.
Learn and understand PHP Object Oriented Programming. OOP is the most popular software development paradigm that has been around for years.
The main focus of this course is to give you a solid understanding of OOP so that you can start using frameworks such as Laravel.
Laravel is currently the most popular web framework. It is very much loved by developers because it makes development process easy and enjoyable while letting you build extremely powerful server side web applications.
But even if you have a good grasp of core PHP, you will find learning a framework like laravel very difficult and time consuming. That is because they are built around MVC pattern.
Without very good understanding of OOP, you will be completely lost, trying to learn frameworks. This course is for that exact reason.
If you are completely new to OOP, I suggest you to complete this course and repeat a few more times so that you understand the concept behind OOP.
This course is not about building an application. This course is about understand the core concept of Object Oriented Programming. It is about understanding classes, properties, methods, static methods, magic methods, interface, inheritance, traits and so on...
Once you complete this short course, you will be comfortable learning MVC frameworks and start building powerful web applications with frameworks such as Laravel.