book

ebook

hexagonal sandbox, how modular architecture works in real life with examples

1. Connection

1. Sentence

TeleCommunication:      # goal
  THROUGH: Exchange     # verb/object
  THE: Message          # object
  FROM: Sender          # object interface
  TO: Recipient         # object interface

2. Component

TeleCommunication:   # object, or verb + object
  ACTION: Exchange   # verb
  OBJECT: Message    # object
  IN: Sender         # object interface from
  OUT: Recipient     # object interface to

3. Behaviors

2. Message

1. Complex Sentence

TeleCommunication:       # goal
  THROUGH: Exchange      # verb/object
  THE: Message           # object
  FROM:
      Sender:            # object interface
        THROUGH: Send    # verb/object
        THE: Message     # object
  TO:             
      Recipient:         # object interface
        THROUGH: Receive # verb/object
        THE: Message     # object

2. Catalog of Components

TeleCommunication:     # goal
  ACTION: Exchange     # verb/object
  OBJECT: Message      # object
  
Sender:                # goal
  ACTION: Create       # verb/object
  OBJECT: Message      # object

Recipient:             # object interface
  ACTION: Receive      # verb/object
  OBJECT: Message      # object

3. Network of Components

TeleCommunication:
  FROM: Sender
  TO: Receive

4. Relations

Exchange Message:  
  Send Message
  Receive Message

5. Layers

Network:
  Message    

3. Content

1. Complex Sentence

TeleCommunication:           # goal
  THROUGH: Exchange          # verb/object
  THE: Message               # object
  FROM:
      Sender:                # object interface
        WHICH: Sends         # verb/object
        THE: Message         # object
        FROM:
          Creator:           # object interface
            WHICH: Creates   # verb/object
            THE: Content     # object
  TO:             
      Recipient:             # object interface
        WHICH: Receives      # verb/object
        THE: Message         # object
        TO:
          Reader:            # object interface
            WHICH: Reads     # verb/object
            THE: Content     # object

2. Object layers

Network:
  Message:
    Content

Behaviors

1. Catalog

Exchange Message:      # goal
  ROLE: Provider
  ACTION: Exchange     # verb/object
  OBJECT: Message      # object
  
Send Message:          # goal
  ROLE: Sender
  ACTION: Send         # verb/object
  OBJECT: Message      # object

Receive Message:       # object interface
  ROLE: Recipient
  ACTION: Receive      # verb/object
  OBJECT: Message      # object

Create Content:        # object interface
  ROLE: Creator
  ACTION: Create       # verb/object
  OBJECT: Content      # object

Read Content:          # object interface
  ROLE: Reader
  ACTION: Read         # verb/object
  OBJECT: Content      # object

2. Relations

Exchange Message:  
  Send Message:
    Create Content
  Receive Message:
    Read Content

Roles

1. Relations

TeleCommunication:
  Provider:
    Sender:
      Creator
    Receiver:
      Reader

2. Groups

Communicants:
  - Sender
  - Receiver

Correspondent:
  - Creator
  - Reader

3. Layers

Provider:
  - Communicants
    - Correspondent

OBJECTS

Connection:  
    ACTION:
      - connect
      - disconnect      


Provider:  
    ACTION:
      - online
      - offline      

Correspondent:
    OBJECT: Content
    ACTION:
      - create
      - read
      - delete
      - update
    
Communicants:
    OBJECT: Message
    ACTION:
      - send
      - receive