Questions tagged [ecb-pattern]

The Entity-Control-Boundary Pattern (ECB) is an architectural pattern where the class-design is use-case driven. It shares some similarity but should not to be confused with the Model-View-Controller Pattern.

The Entity-Control-Boundary Pattern (ECB) is an architectural pattern where the class-design is use-case driven. It is also related to robustness-analysis. It shares some similarity but should not to be confused with the Model-View-Controller Pattern.

This pattern distinguishes classes based on their responsibilities in use-cases:

  • Entities are classes representing information that matters to the users and the stakeholders, such as Customer, Product, ShoppingCart.

  • Boundaries are classes that represent the link between a use-case and system actors, such as user interfaces (for human actors), or gateways and proxies (for system actors).

  • Controls are classes responsible for a use-case. They orchestrate the realisation of a use-case and for this purpose coordinate related boundary- and entity- classes.

See also:

18 questions
0
votes
1 answer

When to use MVC and ECB?

According to the book I am reading, I understand this facts. Entity objects is like model objects in MVC which are responsible for maintaining data. Boundary objects are those which interact with external users, handling both input and output. In…
Ju Ju
  • 199
  • 1
  • 13
0
votes
2 answers

Benefits of using set of entites

I want to display the booking list of a restaurant for a given date. I omit the boundary object here. In the first diagram, the restaurant object maintains the complete set of booking made for the restaurant. In the second diagram, the restaurant…
Ju Ju
  • 199
  • 1
  • 13
0
votes
1 answer

UML Class Diagram

I have a design class diagram using the boundary, control, entity pattern: Are the following links allowed: boundary to boundary ? control to control?
KhaoulaAtallah
  • 759
  • 1
  • 6
  • 16
1
2