Case Study: A Rental Store
Let us consider an application that keeps track of customers borrowing and returning movies at a video rental store.
For simplicity's sake (assuming that the rental store is relatively small and the computer memory is relatively large), the application loads the database of customers and rental items into computer memory at the beginning of the execution. The rental item data includes the item title, quantity on hand, and the item id. The customer data includes the customer name and phone number (with the phone number used as the customer id), the number of movies the customer has borrowed, and their ids.
Even though this example is very simple, it has sufficient details for illustrating the basic issues of designing ...