Code Shipping - (Package|Module|Library)

> Code - (Programming|Computer) Language > Code Shipping - Change and Deployment Pipeline - Development Lifecycle / Workflow

1 - About

(Module|Library|Package|Component) are several source scripts (compiled or not) bundled together as a mean to:

Module encapsulate reusable solutions to common problems.

Package are also just a way to group source file (generally, it's a directory path).

A module is a discrete unit of functionality which you can compile, run, test and debug independently.

A module depends on other module that are called dependency.

Telling a programmer there's already a library to do X is like telling a songwriter there's already a song about love.

Module increase efficiency and demonstrate the utility of higher-order programming.

Module gives also the possibility to hide implementation through the definition of private and public element.

A component is:

  • a runtime definition; it can run completely on it’s own
  • contains all dependencies

3 - Properties

  • A single control version repository for all source
  • The repository must be deployable in a Docker Image docker build .
  • All build configuration must be stored in the repo

4 - Documentation / Reference