Rapid software developmentObjectivesTopics coveredSlide 4RequirementsCharacteristics of RAD processesAn iterative development processAdvantages of incremental developmentProblems with incremental developmentPrototypingIncremental development and prototypingConflicting objectivesAgile methodsPrinciples of agile methodsProblems with agile methodsExtreme programmingThe XP release cycleExtreme programming practices 1Extreme programming practices 2XP and agile principlesRequirements scenariosStory card for document downloadingXP and changeTesting in XPTask cards for document downloadingTest case descriptionTest-first developmentPair programmingRapid application developmentRAD environment toolsA RAD environmentInterface generationVisual programmingVisual programming with reuseProblems with visual developmentCOTS reuseCompound documentsApplication linkingSoftware prototypingBenefits of prototypingBack to back testingThe prototyping processThrow-away prototypesKey pointsSlide 45©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 1Rapid software development©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 2ObjectivesTo explain how an iterative, incremental development process leads to faster delivery of more useful softwareTo discuss the essence of agile development methodsTo explain the principles and practices of extreme programmingTo explain the roles of prototyping in the software process©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 3Topics coveredAgile methodsExtreme programmingRapid application developmentSoftware prototyping©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 4Rapid software developmentBecause of rapidly changing business environments, businesses have to respond to new opportunities and competition.This requires software and rapid development and delivery is not often the most critical requirement for software systems.Businesses may be willing to accept lower quality software if rapid delivery of essential functionality is possible.©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 5RequirementsBecause of the changing environment, it is often impossible to arrive at a stable, consistent set of system requirements.Therefore a waterfall model of development is impractical and an approach to development based on iterative specification and delivery is the only way to deliver software quickly.©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 6Characteristics of RAD processesThe processes of specification, design and implementation are concurrent. There is no detailed specification and design documentation is minimised.The system is developed in a series of increments. End users evaluate each increment and make proposals for later increments.System user interfaces are usually developed using an interactive development system.©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 7An iterative development processValidateincrementBuild systemincrementSpecify systemincrementDesign systemarchitectureDefi ne systemdeliverablesSystemcomplete?IntegrateincrementValidatesystemDeliver fi nalsystemYESNO©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 8Advantages of incremental developmentAccelerated delivery of customer services. Each increment delivers the highest priority functionality to the customer.User engagement with the system. Users have to be involved in the development which means the system is more likely to meet their requirements and the users are more committed to the system.©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 9Problems with incremental developmentManagement problems •Progress can be hard to judge and problems hard to find because there is no documentation to demonstrate what has been done.Contractual problems•The normal contract may include a specification; without a specification, different forms of contract have to be used.Validation problems•Without a specification, what is the system being tested against?Maintenance problems•Continual change tends to corrupt software structure making it more expensive to change and evolve to meet new requirements.©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 10PrototypingFor some large systems, incremental iterative development and delivery may be impractical; this is especially true when multiple teams are working on different sites.Prototyping, where an experimental system is developed as a basis for formulating the requirements may be used. This system is thrown away when the system specification has been agreed.©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 11Incremental development and prototypingIncrementaldevelopmentThrow-awayprototypingDelivered systemExecutable prototype +System specificationOutlinerequirements©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 12Conflicting objectivesThe objective of incremental development is to deliver a working system to end-users. The development starts with those requirements which are best understood.The objective of throw-away prototyping is to validate or derive the system requirements. The prototyping process starts with those requirements which are poorly understood.©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 13Agile methodsDissatisfaction with the overheads involved in design methods led to the creation of agile methods. These methods:•Focus on the code rather than the design;•Are based on an iterative approach to software development;•Are intended to deliver working software quickly and evolve this quickly to meet changing requirements.Agile methods are probably best suited to small/medium-sized business systems or PC products.©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 14Principles of agile methods©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 17 Slide 15Problems with agile methodsIt can be difficult to keep the interest of customers who are involved in the process.Team members may be unsuited to the intense involvement that
View Full Document