Deciphering Drupal Ajax framework
Ajax (Asynchronous Javascript & XML) is something which is not new to the world, it essentially allows information to be updated (asynchronously in the background) from the server without reloading the page. Drupal provides a standardized Ajax API which helps trigger Ajax responses by adding properties, callbacks, or by using Ajax commands.
Here, we will try to understand what kind of power does this Drupal Ajax API provides. In the previous version of Drupal, there was a specific way of handling Ajax requests, we have come a long way from Drupal 6’s AHAH (Asynchronous HTML over HTTP) to Drupal 8 Ajax API.
This session will help to make us understand how Drupal Ajax framework works internally, also there will be a working demo to go through a few customs ajax commands, triggers, simple ajax forms (Autocomplete field), etc.
Learning Objectives
- Basic Concepts of Ajax
- Triggering different methods of Ajax Requests
- Ajax Commands (Core and Custom)
Target Audience
This session is helpful for developers (that includes front-end developers and themers as well), with some minimal experience in web development; which will make this helpful and easy to grasp the concept.
Prerequisites
- Basic understanding of HTML, XML, JSON
- Some level of knowledge around Synchronous & Asynchronous requests
Track
Experience Level
If no timezone is set on your profile, time is displayed in UTC.
Update your profile's timezone