Ajax Callback Commands in Drupal 8

A presentation at Drupal8Day by Michael Miles

This session outlines and explains Drupal 8 AJAX callback commands and how to use them. AJAX callback commands are the sets of PHP and JavaScript functions that control all AJAX functionality on a Drupal site. You will be surprised about how simple and straight forward they are. Mastering these commands will allow your AJAX calls to do so much more then just return rendered HTML. Allowing you to provide the visitors of your Drupal 8 site a more dynamic, richer experience.

This session is presented in three parts.

First, explaining what AJAX callback commands are. Second, explaining how to use AJAX callback commands. Third, explaining how to create and use your own custom commands.
Each section provides example code and walks through a real world Drupal 8 scenario.

Video