Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

All our components should be keep the data accessing (read and write), business logic and interface code separated

More specific a component should be composed of the following 3 layers:

  1. Data layer: The responsibility of this layer is to handle access to data. This includes:
    • Sending and receiving messages on the message bus.
    • Transmitting and receiving files
    • Database and disk access
  2. Business logic: Handles the logic related to the different features. Examples are Get File, Put, Integrity, etc.
    specific logic.
  3. Interface: The default interface to the component will be the API exposed by the logic layer. If other kinds of interfaces are needed, like bash, web, Swing these can be added on top of the logic layer.
 

  • No labels