Top 10 Tips When Launching Magento 2.0 Extensions: Learn About Technical Guidelines

March 16, 2016

Tip #2: Learn About Technical Guidelines

Learn more about what is needed to build, package, and submit a Magento 2.0 extension.

Some additional tips from our valued developers:

“Study technical guidelines. First of all, follow the Magento philosophy of coding and development. Make sure that your extensions comply with the terms of Service Contracts and PSR-1 and PSR-2 Basic Coding Standards. And, in the development stage provide your extensions with integrational tests, at least.” - aheadWorks

“Follow the framework – Chances are that what you are trying to build is already supported by the Magento 2.0 extensions framework in some shape or form. So look for platform code that does something similar, consult forums or request help from someone knowledgeable in the code base.” - SLI Systems

“Take time to get used to the process of unit testing. With Magento 2.0, creating mockup objects for inclusion in your tests can be cumbersome but it is worthwhile. Every line of code you add to your tests, will help you understand your extension code even better.” - Yireo

"Leverage Magento resources! Building an extension doesn't need to be a solo project. The Magento team offers so many resources and support options for developers, that it is super important to be an active member of the developer community and leverage the work that has already been done. In the end this will result in a better extension and an easier process for developers."  - Pixlee

For additional resources, please review the Frequently Asked Questions and the User Guide. For any other questions please contact marketplace@magento.com. We look forward to working with each of you.

Come back next week for more tips on launching Magento 2.0 Extensions!