Introduction to OOP
Object-orientation is the predominant programming model in the professional use of PHP. This course provides you with a solid grounding in the basics of object-orientated programming in PHP. In addition to type-safe programming using the possibilities of PHP 7 and PHP 8 you will learn how to write maintainable and reusable code.
Immerse yourself in the world of OOP and acquire new skills that will make you a better software developer.
Learning Objectives
- You understand the basic principles of object-orientated programming
- You can read and write modern, type-safe PHP code
- You know that you can create maintainable applications with OOP
Target Audience
This course is aimed at participants who want to build a solid foundation for an in-depth understanding of object-orientated programming with PHP.
Requirements
Knowledge of PHP or a similar programming language is required.
OOP for Real 1188,- EUR 12 Credits
6 online sessions of 2 hours each
No date is currently planned for this training.
Also in German
or in compact format
.
We also recommend Advanced OOP
, Design Patterns
or Clean Code Principles
.
Content and Procedure
-
Introduction
Duration: 2 hours
- A brief history of time: PHP and object-orientation
- Behind the scenes: PHP is the Borg
- Global system state: the root of all evil
- Objects and methods
- Object state and methods
-
Sichtbarkeit
Duration: 2 hours
- Visibility: public, protected and private
- Readonly attributes
- Asymmetric visibility with PHP 8.4
- Comparing objects: euqal oder identical?
-
OOP Principles
Duration: 2 hours
- Abstraction
- Encapsulation: Group data and algorithms together
- Inheritance: chances and risks
- Polymorphism: the OOP killer feature and how it works
-
PHP Type Safety
Duration: 2 hours
- Scalar type safety
- Type safety and objects
- The strict mode
- Return types
- Readonly and final classes
-
Class Orientation and Collaboration
Duration: 2 hours
- Static methods and other abysses
- Dependency injection and collaboration: better than inheritance
-
Further topics
Duration: 2 hours
- When things go wrong: Exceptions
- Do we really need exceptions?
- How do I write an automated test?
Your Trainer
Stefan Priebsch is one of Germany's best OOP trainers.This training for your company?
Object-orientation can be difficult to master. That's why we can customize this training for you to directly addresses the specific needs and challenges of your organization. This ensures that employees can immediately apply their learning to relevant projects.