3. The Goal
Convince you to use Migrate module if you need:
●
Migrate data to Drupal
●
Update big amount of Drupal data
●
Periodically update Drupal data from external
sources
4. Sources & Destinations
●
CSV →
●
XML →
●
JSON →
●
PDO (DBTNG) →
●
MSSQL →
●
Oracle API →
●
??? →
●
Node
●
User
●
Taxonomy term
●
Comment
●
File
●
Fields
●
Other Entities
5. Usage Cases
●
Migrate data to Drupal from single source
●
Compile and migrate data from multiple sources
to Drupal
●
Incremental & repeatable migrations
●
Updating existing content
●
Creating test content
6. Useful Tools: Web UI
●
Supporting collaboration between stakeholders
and implementors
●
Quality assurance
●
Performance statistics
9. Inside Migrate:
Migration Classes
●
Define where the source data is coming from.
●
Define the destination object type.
●
Define mappings from source fields to
destination fields.
10. Inside Migrate: Commonly
Implemented Methods
●
function prepareRow($row)
●
function prepare($entity, stdClass $row)
●
function complete($entity, stdClass $row)
●
function createStub()