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

The learning objectives for this chapter include: To explain the benefits of software reuse and some reuse problems, to discuss several different ways to implement software reuse, to explain how reusable concepts can be represented as patterns or embedded in program generators, to discuss COTS reuse, to describe the development of software product lines. | Software Reuse Objectives To explain the benefits of software reuse and some reuse problems To discuss several different ways to implement software reuse To explain how reusable concepts can be represented as patterns or embedded in program generators To discuss COTS reuse To describe the development of software product lines Topics covered The reuse landscape Design patterns Generator based reuse Application frameworks Application system reuse Software reuse In most engineering disciplines, systems are designed by composing existing components that have been used in other systems. Software engineering has been more focused on original development but it is now recognised that to achieve better software, more quickly and at lower cost, we need to adopt a design process that is based on systematic software reuse. Reuse-based software engineering Application system reuse The whole of an application system may be reused either by incorporating it without change into other systems (COTS . | Software Reuse Objectives To explain the benefits of software reuse and some reuse problems To discuss several different ways to implement software reuse To explain how reusable concepts can be represented as patterns or embedded in program generators To discuss COTS reuse To describe the development of software product lines Topics covered The reuse landscape Design patterns Generator based reuse Application frameworks Application system reuse Software reuse In most engineering disciplines, systems are designed by composing existing components that have been used in other systems. Software engineering has been more focused on original development but it is now recognised that to achieve better software, more quickly and at lower cost, we need to adopt a design process that is based on systematic software reuse. Reuse-based software engineering Application system reuse The whole of an application system may be reused either by incorporating it without change into other systems (COTS reuse) or by developing application families. Component reuse Components of an application from sub-systems to single objects may be reused. Covered in Chapter 19. Object and function reuse Software components that implement a single well-defined object or function may be reused. Reuse benefits 1 Reuse benefits 2 Reuse problems 1 Reuse problems 2 The reuse landscape Although reuse is often simply thought of as the reuse of system components, there are many different approaches to reuse that may be used. Reuse is possible at a range of levels from simple functions to complete application systems. The reuse landscape covers the range of possible reuse techniques. The reuse landscape Reuse approaches 1 Reuse approaches 2 Reuse planning factors The development schedule for the software. The expected software lifetime. The background, skills and experience of the development team. The criticality of the software and its non-functional requirements. The application domain. The execution .