Docsity

Agile Development Model, Cheat Sheet of Introduction to Software Engineering

Partial preview of the text

Download Agile Development Model and more Cheat Sheet Introduction to Software Engineering in PDF only on Docsity!

Chapter 3 – Agile Software Development Week 2

Topics covered  (^) Agile methods  (^) Agile development techniques  (^) Agile project management  (^) Scaling agile methods

Agile development  (^) Process specification, design and implementation are inter-leaved  (^) The system is developed as a series of increments with stakeholders and end-users involved in each increment specification and evaluation  (^) Frequent delivery of new increments for evaluation  (^) Extensive tool support (e.g., automated testing tools) used to support development.  (^) Minimal documentation – focus on working code

Plan-driven and agile development

Agile methods and plan-driven

development

Plan-driven development  A plan-driven approach to software engineering is based around separate development stages with the outputs to be produced at each of the stages planned in advance.  Plan-driven processes are processes where all the process activities are planned, and progress is measured against this plan.  It is the right approach for safety-critical control systems, where a complete analysis of the system is essential.  Iteration occurs within activities Note : In practice, most practical processes include elements of both plan-driven and agile approaches. 04/05/2024 Chapter 3 Agile Software Development 7 Discussing the difference between the two development (cont.)

Agile methods

 (^) Dissatisfaction with the overheads involved in software design methods of the 1980s and 1990s 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.  (^) The aim of agile methods is to reduce overheads in the software process (e.g., by limiting documentation) and to be able to respond quickly to changing requirements without excessive rework.

Agile method applicability  (^) Product development where a software company is developing a small or medium-sized product for sale.

  • (^) Virtually all software products and apps are now developed using an agile approach  (^) Custom system development within an organization, where there is a clear commitment from the customer to become involved in the development process and where there are few external rules and regulations that affect the software.

Agile development techniques

 One of the most important software development frameworks in Agile models is Extreme Programming (XP). It is used to improve the quality of software and its responsiveness to consumer demands  Basic principles of XP:  The XP methodology is focused on frequent iteration in which developers implement User Stories;  User stories are basic, informal statements made by customers about the functionalities they require;  A User Story is a conventional description by the user about a feature of the required system. 04/05/2024 Chapter 3 Agile Software Development 11 Discussing the development techniques

XP and agile principles  (^) Incremental development is supported through small, frequent system releases.  (^) Customer involvement means full-time customer engagement with the team.  (^) People not process through pair programming, collective ownership and a process that avoids long working hours.  (^) Change supported through regular system releases.  (^) Maintaining simplicity through constant refactoring of code.

User stories for requirements

 (^) In XP, a customer or user is part of the XP team and is responsible for making decisions on requirements.  (^) User requirements are expressed as user stories or scenarios.  (^) These are written on cards and the development team break them down into implementation tasks. These tasks are the basis of schedule and cost estimates.  (^) The customer chooses the stories for inclusion in the next release based on their priorities and the schedule estimates. In simple terms, a user story is a simple description of requirements that needs to be implemented in the software system.

Examples of task cards for prescribing medication

Task

 (^) You must read the following sections from your notes:

  • Refactoring
  • Test-first development
  • Pair programming
  • Scaling agile methods
  • Practical problems with agile methods
  • Agile methods for large systems  (^) Feel free to create a topic(s) for discussions using the “Discussions Forum” whenever there is a concept that you do not understand. 04/05/2024 Chapter 3 Agile Software Development 17

Refactoring  (^) This improves the understandability of the software and so reduces the need for documentation. Or  (^) Refactoring improves the software structure and readability and so avoids the structural deterioration that naturally occurs when software is changed  (^) Changes are easier to make because the code is well- structured and clear.  (^) However, some changes requires architecture refactoring, and this is much more expensive.

Examples of refactoring  (^) Re-organization of a class hierarchy to remove duplicate code.  (^) Tidying up and renaming attributes and methods to make them easier to understand.  (^) The replacement of inline code with calls to methods that have been included in a program library.