Migrate ModulePresented by danylevskyi (Dmytro Danylevskyi)DrupalCamp Kyiv 2013
Migrate is FrameworkFlexible framework for migrating content intoDrupal from other sources.
The GoalConvince you to use Migrate module if you need:●Migrate data to Drupal●Update big amount of Drupal data●Periodical...
Sources & Destinations●CSV →●XML →●JSON →●PDO (DBTNG) →●MSSQL →●Oracle API →●??? →●Node●User●Taxonomy term●Comment●File●Fi...
Usage Cases●Migrate data to Drupal from single source●Compile and migrate data from multiple sourcesto Drupal●Incremental ...
Useful Tools: Web UI●Supporting collaboration between stakeholdersand implementors●Quality assurance●Performance statistics
Useful Tools:Drush Integration●$ migrate-import Article●$ migrate-import Article –update●$ migrate-import Article --limit=...
Inside Migrate:ArchitectureObject-oriented architecture allows defaultbehavior to be extended and/or overridden.●Migration...
Inside Migrate:Migration Classes●Define where the source data is coming from.●Define the destination object type.●Define m...
Inside Migrate: CommonlyImplemented Methods●function prepareRow($row)●function prepare($entity, stdClass $row)●function co...
https://drupal.org/project/migrate
Thank You!
Upcoming SlideShare
Loading in …5
×

Migration

924 views
870 views

Published on

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
924
On SlideShare
0
From Embeds
0
Number of Embeds
638
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Migration

  1. 1. Migrate ModulePresented by danylevskyi (Dmytro Danylevskyi)DrupalCamp Kyiv 2013
  2. 2. Migrate is FrameworkFlexible framework for migrating content intoDrupal from other sources.
  3. 3. The GoalConvince you to use Migrate module if you need:●Migrate data to Drupal●Update big amount of Drupal data●Periodically update Drupal data from externalsources
  4. 4. Sources & Destinations●CSV →●XML →●JSON →●PDO (DBTNG) →●MSSQL →●Oracle API →●??? →●Node●User●Taxonomy term●Comment●File●Fields●Other Entities
  5. 5. Usage Cases●Migrate data to Drupal from single source●Compile and migrate data from multiple sourcesto Drupal●Incremental & repeatable migrations●Updating existing content●Creating test content
  6. 6. Useful Tools: Web UI●Supporting collaboration between stakeholdersand implementors●Quality assurance●Performance statistics
  7. 7. Useful Tools:Drush Integration●$ migrate-import Article●$ migrate-import Article –update●$ migrate-import Article --limit="100 items"●$ migrate-import Article --group="MyGroup"
  8. 8. Inside Migrate:ArchitectureObject-oriented architecture allows defaultbehavior to be extended and/or overridden.●Migration●MigrateSource●MigrateDestination●MigrateMap●MigrateFieldMapping
  9. 9. Inside Migrate:Migration Classes●Define where the source data is coming from.●Define the destination object type.●Define mappings from source fields todestination fields.
  10. 10. Inside Migrate: CommonlyImplemented Methods●function prepareRow($row)●function prepare($entity, stdClass $row)●function complete($entity, stdClass $row)●function createStub()
  11. 11. https://drupal.org/project/migrate
  12. 12. Thank You!

×