What is a Module?

I'm learning about Magento 2 and am curious about the term "module" and how it relates to Magento. What exactly is a module, both in general terms and specifically?

If I understand correctly, a module can be a:

  • Theme
  • Child theme
  • Extension
  • Other modification

Am I right? Also, am I missing anything? What else can a module be?

Solutions

In Magento2 module is one of the components which provides a certain feature / functionality. For an example, module-checkout provides checkout functionality in the store front. Similarly each module has it's own features and and they can also be dependent on other modules. I insist you to go through Magento 2 official docs for proper knowledge

Magento Modules Overview

Modules and Areas

Module Conventions

Module Relationships

Module dependencies

Module dependency types

Similar questions

module to add custom code in code_core_mage_sales_etc_config.xml via module or observer
i want to add order line items in magento : i followed link :http://www.webcenter.co.in/how-to-add-custom-fields-for-order-line-items-in-magento now i created module for steps in that link for step 6: i do not want to change in code , how can i do above steps via module pls help
<Namespace>_<module>_Model_<module>::_construct() not allowing method calls
I'm having a curious problem in model's _construct function. When the model is instantiated I would like to call a method to pull and save an access key from a database into a class property so it is immediately available, so I'm calling the method from within the _construct(): The Method If I call getActiveKey() from a controller, all's fine and i...
In a PHTML template, how would I determine if the module rendering me is a specific module?
For example, I have a root template shared by all customer account pages. I want to display a link to the dashboard on all pages except the dashboard (obviously). How could I detect the page is the dashboard (from PHTML) and hide it? Like this:
what is the difference between disable module output and module active = true
In magento I come to knew that we can disabel our module by two ways May I know what is the exact difference in these two technic? Its very help if anyone give more detailed Answer.
How to use magento ImportExport module in your custom module
For my module I need to insert data that has nothing to do with magento products or categories. It is just a list of stores, addresses and coordinates, so I guess it could be a separate table inside the db. I'm stuck and don't know how to start as there is little information about this. I found this useful presentation http://netzarbeiter.com/media...
Call one module model from other module model
I have a design like below I have two independent modules and one common module. That means independent module will pull information from common module. I defined below in common module config. Then I tried to call a method in common module model from module_1 controller like below, But is throws error like model undefined. Then I included the comm...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.