Data Migration into Drupal
Upcoming SlideShare
Loading in...5
×
 

Data Migration into Drupal

on

  • 1,029 views

Migrate module tour by Moshe Weitzman of Acquia. Presented at Drupalcon London 2011. See http://london2011.drupal.org/conference/sessions/data-migration-drupal

Migrate module tour by Moshe Weitzman of Acquia. Presented at Drupalcon London 2011. See http://london2011.drupal.org/conference/sessions/data-migration-drupal

Statistics

Views

Total Views
1,029
Views on SlideShare
1,029
Embed Views
0

Actions

Likes
1
Downloads
20
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Data Migration into Drupal Data Migration into Drupal Presentation Transcript

  • Code and CodersData Migration into Drupal Moshe Weitzman @weitzman
  • Goals• Move data accurately and completely• End product is 100% native Drupal• Rapid, iterative, parallel development• Excellent dev <=> client communication
  • Migrate UI• Communicate development progress• Communication eases worry• Execute the migrations (or use drush)
  • Sources• mysql, postgres, mssql, oracle,• csv, xml, json• see /plugins for example code
  • Destinations• Entities: node_save(), user_save(), ...• Fields (text, number, list, address, link...• Contrib: OG, Flag, User Relationships, ...• DB Table• Easily create plugins for new ones
  • Field Mappings• $this->addFieldMapping(show, status) ->defaultValue(0)
  • Migration Class • The brains of a migration.
  • Hooks• prepareRow(), prepare()• complete()• See migrate_example/beer.inc, wine.inc
  • Single Record mapSource Mappings save message
  • Drush Commands• migrate-status• migrate-import, migrate-rollback• message and map tables• migrate-fields-destination
  • Advanced Features• Synch •Highwater tracking •System of Record• Stub entities• File handling (entity or File Field)• Timers, xhprof• migrate_example: oracle, baseball
  • Publish your Work• Share your classes •Wordpress Migrate •TYPO3_migrate •Custom classes
  • • Professional Services• Mike Ryan (author of Migrate module)• Moshe Weitzman
  • What did you think?
  • What did you think?Locate this session on theDrupalCon London website:http://london2011.drupal.org/conference/schedule
  • What did you think?Locate this session on theDrupalCon London website:http://london2011.drupal.org/conference/scheduleClick the “Take the survey”link
  • What did you think?Locate this session on theDrupalCon London website:http://london2011.drupal.org/conference/scheduleClick the “Take the survey”linkTHANK YOU!