Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

An example for a domain architecture #

Pragya Keshap answered on February 12, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • Sample domain service

  • An example for a domain architecture #

    0

    The drawing above shows an example of the division of a system into multiple domain modules. In this division, each module has its own domain model. Let’s discuss each.

    To search successfully, data, such as descriptions, images or prices, must be stored for the products. Important customer data can include, for example, the recommendations that can be determined based on past orders.

    To process orders in the order process module, the contents of the shopping cart have to be tracked. For products, only basic information is required such as name and price. Similarly, not too much data concerning the customer is necessary. The most important component of the domain model of this module is the shopping cart. It is then turned into an order that has to be handed over and processed by the other bounded contexts.

    For payment, the payment-associated information like credit card numbers has to be kept for each customer.

    For shipping, the delivery address is required information about the customer while the size and the weight are necessary information about the product.

    This list reflects that the modules require different domain models. Not only does the data concerning customer and product differ but so does the entire model and the logic.

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 12 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.