YoVDO

PHP: Object-Oriented Programming

Offered By: LinkedIn Learning

Tags

PHP Courses Object-oriented programming Courses Polymorphism Courses Encapsulation Courses Inheritance Courses

Course Description

Overview

Learn how to use object-oriented programming principles in PHP.

Syllabus

Introduction
  • PHP: OOP techniques
  • How to use the exercise files
1. Overview and Project Set Up
  • What is OOP?
  • Project set up
2. Object Basics
  • Define a class
  • Instances
  • Class properties
  • Class methods
  • Refer to an instance
  • Challenge: Properties and methods
  • Solution: Properties and methods
3. Class Inheritance
  • What is inheritance?
  • Define a subclass
  • Extend and override
  • Challenge: Inheritance
  • Solution: Inheritance
4. Object Access Control
  • Visibility modifiers
  • Beware of overloading
  • Setter and getter methods
  • Challenge: Access control
  • Solution: Access control
5. Static Properties and Methods
  • The static modifier
  • Inherited static behaviors
  • Class constants
  • Refer to the parent class
  • Late static bindings
  • Challenge: Static references
  • Solution: Static references
6. Magic Methods
  • Constructor method
  • Constructor arguments
  • Destructor method
  • Clone method
  • Assignment by reference
  • Compare objects
  • Autoload undefined classes
7. A PHP OOP Project
  • Project introduction
  • Challenge: The bicycle class
  • Solution: The bicycle class
  • From instances to HTML
  • Read from a CSV file
  • Improve ParseCSV
  • From a CSV file to instances
Conclusion
  • Happy Coding

Taught by

Kevin Skoglund

Related Courses

Make an Action Bar in Unity Part 1 - Modular Action System
Coursera Project Network via Coursera
Programmazione I
University of Naples Federico II via edX
Основы разработки на C++: жёлтый пояс
Moscow Institute of Physics and Technology via Coursera
C++ Programming: Object-Oriented Design
Codio via edX
Java: Going Further with Classes and Methods
Codecademy