OOP: The Quest for Pokemon
Note: This, and other lab sessions, will not be recorded.
Object Oriented Programming (OOP) can be difficult and a lot of people struggle to understand the theoretical concepts that make up the code.
In this session, we’ll go on a quest to find Pokemon and better understand OOP and Drupal 8. We will start out as Pokemon trainers picking our very first Pokemon! As we go on our quest to catch more, we’ll learn OOP concepts along the way. There will probably be a live poll and some interactive components to gauge understanding and make it engaging!
This session is structured in the following segments (for each concept):
Pokemon story -> Concept Ideation -> OOP concept definition -> “Pokemon” pseudocode -> Drupal 8 example
The following OOP concepts will be covered:
- What is OOP
- Namespaces
- Classes
- Inheritance
- Interfaces
- Traits
- Dependency Injection
- Plugins
- Services
The best way I learned programming was through examples that were memorable. By tying the storytelling into the code and finally, into the Drupal core examples - I’d like to give you the ability to recognize and better understand the code you’re working with.
You should attend this session if you want to learn some basic OOP concepts, need a refresher, or just want to have some fun in the abstraction (especially if you like Pokemon!)