Nomad Mage is an group of developers who gather once a month to continue learning. We host meetings featuring top speakers from around the world. Each month we bring you new opportunities to learn and grow as a Magento developer.
Keep Magento Out of Your Magento Extensions: Refactoring to Framework Independent Code
Talk by Fabian Schmengler (1 hour)
To port an existing Magento 1 extension to Magento 2, it can be helpful to first extract the business logic into a reusable library. This also makes for more testable and future-proof code. But how can it be done? On Nomad Mage I’m going to walk through real examples to show you how such a refactoring can be approached. Although we will focus on refactoring existing Magento 1 extensions, the patterns you will learn are also useful for new extensions, Magento 1 or Magento 2.