Chapter 7 provides object models and discusses the business domain and business-tier components in more detail, we’ll present the database model at this point to illustrate the scope of the business domain and provide a framework for discussing presentation-tier design. Figure 3.1 shows the logical database design of bigrez.com.

Figure 3.1: bigrez.com logical database design.
The data model in Figure 3.1 illustrates the key objects and relationships present in the business domain of this system. For example, each property has a set of room types, with related inventory and rate records defining the availability and price for that type of room for a particular date. Our task in the user-facing Web application portion of bigrez.com is to hide this complex set of business objects and related processes and give the user an easy-to-use, step-by-step process for finding and booking the right room on the right dates. The administration site will present a view of this data more directly related to the database design.