tailieunhanh - Lecture Software engineering (7/e): Chapter 14 – Ian Sommerville

The main contents of this chapter include all of the following: To explain how a software design may be represented as a set of interacting objects that manage their own state and operations, to describe the activities in the object-oriented design process, to introduce various models that can be used to describe an object-oriented design, to show how the UML may be used to represent these models. | Object-oriented Design Objectives To explain how a software design may be represented as a set of interacting objects that manage their own state and operations To describe the activities in the object-oriented design process To introduce various models that can be used to describe an object-oriented design To show how the UML may be used to represent these models Topics covered Objects and object classes An object-oriented design process Design evolution Object-oriented development Object-oriented analysis, design and programming are related but distinct. OOA is concerned with developing an object model of the application domain. OOD is concerned with developing an object-oriented system model to implement requirements. OOP is concerned with realising an OOD using an OO programming language such as Java or C++. Characteristics of OOD Objects are abstractions of real-world or system entities and manage themselves. Objects are independent and encapsulate state and representation . | Object-oriented Design Objectives To explain how a software design may be represented as a set of interacting objects that manage their own state and operations To describe the activities in the object-oriented design process To introduce various models that can be used to describe an object-oriented design To show how the UML may be used to represent these models Topics covered Objects and object classes An object-oriented design process Design evolution Object-oriented development Object-oriented analysis, design and programming are related but distinct. OOA is concerned with developing an object model of the application domain. OOD is concerned with developing an object-oriented system model to implement requirements. OOP is concerned with realising an OOD using an OO programming language such as Java or C++. Characteristics of OOD Objects are abstractions of real-world or system entities and manage themselves. Objects are independent and encapsulate state and representation information. System functionality is expressed in terms of object services. Shared data areas are eliminated. Objects communicate by message passing. Objects may be distributed and may execute sequentially or in parallel. Interacting objects Advantages of OOD Easier maintenance. Objects may be understood as stand-alone entities. Objects are potentially reusable components. For some systems, there may be an obvious mapping from real world entities to system objects. Objects and object classes Objects are entities in a software system which represent instances of real-world and system entities. Object classes are templates for objects. They may be used to create objects. Object classes may inherit attributes and services from other object classes. Objects and object classes An object is an entity that has a state and a defined set of operations which operate on that state. The state is represented as a set of object attributes. The operations associated with the object provide services to

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.