![]() A dentist has two problems: fixing patients’ teeth and making appointments for the patients. Imagine a software that is being developed to support a dentist. Vaughn Vernon in his “Implementing Domain-Driven Design” book statesthat “the subdomains live in the problem space and the bounded contexts in the solution space” Notes: The Product and Customer model in the Shopping Cart sub domain maybe not the same with the models in Product Catalogs and Customer Profiles sub domain, they just contain necessary properties to display on Shopping Cart. and contains functions to perform CRUD on the cart. Which functionalities needed in sub domain?Įx: Shopping Cart sub domain needs models: Cart, Product, Customer Info.Which properties needed in the each model?. ![]() How many domain models needed for the sub domain?.This boundary is considered as bounded context of the sub domain. Each sub domain should have explicit responsibilities so it has a boundary to limit their functionalities, the boundary will help sub domain focus to do only 1 thing and do well.Such as: E commerce has many sub domains such as: Shopping Cart, Billing, Product Catalog, Customer Information. Domain is divided into many sub domains, so each sub domains focus smaller problems.Such as: E commerce is a domain, Payroll system is a domain ![]()
0 Comments
Leave a Reply. |