migration
TRANSCRIPT
Migration
www.wearepropeople.com
Nagailic Sergiu | Nikro
Propeople [ http://wearepropeople.com/ ]
www.wearepropeople.com
Content:
1. Introduction to migration.2. Old school migrations.3. Feeds module.4. Migrate module.5. Other approaches.6. Round-up.
www.wearepropeople.com
Introduction to migration.
• Advantages of migration-type projects• Drawbacks of migration-type projects• Automated vs Manual migrations
www.wearepropeople.com
Introduction to migration.
• Analyze the source structure• Setup the destination project
• Install all needed modules• Create entities and bundles• Define relationships
• Pick a migration method• Implement migration• Run migration until expected results are met
www.wearepropeople.com
Old school migration.
• Raw scripts• Batch API
www.wearepropeople.com
Feeds module.
• Simple pluggable architecture
• Lots of plugins• Neat UI• Exportable configurations• Keeps track of imported
items (rollbacks, etc.)• Great documentation
www.wearepropeople.com
Feeds module.
www.wearepropeople.com
Feeds module.Fetchers:•Core
• File• HTTP• PubSubHubbub
•Other• Directory Fetcher• Oauth• SOAP/WSDL Fetcher• Mailhandler Fetcher• Feeds SQL• Clients Fetcher
Parsers:•Core
• Common syndication parser• CSV parser• OPML parser• Sitemap parser• Simplepie-parser
•Other• Xpath Parser• YouTube• Vimeo• Slideshare• Flickr• iCal• REGEX parser
Processors:•Core
• Node processor• Taxonomy term
processor• User processor• Feed Node processor
•Other• Date• Atom• Node Multisource• Comment processor• Commerce products
processor• Self Node Processor
www.wearepropeople.com
Feeds module.Misc modules:•Feeds Image Grabber•Location Feeds•Geo taxonomy•Extractor•Term Uncle•Ubercart Feeds•Media Feeds•Aegir Feeds
Helper modules:•Feeds Tamper•Feeds Crawler•Feeds Hacks
www.wearepropeople.com
Feeds module.
<?php print arad_get_demo(‘feeds’);
www.wearepropeople.com
Migrate module.• Provides a big & dynamic migration framework• Is object oriented and easily extensible • Provides a simple UI for migration monitoring• Requires code writing• Keeps tracks of migrated rows (rollbacks, etc.)• Offers lots of Migration, Source, Destination,
Mapping and Handler classes• Great documentation
www.wearepropeople.com
Migrate module.• Provides a big & dynamic migration framework• Is object oriented and easily extensible • Allows dependent migrations• Provides a simple UI for migration monitoring• Requires code writing• Keeps tracks of migrated rows (rollbacks, etc.)• Offers lots of Migration, Source, Destination,
Mapping and Handler classes• Great documentation
www.wearepropeople.com
Migrate module.• Source classes:
• MigrateSourceCSV• MigrateSourceList• MigrateSourceMSSQL• MigrateSourceOracle• MigrateSourceSQL
• Destination classes:• MigrateDestinationComment• MigrateDestinationEntity• MigrateDestinationFile• MigrateDestinationFlagSimple• MigrateDestinationMedia• MigrateDestinationNode• MigrateDestinationOGMembership• MigrateDestinationRole• MigrateDestinationTable• MigrateDestinationUser• MigrateDestinationTerm
www.wearepropeople.com
Migrate module.• Map / Mapping
classes:• MigrateFieldMapping• MigrateSQLMap• MigrateMap• MigrateXMLFieldMapping
www.wearepropeople.com
Migrate module.
<?php print arad_get_demo(‘migrate’);
www.wearepropeople.com
Other approaches.Meh, I'll just talk here.
www.wearepropeople.com
Round-up.
Keep in touch:
Web: http://nikro.me/Twitter: nikro_md
Tomorrow's session: Drupal Services & Backbone.js
Live: Saying “Hi” is enough
www.wearepropeople.com
Thanks!