Learn all Magento development fundamentals at https://macade.my/DJoC94
Is your Magento 2 module code relying on other code? If so, you should be defining dependencies in composer.json files -- even if you are not distributing the file.
In this video, Mark describes how to define these module dependencies, and how soft & hard dependencies differ. He'll also touch base on module.xml sequence nodes and how they work in tandem with dependencies & requirements defined in composer.json files.
0:00 Overview of soft & hard dependencies
0:49 Defining hard dependencies in composer.json
2:08 What is a soft dependency?
2:49 Implementing composer suggest
4:00 Controlling code load order with module.xml
6:03 How sequence nodes work
Links from the video:
------------------------------------------
The Simplest Way to Learn Magento - https://m.academy
Magento 2 Coding Kickstart Course - https://m.academy/courses/magento-2-c...
#magento #magento2 #adobecommerce #php