Problem Definition

Consider a sales system that supports a sales representative selling a certain kind of computer to end users.

Let's assume the base pieces are defined as in Table 4.1.

The sales person will sell a configuration for a computer such as that in Table 4.2.

Table 4.1. Computer Components
Part Choices
Motherboard + Processor 486, Pentium, PentiumII, Xeon, Pentium III
Case Desktop, Minitower, Fulltower
Drives 4,6,10,13G
Memory 32M, 64M, 128M, 256M, 512M
Monitor 15", 17", 19", 21"
Soundcard Regular, 3D
Video Card Standard, Pro, 3D
Modem None, 28K, 56K, ISDN
Table 4.2. A Basic Computer System
Galaxy Pro Computer System
Motherboard + Processor PentiumII
Case Minitower
Drives 10G
Memory 64M
Monitor 17"
Soundcard Regular
Video Card Pro ...

Get Joy of Patterns: Using Patterns for Enterprise Development, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.