Complete PHP Object Oriented Programming (OOP) tutorial-2022

If you want to learn PHP Object Oriented Programming (OOP) then you are in the right place! (77 examples from scratch !)

Hello there !

What you’ll learn

  • All PHP Object Oriented Programming concepts explained inside this course.
  • At least 2 or 3 simple and meaningful examples for each concept ( included 77 examples from scratch ! ).
  • All large companies use OOP – You will be able to answer interview questions.
  • Once you understand the basics, which are the hardest till you get used to it, you will be able to dive into larger projects.

Course Content

  • Introduction & What is OOP & What is a Class –> 9 lectures • 10min.
  • How to define a class? –> 4 lectures • 10min.
  • What is a property? –> 4 lectures • 8min.
  • What is a method ? –> 4 lectures • 11min.
  • What is an object? –> 5 lectures • 35min.
  • How to define Methods with parameters and return value? –> 5 lectures • 31min.
  • What is $this keyword? –> 9 lectures • 46min.
  • What is constructor and destructor ? –> 9 lectures • 54min.
  • What are Chaining Methods ? –> 5 lectures • 20min.
  • What are access Modifiers ? –> 6 lectures • 26min.
  • What is Inheritance & protected access modifier ? –> 6 lectures • 28min.
  • What is overriding ? –> 6 lectures • 34min.
  • What is final keyword ? –> 3 lectures • 7min.
  • What is an Interface ? –> 3 lectures • 14min.
  • What are abstract classes & abstract methods –> 4 lectures • 20min.
  • What are static methods & static properties –> 5 lectures • 19min.
  • What is Polymorphism ? –> 3 lectures • 8min.
  • What is Data Encapsulation ? –> 4 lectures • 17min.
  • What is Data Abstraction ? –> 2 lectures • 5min.
  • What is Type Hinting ? –> 4 lectures • 20min.
  • What is Dependency Injection ? –> 2 lectures • 6min.
  • What are Traits ? –> 2 lectures • 6min.
  • What is autoloading ? –> 2 lectures • 9min.
  • What are namespaces ? –> 2 lectures • 24min.
  • Final thoughts ! –> 1 lecture • 1min.

Complete PHP Object Oriented Programming (OOP) tutorial-2022

Requirements

  • Basic familiarity with PHP syntax and procedural programming.
  • Installed PHP on your operating system. It can be Windows, LINUX or MacOS.
  • Available a free Text Editor like: Notepad++, Sublime Text, VisualStudio Code.

Hello there !

Are you struggling to learn PHP Object Oriented Programming like I was some years ago?

Are you desperate because there are very few books or complete video tutorials with all the core concepts of Object Oriented Programming?

Well now you are in the right place because after my research I have collected from books and several online tutorials all the basic concepts for you and tried to explain them using at least 2 or 3 simple and meaningful examples for each one.

What will be taught:

  • classes
  • properties
  • methods
  • objects
  • $this keyword
  • constructors & destructors
  • chaining method
  • public & private access modifiers
  • inheritance & protected access modifiers
  • overriding
  • final keyword
  • Interface
  • abstract classes & abstract methods
  • static methods & static properties
  • Polymorphism
  • Encapsulation
  • Data Abstraction
  • Type Hinting
  • Dependency Injection
  • Traits
  • Autoloading
  • Namespaces

The way to learn these concepts is not only by practicing but also by making your own examples for each one.

So if you follow me step by step you will achieve that and you will be able to explain these OOP concepts using your own examples if needed in a job interview.

In that way you will gradually make a transition from procedural to object oriented world and you will have the opportunity to understand and get involved to bigger projects. In addition you will be able to write modular and reusable code with less effort and understand why Object Oriented Programming is so useful.

 

 

 

 

 

 

Get Tutorial