Migrate has been a critical contributed component for populating your Drupal site since Drupal 6; with its inclusion in Drupal 8 core it is now the first port of call for importing Drupal entities from any external system. This talk will assume no prior knowledge of the migrate module, and will springboard attendees to be able to immediately start work on their own migrations. Starting from first principles we will explain:
- The use cases of migrate
- Migrate's architecture as an ETL (Extract - Transform - Load) system
- The contributed parts of the puzzle you can use to leverage migrate's power
- The gaps left over for you to implement in your custom module(s)
- How to migrate from different source data types
- How migrate keeps track of relationships between source and destination entities, and how this can help in some sticky situations
- How process plugins fulfil the Transform stage of our ETL process, and what Drupal provides for free using Drupal's Event system to listen for and react to key moments in the migration process
We will build from the simplest possible example migration from scratch and show how to use execute, rollback and interrogate migrations using live demonstrations. We will then incrementally build on our simple migration to map additional fields, deal with data dependencies and react to migration events.
This session capitalises on over 5 years of experience of leading migration implementations for some of the largest enterprise Drupal projects in Europe, maintaining contrib migrate modules, giving talks across the world and delivering workshops to Drupalistas of all levels from senior engineers to the UK's Drupal apprenticeship programme.
Might also involve monkeys 🐒
YOU MAY ALSO LIKE: