Domain-Driven Design, part 2 — Model

Modeling

Validation

How to Get The Right Information

Shopping Cart Story

Use Cases and Constraints

  • Add the product to the cart.
  • Remove the product from the cart.
  • Show the cart detail.
  • Calculate the cart total price.
  • Change the product amount.
  • Once the item is in the cart, its price is fixed.

Key Concepts

TL;DR

References

Contact

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Svaťa Šimara

Svaťa Šimara

Developer interested in Domain-Driven Design & Modeling