Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Module vs. component design [closed]

What is the difference between module vs. component design?

like image 791
ms80 Avatar asked Apr 24 '10 01:04

ms80


People also ask

What is the difference between modules and components?

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.

What is the difference between a component and a module in Angular?

The Component is a fundamental block of Angular and multiple components will make up your application. A module can be a library for another module. For instance, the angular2/core library which is a primary Angular library module will be imported by another component.

What is a module in software architecture?

Modules are basically everything living within your filesystem and existing during design time and beyond. Examples for modules are packages and classes as well as database tables. You are using these module structures as a base for the component and connector structures.


Video Answer


1 Answers

I'd like to share my idea about this difference.

Both component and module are used to refer to a group of functions or a part of a function. Module is more logical, for example: module Finance, module HR, module Manufacturing... in ERP system. On the other hand, component is more physical. In software, it can be a dll, ocx, exe,...

There is no criteria to measure which one is greater than the other. One component can contain list of modules, and one module also can contain many components. Components are used to model a system in technical view, and module is used to model the system in function view ( functionalities of the system)

like image 164
Tin Avatar answered Oct 06 '22 13:10

Tin