About
Module are several source scripts (compiled or not) bundled together as a mean to:
- group code
- that can be:
- reused. The component is then called:
- a library or package when distributed
- or a dependency (if declared as dependency into a module)
- or installed. The component is then called an application
A module is also known as:
- Package
- Component
A module:
- is a way to group source file
- list explicitly its dependencies (ie it may depends on other module called library that are declared as dependency)
- is a discrete unit of functionality which you can compile, run, test and debug independently.
- increase efficiency and demonstrate the utility of higher-order programming.
- gives also the possibility to hide implementation through the definition of private and public element.
Articles Related
Type
- Code Shipping - Application - An application component cannot be reused
- Code Shipping - (Library|Package) - A library component can be reused
Properties
Module:
- are generally versioned in a version control system
- contains all build information