I’m proud to annouce that I will present the Nomad Mage session of January 2017. Nomad Mage is the Magento offspring of Nomad PHP and describes itself as:
Nomad Mage® is a virtual user group for Magento developers who understand that they need to keep learning to grow professionally. We meet online monthly to hear some of the best speakers in the community share what they’ve learned.
My topic: “Keep Magento Out of Your Magento Extensions – Refactoring to Framework Independent Code”
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.
What to expect?
If you have seen my talk “Porting a complex extension to Magento 2”, you already heard of the concept to extract as much as possible into a framework independent library and saw how I approached this.
I got feedback that a training on refactoring for this purpose would be very useful. At Nomad Mage I take the chance to focus on this single topic and dive deeper into it than it would be possible within a conference talk. You will get a hands on lesson on refactoring a Magento module, and you will see how a framework independent library can interact with Magento by real examples.
I already wrote about the topic a lot, so you might also be interested in these posts:
- Magento 1 and Magento 2: Shared Code for Extensions (7 articles)
- Isolating Domain Logic in Magento Customizations
The session will be about 60 minutes. If you attend it live, there will be time to ask questions in between.
Awesome! How to join?
You can take advantage of a limited time special offer to get a 3 month free trial subscription if you sign up at Commerce Hero and complete your profile. If you do it now, you can attend my session for free, or download the video afterwards.
Or register for this session directly at https://nomadmage.com/keep-magento-magentoextensions-refactoring-frameworkindependent-code/
|Date:||January 17, 2017|