28

What is the difference between an Extension and a Module?

Just curious to know that what is the right term to use when we extend Magento's functionality by creating our custom code in local folder.

3 Answers 3

18

Extensions are simply packed modules. In other words, you extend the features and functionality of Magento by writing a module. Then you have a choice to leave it as it is or pack it up (System > Magento Connect > Package Extensions). An extension (a packed module) is then published on magento connect

3
  • Hi Qaisar Satti, How can i get you? Commented Dec 10, 2015 at 7:47
  • hi @TejabhagavanKollepara sorry don't get you? Commented Dec 10, 2015 at 7:51
  • any particular reason to contacting me? Commented Dec 10, 2015 at 7:55
13

I wish everyone will make up their minds and use the same term.
Now we have extension, module, bundle, plugin and maybe others and it's getting silly.
Basically a module is an extension.
The only difference might be that what's in the core may not be considered extensions, but they are modules.
So Mage_Catalog is a module but not an extension.
Something_Else is a module and an extension because it's not in the core.

5
  • well said Marius.. (y) Commented Jun 3, 2015 at 7:50
  • I agree, for none core I consider the two terms to be completely interchangeable. Commented Jun 3, 2015 at 8:47
  • 5
    You can't avoid it. People come from wordpress and use the term plugin. Devs come from Joomla and say extension... Commented Jun 5, 2015 at 9:27
  • 4
    I agree with Marius. Commented Jun 5, 2015 at 12:14
  • I always agree with Marius (and Fabian too) :)
    – SR_Magento
    Commented Jun 25, 2015 at 11:56
13

Module is the technical term for anything you define in app/etc/modules

Extension is the marketing term for published1 community modules (or generally any code that extends Magento functionality and is not a theme)

Extensions usually consist of one or more modules. The ebizmarts MageMonkey extension for example comes with four actual modules that are bundled as one extension: Ebizmarts_AbandonedCart, Ebizmarts_Autoresponder, Ebizmarts_MageMonkey and Ebizmarts_Mandrill.

Themes also often come with theme specific modules that are not distributed separately and nobody would call them extensions.


1) be it via Magento Connect, Github or an extension store

Not the answer you're looking for? Browse other questions tagged or ask your own question.