What's New in D8: Object-Oriented PHP

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:00
    Object-Oriented PHP
  • 0:01
    with Amber Matz
  • 0:04
    One of the central changes in Drupal 8
  • 0:06
    is a shift to an object-oriented architecture.
  • 0:09
    This represents a significant change in how
  • 0:12
    module developers will utilize PHP in the context of Drupal.
  • 0:16
    In this presentation, I will provide an overview of object-oriented PHP,
  • 0:21
    why it was introduced into the Drupal 8 code base,
  • 0:24
    how it differs from procedural programming,
  • 0:27
    and the major object-oriented PHP concepts
Loading ...

What's New in Drupal 8: Object-Oriented PHP

Loading...

This tutorial provides an overview of the major shift in Drupal 8 to an object-oriented architecture and was created to help you understand which concepts and terminology you will need to learn in order to interact with modules at a code level.

Other tutorials in this series on "What's New in Drupal 8" will cover major changes in specific areas of Drupal 8 module development, such as entities and fields, configuration management, web services, and hooks. This tutorial will focus on object-oriented PHP architectural changes, concepts, and terminology you will need to know as a module developer.

Specifically, we will present:

  • an overview of object-oriented PHP
  • why it was introduced into Drupal 8
  • how it differs from procedural programming
  • major OO-PHP concepts you'll find in core

To learn object-oriented PHP, you should begin with our OOP topic page.

Downloads: 
Log in or sign up to download companion files.