DrupalTO [Online] - How to Write Drupal Migrations
Details
Join us on Friday, May 29 from 12-1pm for the second Drupal Toronto "Lunch n' Learn" Online Meetup.
LOCATION: Web Conference
TIME: 12:00-1:00pm
Presented by Hussain Abbas of Axelerant Technologies.
OVERVIEW:
Drupal allows building highly complex content structures ranging from simple blogs to online stores to advanced enterprise publishing with complex content approval workflows. Migrating content into such complex structures is a complex problem for which Drupal provides a simple framework in the form of the migrate module. The module allows data migration from various sources to Drupal in a structured approach—a way that can be controlled, monitored and audited.
In this session, we’ll go over the Drupal migration system for migrating all sorts of content to Drupal (and that includes migrating/upgrading from older versions of Drupal as well). Drupal 8 and 9 use the same migration system to update from Drupal 6 or 7. Given the Drupal 7 EOL approaching soon and Drupal 9 release, it is imperative that developers understand how to write migrations.
TOPICS:
- Understand the migrate module and declarative programming
- Planning a migration and opportunity to restructure content and modify data
- Different parts of a migration
- Clear and complete mappings
- Reuse code across migration classes with inheritance and traits
- Continuous or incremental migration
- Migration performance
- Auditing migrations by stakeholders and verification
- Debugging migrations and common gotchas