Introduction to Object-Oriented Design Process - Copy

Introduction to Object-Oriented Design Process - Copy - 1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1. INTRODUCTION In this section, I illustrate the process of object-oriented design by developing an example design for the control software that is embedded in an automated weather station. As I discussed in the introduction, there are several methods of object-oriented design with no definitive „best‟ method or design process. The process that I cover here is a general one that incorporates activities that are common to most OOD processes. In this respect, it is comparable to the proposed UML process but I have significantly simplified this process for presentation here.The general process that I use here for object-oriented design has a number of stages: 1. Understand and define the context and the modes of use of the system 2. Design the system architecture 3. Identify the principal objects in the system 4. Develop design models 5. Specify object interfaces I have deliberately not illustrated this as a simple process diagram as that would imply that there was a neat sequence of activities in this process. In fact, all of the above activities can be thought of as inter-leaved activities that influence each other. Objects are identified and the interfaces fully or partially specified as the architecture of the system is defined. As object models are produced, these individual object definitions may be refined and this may mean changes to the system architecture. I discuss these as separate stages in the design process later in this section. However, you should not assume from this that design is a simple, well-structured process. In reality, you develop a design by proposing solutions and refining these solutions as information becomes available. You inevitably have to backtrack and retry when problems arise. Sometimes you explore options in detail to see if they work; at other times you ignore details until late in the process. And also I illustrate these process activities by developing an example of an object-oriented design. The example that I use to illustrate object-oriented design is part of a system for creating weather maps using automatically collected meteorological data. 2. LAB EXERCISES 2.1 Lab Exercise 1 Here in this object-oriented design process, we were asked to identify classes, their responsibilities (methods), and relationship between them. And also we were given the following case study which we had to implement on our own with the current knowledge of object-oriented design process. In this program they have given that AIT bookstore sells books, newspapers, and souvenirs to customers. In each book it has a title, author(s), ISBN number, publisher, and price. And a newspaper has a name, language, and price. A souvenir has a price and type (showpiece, wearable etc). AIT bookstore has walk-in customers as well as online customers (require shipment on a specific address). And our responsibility is to provide an object-oriented design for their sales system. Step 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 20

Introduction to Object-Oriented Design Process - Copy - 1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online