Object-Oriented Programming in PHP

If you are familiar with procedural PHP and want to take your programming development to a new level by learning object-oriented PHP, this course is for you.

Intermediate

78 Lessons

7h

Certificate of Completion

If you are familiar with procedural PHP and want to take your programming development to a new level by learning object-oriented PHP, this course is for you.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

94 Playgrounds
17 Challenges
9 Quizzes

This course includes

94 Playgrounds
17 Challenges
9 Quizzes

Course Overview

Object-oriented programming is perhaps the dominant development paradigm for leading languages including Java, C#, and Python. The rich class and inheritance framework wasn’t fully implemented in modern PHP until 2015, and best practices for object-oriented programming are still emerging. This course is an introduction to object-oriented programming in PHP. You’ll start with the basics of the OOP paradigm and get familiar with classes, objects, methods, and properties. You’ll then chain methods and propert...Show More

TAKEAWAY SKILLS

Classes

Objects

Methods

Inheritance

Method Overriding

Abstraction

Polymorphism

Exception Handling

Database

Mvc And Layered Applications

What You'll Learn

A strong understanding of the object-oriented programming paradigm

Familiarity with objects, classes, methods, and properties for server-side web scripting

Expertise in applying object-oriented programming techniques to PHP web applications

Hands-on experience in building and maintaining a PHP database using object-oriented principles

What You'll Learn

A strong understanding of the object-oriented programming paradigm

Show more

Course Content

1.

Introduction

2.

Classes and Objects

3.

Using the $this Keyword for Chaining Methods and Properties

4.

Access Modifiers

5.

Magic Methods and Constants Unveiled

6.

Inheritance in Object-oriented Programming

6 Lessons

7.

Abstract Classes and Interfaces

9 Lessons

8.

Polymorphism and Type Hinting

9 Lessons

9.

Static Methods & Properties and Traits

6 Lessons

10.

Namespaces & Dependency Injection

6 Lessons

11.

Exception Handling

5 Lessons

12.

PHP Database

7 Lessons

13.

Model-view-controller (MVC)

2 Lessons

14.

Conclusion

1 Lesson

15.

Appendix

2 Lessons

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath