Agile software development
May 11, 2015
Agile software development
Nội dung
1. Waterfall Model 2. Agile software development3. Extreme Programming (XP)4. Agile vs Waterfall
Waterfall Model"From the 1970 IEE paper
"Managing the Development of Large Software Systems“
Winston Royce's Waterfall Model
Waterfall Model
Waterfall ModelRequirement
◦Each phase should pass iteratively to the next
◦The entire process should be exercised twice before release
◦Royce knew that a single pass will fail
Agile software development
ValuesIndividuals and
interactions over processes and tools
Working software over comprehensive documentation
Customer collaboration over contract negotiation
Responding to change over following a plan
Principles
1) 12 principles
Extreme Programming (XP)
Agile development is not a methodology. It is an umbrella term that describes several agile methodologies
PracticesIncremental planningSmall Releases Continuous integration Test first developmentRefactoringPair ProgrammingCollective OwnershipOn-site CustomerSimple design
Cycle
Extreme Programming (XP)
ExampleStory card for document
downloading
Downloading and printing an article
First, you select the article that you want from a displayed list.
You then have to tell the system how you will pay for it; this can either be through a subscription, though a company account or by credit card.
Alter this, you get a copyright form from the system to fill in.
When you have submitted this, the article you want is downloaded onto your computer.
You then choose a printer and a copy of the article is printed.
You tell the system printing has been successful. If the article is a print-only article, you can't keep
the PDF version, so it is automatically deleted from your computer.
Task cards for document downloading
Test: Test credit card validityInput: A string representing the credit card number and two
integers representing the month and year when the card expires
Tests: Check that all bytes in the string are digits Check that the month lies between 1 and 12 and the
year is greater than or equal to the current year. Using the first 4 digits of the credit card number, check
that the card issuer is valid by looking up the card issuer table.
Check credit card validity by submitting the card number and expire date information to the card issuer
Output: OK or error message indicating that the card is invalid
Agile vs Waterfall Ability to change
Agile vs Waterfall Visibility
Agile vs Waterfall Successful
Agile vs Waterfall
Agile vs Waterfall Agile Waterfall
Small, medium project
Big project
Less architectural Better architectural
Sourcehttp://www.agilemodeling.comhttp://
www.codeproject.com/Articles/604417/Agile-software-development-methodologies-and-how-t
Bài giảng môn lập trình cấu trúc, Cô Giang