简介
领域模型(domain model)是对领域内的概念类或现实世界中的可视化表示。领域模型也叫做概念模型、领域对象模型和分析对象模型。这里需要注意,领域模型往往会跟类混淆,因为都是对现实中的实体的描述。所以,要记住的是,领域模型是对现实世界概念类的表示,不是软件对象的表示。它不用来描述软件类、架构或者软件对象。
案例
Screenshot 3 shows a web page resulting from a successful search. The page shows:
- workflow that informs that making a reservation consists of four steps: (1) search, (2) choose hotel, (3) choose room type, and (4) confirm reservation
- summary that displays the original search criteria
- search again option, which returns the customer to Screenshot 1
- option to sort results by: (1) our favourites, (2) lowest price, (3) highest star rating, and (2) alphabetical
- search results listing the hotels and basic information about them, as well as the continue option to proceed with the reservation