PHP: Object-Oriented Programming
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to use object-oriented programming principles in PHP.
Syllabus
Introduction
- PHP: OOP techniques
- How to use the exercise files
- What is OOP?
- Project set up
- Define a class
- Instances
- Class properties
- Class methods
- Refer to an instance
- Challenge: Properties and methods
- Solution: Properties and methods
- What is inheritance?
- Define a subclass
- Extend and override
- Challenge: Inheritance
- Solution: Inheritance
- Visibility modifiers
- Beware of overloading
- Setter and getter methods
- Challenge: Access control
- Solution: Access control
- The static modifier
- Inherited static behaviors
- Class constants
- Refer to the parent class
- Late static bindings
- Challenge: Static references
- Solution: Static references
- Constructor method
- Constructor arguments
- Destructor method
- Clone method
- Assignment by reference
- Compare objects
- Autoload undefined classes
- 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
- Happy Coding
Taught by
Kevin Skoglund
Related Courses
Introduction à la programmation orientée objet (en Java)École Polytechnique Fédérale de Lausanne via Coursera Useful Genetics Part 2
The University of British Columbia via Coursera Object-Oriented Programming
Indian Institute of Technology Bombay via edX Java für Einsteiger
openHPI Computing: Art, Magic, Science - Part II
ETH Zurich via edX