Component versus Module

From CSSEMediaWiki
Revision as of 13:32, 10 September 2009 by Matthew Harward (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A component and a module have distinctions that separate the two terms. Known meanings are noted below:

  • A module and component is the same thing, that is an encapsulated part of a program that provide a semantically related and complete unit of functionality. This is a higher architectural scale than a class as it is not restricted to a single concept. This is related to Separation of concerns.
  • Modules and components interact with the use of defined interfaces.
  • Components are a concept in Component-based-modelling and UML, in these cases, module is a term that is usually used synonymously.
  • Mambo, a CMS, defines a module as a lower level architectural part than a component. A component can be a whole application by itself, whereas a module is too low level.
  • Joomla defines the difference between these two concepts in the same way.


Personal tools