Demystifying Drupal AJAX Commands

When Drupal 7 was released in 2011, it came with an improved implementation of AJAX functionality. Good-bye “AHAH” and hello “AJAX Framework”. But four years later, some of the improvements that came along with the Drupal AJAX Framework go widely unused or unknown.

Introducing AJAX commands. The set of functions you should already be using, which allow AJAX callbacks to do much more then return rendered HTML.

This session will highlight and outline the Drupal AJAX command functions offered by the AJAX framework in both Drupal 7 and Drupal 8. In this session we will cover the following:

The Drupal AJAX command functions.

  • What functionality AJAX command functions provide.
  • When and how to use the AJAX command functions.
  • How to create custom AJAX commands.

Experience level: 
Intermediate
Session Time Slot(s): 
Time: 
Sep 11 2015 - 4:00pm-Sep 11 2015 - 4:50pm
Room: 
165
Allowed Types: 
Session
Sessions Topics: 
Speaker Bio(s): 
I am the Associate Director of PHP at Genuine Interactive in Boston MA. I have been working with Drupal for 7+ years, in everything from theming, module development, to full on project architecture. I am active in the Drupal community and submit modules, patches, stack overflow answers and even reddit posts. In my free time I enjoy experimenting with other technologies and techniques such as Arduino, Raspberry Pi and Python. When not working on the web I enjoy camping, kayaking, rock climbing, playing guitar/banjo, cooking and I am a big fan of Doctor Who. I was also recently announced as a 2014 Acquia MVP.