This course introduces the foundational concepts of PHP classes and objects, focusing on implementing basic code structures and OOP concepts, as well as dealing with common edge cases.
Overview
Syllabus
- Unit 1: PHP Classes and Object-Oriented Programming Basics
- Player Class in Action
- LibraryBook Class Enhancement in PHP
- Rectangle Area Debugging Task
- Complex Number Subtraction in PHP
- Creating a Dice Class in PHP
- Unit 2: PHP Object-Oriented Programming: Constructors and Methods
- Enhancing Vehicle's fuelUp Method with Verbose Option
- Ensuring Accurate Publication Year in Library System
- Initializing PHP Objects with Default Parameters
- Implement Espresso Brewing in CoffeeMachine Class
- Constructing a Spaceship Class in PHP
- Unit 3: Encapsulation and Privacy in PHP Object-Oriented Programming
- Change SmartLightBulb Color Using Public Method
- Dynamic Volume Control in MusicPlayer Class
- Encapsulation in PHP: Implementing a Smart Fridge
- Encapsulating the SmartCamera in PHP
- SmartWatch Battery Alert System
- Unit 4: Inheritance in PHP Object-Oriented Programming
- Fixing Inheritance and Method Call Issues in a Delivery System
- Enhancing ElectricBicycle with Overridden startJourney Method
- Enhance Music Player with Volume Control in PHP
- Attribute Inheritance in PHP Classes
- PHP Classes Inheritance and Method Overriding Simulation