Reading

Books/ 31 Days of Drupal Migrations

Books/ 31 Days of Drupal Migrations

Of all the APIs available in Drupal, the Migrate API may be one of the most hidden from the average Drupal user. It is even possible that, while reading this post, you discover for the first time that there is a whole set of Drupal modules, both core and contributed, fully dedicated to designing and running migration processes inside Drupal. You can move data from an old Drupal site to the most recent version, but also from other databases, files, systems, frameworks, CMSs, DXPs… and all of these options come together around the Drupal Migrate API. It is a set of resources that demands real dedication, partly because the available information has been so fragmented until now. The book I want to discuss today brings order and unity to all this. Pay attention.


Picture from Unsplash, user Will Paterson, @willpat


Table of Contents

1- Introduction 2- The Book 3- Recommendations 4- Book Information 5- Fast Review 6- Ratings 7- :wq!


1- Introduction

Migration processes are fairly common in project development: it is quite normal to build a new Drupal-based website for a client that already has a platform implemented in a different technology (not kidding, this happens). As part of these processes, a client may need to move their data to the new platform and adapt it to Drupal’s data model, with its own tables and relationships.

In these situations, several scenarios open up for these processes: the study of the origin of the data, the processing possibilities, the methodology to sanitize the information and how to store it in a stable way in our new environment. What I have just briefly described is what is involved in an ETL process: Extraction - Transformation and Load for the data migration, and this is the spirit of the book I am discussing today: the exhaustive study of the design and execution for ETL process in Drupal.

For those of us who at some point have had to learn to migrate data to Drupal by the hard way, I’m sure it has been recurrent a) to search for information on Google at some point. and b) Reach Mauricio Dinarte’s blog: understanddrupal.com. For me, this website has been a very important reference (almost mandatory) to understand how to perform Drupal Migrations. In fact, it was one of the recommended authors that I considered fundamental to learn how to execute Drupal Migrations, when more than a year ago I started writing about this deep topic here in The Russian Lullaby, linking to his website and the platform of Agaric.coop, with shared related content, too. So the author and his work is not alien to me, but what happens is that today I want to talk about a novelty discovered recently: the compilation of all the great work around this topic in his book about migration processes in Drupal: 31 days of Drupal Migrations.

2- The Book

It is difficult for me to evaluate this book as it deserves. So maybe the first thing I want to say is that this is the first time I have found such an integrated and compact body of knowledge and experience. This is very important, because in many cases Drupal documentation is not very extensive or not sufficiently updated. When the topic is complex or advanced, this becomes a real problem: you need to consult outdated blogs, review contributed modules, read code, and check deprecated documentation just to build, step by step, an idea of how to do this or that.

Cover of 31 Days of Drupal Migrations, by Mauricio Dinarte

Maybe because of this is why initiatives like this from Mauricio Dinarte, @dinarcon from the initiative Understand Drupal are so important and generate a very high value (only surmountable if the same information becomes part of the official Drupal.org documentation, of course).

As I said at the beginning of this section, it’s difficult for me to describe how much this resource has helped me, but I would like write down some special points that you can learn from this book, some key points of interest, something like:

Key Points:


  • Perhaps the first fundamental learning here: to know how a migration process works, what are the workflows and its possibilities.

  • Learn about how to migrate data in a lot of entities and resources: files, images, paragraphs, fields and subfields…All full of a) theory and concepts and b) examples, examples, and more examples.

  • Know the way to perform migrations from diverse sources and origins: XML files, CSV, JSON… executing processing ad-hoc for the values.

  • Get the most complete list of the most valuable contributed modules related to Migrations: Media Handler, Media Migration, Geofield, Migrate Devel…core modules, contrib modules, modules that includes plugins from Migrations…the set is long and pretty interesting. This book contains the most comprehensive and centralized list of all.

3- Recommendations

Actually, I guess I could say - in a nutshell - that any work team implementing Drupal-based projects should have a copy of this book available. And I wouldn’t be exaggerating, I swear. I think this huge, extensive and thorough work compiled by Mauricio Dinarte has too much importance and it’s quite interesting too. This cannot go unnoticed.

On the other hand, because “Migrations” is a topic that encompasses and relates to other Drupal APIs, it can also give people on a technical team a lot of knowledge about Drupal internals: Plugins, Services, Entities, Drush, Debugging…these are cross-cutting topics in this book, and they are also very important issues. Maybe you want to learn more about that.

For everyone who has to go through ETL processes in Drupal, this is a must-have resource: you can’t get through the maze without using a good map of the territory and this chart is the best compilation yet of all the key issues when defining a migration process: Do you know under which criteria to decide how to define your migration? code or configuration? advantages and disadvantages?… These are just the initial questions. Along the way there are many more, and this is the best guide to deal with it. The fact that this e-book is also available for only $10 makes it even more obvious: there are no excuses. It’s a must. And then, if you want you can be supporter of the Understand Drupal initiative, sponsoring the tutorials production: understanddrupal.com/supporters. Think about it.

4- Book Information

FieldDescription
Title31 Days of Drupal Migrations.
AuthorMauricio Dinarte.
PublisherLeanpub.
DateOctober, 2020.
Pages193
OverviewComplete guide to implement migrations and ETL processes in Drupal.
KeywordsDrupal, Migration, Migrate API, Plugins, Source, Process, Destination.
Price10$
LinksGumroad,

5- Fast Review

Question // Answer
1- Is this book progressive, Iterative and Incremental?
Yes, it is. It’s constructed in a very didactic and useful way.
2- Does it offer specific solutions to particular problems or concrete issues?
Yes, it offers solutions. The book contains many (many) practical examples and errors.
3- Does it explain well the original problems or needs it aims to solve?
Yes, the book is built from the needs that normally originate migration tasks.
4- Is this book rich in examples?
Yes, for each situation, case, resource, it offers a real and practical example, downloadable from a repository. .
5- Is this book written in plain English, suitable for non-English speakers?
Yes, this book is an easy read for non-English speakers, very pleasant.
6- Is it up to date?
Yes, seems to be aligned with the last big changes related to the Migrate API of Drupal, November 2020.

6- Ratings

Table of Book Ratings for 31 Days of Drupal Migrations

7- :wq!

comments powered by Disqus

Join to the (Future) Newsletter

De la pradera tiene musho peligro al ataquerl te voy a borrar el cerito torpedo tiene musho peligro pupita al ataquerl diodeno. Torpedo ese pedazo de qué dise usteer a peich ese que llega la caidita pecador.