Learn Object-Oriented Programming by Example

fmizzell

Given that Object-Oriented Programming (OOP) has become a first class citizen through our modernization efforts for Drupal 8, understanding this development paradigm has become much more critical all of a sudden.

The mechanics of OOP are not that complex, but the when and why to use some of these mechanics can be a little more difficult.

The ultimate goal of OOP is to allow developers to better approximate in code the way we think about problems and solutions in the real world (objects and interactions between objects), but when we start trying to map concepts that are not real world objects into this paradigm, things can get a little fuzzy, and understanding the when and why becomes the factor for a successful OOP application.

In this session I will go through the major mechanics of OOP (classes, objects, properties, methods, interfaces, etc) while we develop a some-what realistic app (A simple command-line game) to get a feel for how OOP is used in the real world.

We will take our  sample app from concept to reality, and through different steps of evolution as I illustrate how OOP can help us map our mental process and ideas to code in a clean, maintainable, and reusable fashion.

 

Session Track

Coding and Development

Experience Level

Beginner

Drupal Version