最近,我从GIT下载并安装了magento代码迁移工具包,它可以将Magento 1.x格式的模块迁移到Magento 2.0格式,这有助于减少我们输入Magento 2.0模块的php、模块和其他耗时代码的时间。
但是,我在这里,我不知道这是什么意思.
第一步:将Magento1.x模块结构迁移到Magento2.0结构(bin/migrate.php migrateModuleStructure)。
第二步:迁移Magento1.x layout.xml Magento2.0结构文件结构。(bin/migrate.php convertLayout)。
第三步:迁移PHP代码(bin/migrate.php convertPhpCode)。
实际上,从这些步骤中“迁移”是什么意思?如果你觉得兴奋,你也可以从这里下载。
发布于 2016-06-13 08:14:12
Step one: Migrate Magento 1.x module structure to Magento 2.0 structure (bin/migrate.php migrateModuleStructure).它用于删除代码池(核心、社区、本地)以及单个目录中的聚合模块文件。
Step two: Migrate Magento 1.x layout.xml Magento 2.0 structure file structure. (bin/migrate.php convertLayout).它是按句柄分解布局文件。它还格式化XML文件,例如块类型和块名。
Step three: Migrate PHP code (bin/migrate.php convertPhpCode).这是为了通过行动来分解控制器。它还格式化了php文件。
您可以参考下面的youtube视频,以获得更多的理解:
https://stackoverflow.com/questions/34872380
复制相似问题