What is the Book About


Thanks Myfuture.com, https://www.flickr.com/photos/myfuturedotcom/6053042920

Typical Shopping Cart

Let’s imagine it


Thanks Qui Nguyen Khac, https://pixabay.com/users/nguyenkhacqui-2851627/

Don’t repeat yourself

Car in API

{
"vin": "4Y1SL65848Z411439",
"make": {
"key": "vw",
"name": "Volkswagen",
"shortName": "VW"
},
"model": {
"key": "arteon-shooting-brake",
"name": "Arteon Shooting Brake",
"shortName": "Arteon"
},
"color": {
"key": "black",
"name": "Black"
}
}


Thanks Lisa Johnson, https://pixabay.com/users/elljay-962436/

Discount Functionality


How to apply

1. Hear the story


  • During creating object from the class (new Product(...))
  • In usage

Creating objects

OOP

Usage

class CartItem {
private…


Domain Service


Product Name Story

Use cases

  • Change the product name in the language.
  • Show the product name in the language
  • If…



Collections and Reality

Svaťa Šimara

Developer interested in Domain-Driven Design & Modeling

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