360 likes | 369 Views
Experienced Drupal developer with expertise in CMS migration and website development, certified by Acquia. Skilled in Drupal, Magento, WordPress, and osCommerce. Proficient in PHP, Python, Java, Bash, Ruby, SQL, iOS, JavaScript, and CSS.
E N D
Drupal Migration Everright Chen
About Me • Developer Master in CI&T • Drupal (8+) • Drupal, Magento, Wordpress, osCommerce • PHP, Python, Java, Bash, Ruby, SQL, IOS, Javascript, CSS, ... • Acquia Certified Developer, MCSE, MCDBA, RCE • Github: https://github.com/everright
Agenda • Why Drupal • None Drupal to Drupal • Drupal to Drupal • Data Migration • Drupal in CI&T
Rapid Website Development • Scalable (tons of extensions, hooks, API) • Its Secure (ACL, user authentication, permission) • Multilingual • Multi-site by one instance • Custom Content Type • Powerful Template System • Easy to Update • Its Open Source (FREE!) • Large Community Support
CMS eCommerce LMS ……
Demo: CSV Import into Drupal with SQL • Load Data Infile • MySQL Procedure • MySQL UDF
Upgrade Migration
Upgrade Process Inventory your third party modules Backup your old Drupal installation Disable third party modules and themes Remove the old Drupal installation Download and unpack Drupal 7 Begin the upgrade process Enable and update modules and themes Convert to custom modules and themes Test your new Drupal installation Clean up
Demo: Upgrade drupal 6 to 7 drush alias $aliases['site'] = array( 'root' => '/var/www/sites/dc67.local/', 'uri' => 'dc67.local:8000', 'db-url' => 'mysql://user:password@localhost/dbname', ); drush sup @site
Migration Process Backup your old Drupal installation Install clean drupal 7 Prepare custom configuration Install migrate module Install migrate_d2d module Start with migrate_d2d_ui
Drupal 8 no longer supports upgrading data from Drupal 7 using the database update system (update.php)
Migrate core//modules/migrate/ • provides general API for all migrations • provides interfaces and base classes for all migration plugin components (source, destination, process, id_map, row). • provides a plugin manager for manipulation on migration plugins. • provides the migrate configurable (configuration entity type).
Migrate Drupal core/modules/migrate_drupal/ • the first module using the new Migrate API. • kind of migrate_d2d successor. • migrates out-of-the-box from Drupal 6 and 7 into Drupal 8. • Defines migrations for all system components: • Drupal 6 settings (site name, slogan, roles, etc) • Content definitions (vocabularies, node types, etc)
Data Migration • Source • Destination • Mappings • Prepare • Import • Rollback
Data Migration Import Flow Rollback Flow
About the company We are global with people in Brazil, USA, Europe, Australia, Japan and China Our excellence has been recognized by the market with awards since our foundation in 1995 We are truly multi-cultural, an army of over 2000 talented employees and their great stories
CI&T Pacific and Drupal • The biggest Drupal shop in Asia Pacific, focused on the Enterprise • Experience delivering Drupal Enterprise sites to Pharma and Retail companies • Drupal Association Premium Supporting Partner, along with other Community Activities Support/Engagement • Acquia Partner - 25+ CI&T Acquia Drupal Certified Developers, 8+ in CI&T Pacific • Locations: • Development Center/Office in Ningbo • Also strategic Offices in Tokyo and Sydney CI&T page at Drupal.org: https://www.drupal.org/node/1530378