Let's take the Contacts module inside my Magento 1.7 installation.

$ pwd

I know Contacts is the module, but is Mage the package, or the vendor? Then what's core? I'll heard them being described as 'code pools', but still not very clear.

And how does this relate to namespacing? (if it's relevant at all?)


Mage is the vendor. Core is the code pool that all core/default functionality goes into. Third party modules go in the community code pool and work you create should go in the local code pool.

So if you made a module it would be in app/code/local/dayuloli/modulename/.

  • So there's no concept of a 'package'? – dayuloli May 7 '15 at 10:29
  • I guess you could consider the modulename the package. So one vendor could have multiple packages like what you see inside the mage directory – develophper May 7 '15 at 10:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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