Introduction to Drupal 8 Module Development

Conference: 

Module development for Drupal is more powerful than ever with Drupal 8. Object-orientation, the maturity of Drupal's various APIs, Drupal 8's new underlying Symfony (and other) components, and the emergence of Drupal Console means that developing for Drupal 8 requires some new knowledge for existing Drupal developers. This workshop is designed to introduce existing Drupal developers as well as (non-Drupal) PHP developers to some of the techniques and concepts for Drupal 8 module development. The workshop includes an overview of some of the main concepts and tools as well as several hands-on module development exercises designed to build knowledge and confidence.

Trainer(s): 
ultimike
tedbow
Experience level: 
Intermediate
Status: 
Accepted
Training Company: 
DrupalEasy
Learning Objectives: 
  • An understanding of the basic concepts that comprise Drupal 8 module development.
  • An understanding of the basic tools that can be used to create Drupal 8 modules including a code editor and Drupal Console.
  • The creation of a simple "Hello, world" custom module. 
  • The creation of an "HTML5 Audio" module that provides a custom field formatter for fields of type "link".
  • The creation of a "User blocker" module that provides a mechanism for privileged users to block site users by username.
     
Syllabus/Agenda: 
  • Instructor and student introductions 
  • Student local environment setup
  • Introduction to Drupal 8 Module Development slides and discussion
  • "Hello, World!" example.
  • "HTML5 Audio" example.
  • "User Blocker" example.
     
Who Will Gain the Most From This Training?: 

Drupal 7 and PHP developers experienced with PHP, the command-line interface, Git, and working in a local *AMP development environment.

Prerequisites for this Course: 
  • Some experience with PHP.
  • Some familiarity with object-oriented concepts.
  • Experience working in the command-line interface.
  • Experience working in a local *AMP development environment. 
  • Experience with a code editor.
  • Existing knowledge of Drupal APIs is helpful, but not necessary.
  • An up-and-running local *AMP stack with a fresh Drupal 8 install.
Drupal Version: 
Drupal 8.x
Dev Environments: 
Drush is strongly recommended to be pre-installed on each student's machine. Drupal Console is used in this workshop, for Windows users that have trouble installing this, alternate methods to complete the exercises will be provided.
Training Type: 
Intermediate