DrupalCamp
Scotland
25 October 2024, Edinburgh
Phil Norton
Biography

Phil is a Developer at Code Enigma, and is also the founder and administrator of #! code https://www.hashbangcode.com/. He helps run the North West Drupal User Group.

Member for

1 day 14 hours

An Introduction To The Drupal Batch API

The Drupal Batch API is a system that allows us to split up large tasks into smaller chunks so that we don't overload the web server. This is a really important concept to understand if you are developing your own Drupal modules, especially if you want to allow users to perform actions on lots of items at once.
In this session we will look at why we need the Drupal Batch API and how it prevents issues. We'll then do a dive into the code surrounding the Batch API and how to run your own batch operations.
There will be a few demos on running the Batch API to perform some simple tasks.
Finally, we'll look at how Drupal uses the Batch API internally and some use cases of the Batch API in contributed modules.

Drupal Camp Scotland is sponsored by 1x Internet

1x Internet - Sponsors of DrupalCamp Scotland 2024