Hibernate _ note 16 (analysis Domain Model)

Source: Internet
Author: User

Let me explain it first, because the examples in the book are short code, step by step, not just a one-stop, so don't worry.

The Analysis of Software Development in the business field begins with the analysis of the problem field (assuming there is no existing legacy code or database ).
At this stage, with the help of expert in the problem field, you can identify the main entities related to the software system. The entity is generally understood by system users as follows: payment, customer, goods, and bid.
The goal of domain model analysis and design is to capture the essence of business information for applications. Developers and architects may not start with an object-oriented model, but use a data model to design applications (which may be expressed using an entity-relational diagram ). We usually say that persistence is slightly different between the two; they are just different starting points. In the end, we are most concerned with the structure and relationship of business entities.
The CaveatEmptor domain model, the website of CaveatEmptor, auctioned many different types of goods, from electronic devices to air tickets. The auction is conducted according to the UK auction strategy: the user connects to a product and bids for it until the bidding period ends, and the highest bidder wins.
In any store, goods are classified by category and similar goods are concentrated in a partition or shelf. The auction catalog requires a certain level of product categories so that buyers can browse these categories or search by category or product attributes. The product list is displayed in the directory browser and the search result screen is displayed. Select an item from the list to bring the buyer to the Details View of the item.
An auction consists of a series of bids, but only one wins. User details include name, registration ID, address, email address, and Bill information.
Web of Trust is a basic feature of an online auction website. The trusted network allows you to establish credibility for credibility (or non-credibility. The buyer can evaluate the seller (the seller can also evaluate the buyer), and all other users can see the evaluation.

Advanced overview of Domain Models:

Download link

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.