Can somebody please tell me what is the basic difference between the module and component in Joomla?
If possible, please tell with some examples, so that it is easily understood.
Components are put together (synthesis) to build a software. Modules are the result of dividing (analysis) the code. So components are about the high-level design of a software, whereas modules are more about organization on the code level.
Joomla! modules are lightweight extensions or “widgets” that can be inserted into a page to display specific types of pre-configured content. Typical examples include the login module, latest news module and banner module.
A component is a kind of Joomla! extension. Components are the main functional units of Joomla!; they can be seen as mini-applications. An easy analogy would be that Joomla! is the operating system and the components are desktop applications.
Modules are lightweight and flexible extensions. They are used for small bits of the page that are generally less complex and are able to be seen across different components. You can see many examples of modules in the standard Joomla! install: - menus - Latest News - Login form - and many more.
Modules are usually small pieces of functionality designed to _present information in your site). They can appear a number of times, on a number of pages in various positions.
On the other hand, a component is typically more complex, with extensive functionality and capabilities. A component can only be displayed in the main area of a page, and can usually only be displayed in a single page.
Read this article for more info: http://www.dart-creations.com/joomla/joomla-tutorials/the-difference-between-modules-and-components.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With