Design new ecommerce example - donvadicastro/generator-xmi GitHub Wiki

Initially system design should be started with collecting use cases and system requirements. We use Enterprise Architect as design tool and tool to export XMI model for fast prototype generation.

Step1: use cases and requirements

Lets simplify business requirements for e-commerce solution including only next use cases:

Use cases

Step2: domain model

After defining all business requirements to the system we need to define boundaries of business context so that domain model need to be defined. We use class model to define domain metadata.

Class model

This model includes all entities and relation between entities based on requirements defined. Class model considered to be the data contracts for data transfer and persistence.

Step3: component model

After designing data contracts for data transfer and persistence we need to define main system actors and API this actors exposes for data management.

Component model

After designing component model we need to design data flow and data processing mechanism between defined component.

Sequence diagram

Step4: UI diagrams

As a final stage we need to design user interfaces to interact with system. All entities management pages will be supported out of box.

⚠️ **GitHub.com Fallback** ⚠️