Docsity

Understanding Different Software Development Models: Risks and Benefits - Prof. Brian F. H, Study notes of Civil Engineering

Toggle sidebar
bg1
CSIS 360 – Lecture 2
Models
What are the dangers of using the wrong model? What went wrong in the case-study for
Giga-Quote 1.1?
Requirements were well understood – fix outstanding bugs and UI problems. The
prototyping model is better suited to situations where the requirements are vague or
poorly understood. Because prototyping was used, customers started asking for new
reports, changing the scope of the project without changing the schedule.
Waterfall
Document driven – main work products produced during each phase are documents. Lots
of time and energy is spent creating and maintaining these documents.
How do you know when you are ready to move to next phase? Typical approach is some
sort of document review and sign-off. Again, this is time-consuming. Slows project
down.
Requirements specs are used by designers. Design specs are used by code developers. In
extreme case, completely different groups of people are involved in each phase.
Documents only indication of progress during project. No software is available until all
features of the system are complete.
The activities of the waterfall model are essential – you need to get requirements from
somewhere. You need a design. You have to code. You need to test. But, they don't have
to be done sequentially.
"Most of the weaknesses of the pure waterfall model arise not from problems with these
activities, but from the treatment of these activities as disjoint, sequential phases."
- McConnell p143.
Code and Fix
Not really a model. Unfortunately, it's used.
Basically, just dive in and start coding. Completely undisciplined. No documentation or
planning. Unpredictable. Not repeatable. Almost always results in buggy, low-quality
software.
Is this engineering?
When is it useful?
pf3
pf4

Partial preview of the text

Download Understanding Different Software Development Models: Risks and Benefits - Prof. Brian F. H and more Study notes Civil Engineering in PDF only on Docsity!

CSIS 360 – Lecture 2

Models What are the dangers of using the wrong model? What went wrong in the case-study for Giga-Quote 1.1? Requirements were well understood – fix outstanding bugs and UI problems. The prototyping model is better suited to situations where the requirements are vague or poorly understood. Because prototyping was used, customers started asking for new reports, changing the scope of the project without changing the schedule. Waterfall Document driven – main work products produced during each phase are documents. Lots of time and energy is spent creating and maintaining these documents. How do you know when you are ready to move to next phase? Typical approach is some sort of document review and sign-off. Again, this is time-consuming. Slows project down. Requirements specs are used by designers. Design specs are used by code developers. In extreme case, completely different groups of people are involved in each phase. Documents only indication of progress during project. No software is available until all features of the system are complete. The activities of the waterfall model are essential – you need to get requirements from somewhere. You need a design. You have to code. You need to test. But, they don't have to be done sequentially. "Most of the weaknesses of the pure waterfall model arise not from problems with these activities, but from the treatment of these activities as disjoint, sequential phases."

  • McConnell p143. Code and Fix Not really a model. Unfortunately, it's used. Basically, just dive in and start coding. Completely undisciplined. No documentation or planning. Unpredictable. Not repeatable. Almost always results in buggy, low-quality software. Is this engineering? When is it useful?

Spiral Provides potential for rapid development of increasingly more complete versions of the software -- Roger Pressman, Software Engineering, page 54 Risk focused. At each stage you examine your biggest risks and address them. For example, what are risks early in the project?

  • Is the project feasible?
  • Do we understand what the customer wants? What is the project concept?
  • Do the stakeholders agree on the project direction? Later, the risks might differ:
  • Do we understand the new technology? (Note: what kind of process might be appropriate to answer this question?)
  • Will the system really be able to support the desired number of users? Evolutionary – customer and developer better understand risks and progress at each stage. Iterative – something is released at each pass around the spiral: A project concept, a prototype, a software release, … Good model in many ways:
  • visible progress
  • Addresses risk early, so you can react to it before it is too late, or change the project before you have invested too much (remember "engineering economy"). Provides early indication of insurmountable risk. Downside – complicated. Requires active, attentive, knowledgeable project management. Requires risk assessment expertise. Evolutionary prototyping What is a prototype? Does it have to be software? Allows engineers and customers to better understand what to build when requirements are unclear. Potential problems with the model:
  • Customers see UI early, may get unreasonable expectations about when product will be complete.
  • Sometimes people focus on the minor details instead of the significant issues.
  • Quality can be compromised – idea is to get prototype working quickly Staged Delivery

Agile methods are useful when you encounter a customer who says “I'm not exactly sure what I want, but I will know when I see it”. There are a number of agile methods that have been developed, including Crystal, Scrum, Extreme Programming (XP). I am going to focus on XP. XP is based on a number of practices. These include: · User Stories · Pair Programming · Small Releases / Frequent Iterations · Planning Game · Test Driven Development (or Test-First Design) · Simple Design / YAGNI · Acceptance Test · Continuous Integration · Collective Ownership · 40 hour week · On-site customer [Briefly discuss some of these – user stories, PP, iterations, planning game, YAGNI, testing] Projects: Sept 7 Roy Cook, Shirena Long