CSC/ECE 517 Fall 2011/ch6 6e zj: Difference between revisions
(151 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Introduction== | ==Introduction== | ||
===The concept of heavier-weight methodology=== | ===The concept of heavier-weight methodology=== | ||
Heavyweight development methodology | Traditional methodology which is also known as Heavyweight development methodology that is based on a sequential series of steps, such as requirements definition, solution build, testing and deployment. Heavyweight development methodology mainly focuses detailed documentation, inclusive planning, and extroverted design, its typical example is waterfall model. | ||
===The concept of agile methodology=== | ===The concept of agile methodology=== | ||
[http://en.wikipedia.org/wiki/Lightweight_methodology Agile methodology(Lightweight Methodology)] is an approach to project management, typically used in software development. It helps teams respond to the | [http://en.wikipedia.org/wiki/Lightweight_methodology Agile methodology(Lightweight Methodology)] is an iterative and incremental approach to project management, typically used in software development. It helps teams respond to the changes of building software quickly and efficiently . <ref name = "agile1">http://acm.web.auth.gr/2011/03/03/agile-methodology/</ref> | ||
===Overview of this article=== | |||
In section 2 we introduce the comparison between heavier-weight methodologies and agile methodologies, we provide both advantages and disadvantages for both heavier-weight methodologies and agile methodologies. In sections 3, we provide the examples for both heavier-weight and agile methodologies. In sections 4, we discuss how to choose methodologies when developing software. Sections 5 tells under which situation you could avoid using agile methodologies. | |||
==Compare with the heavier-weight methodology and agile methodology== | ==Compare with the heavier-weight methodology and agile methodology== | ||
===Heavier-weight methodology=== | ===Heavier-weight methodology=== | ||
Heavyweight methodology: | Heavyweight methodology<ref name = "agile2">http://www.techrepublic.com/article/heavyweight-vs-lightweight-methodologies-key-strategies-for-development/5035285</ref>: | ||
* A heavyweight methodology | * A heavyweight methodology which is composited with rules, practices, and documents makes us discipline and time to follow correctly. | ||
* Heavyweight methodologies | * Heavyweight methodologies focus in the great detail of the project. | ||
* The specifications, reports, plans, schedules and checkpoints is required by the lead managers. | |||
* | * For the reason that the heavyweight methodology plans about the requirements, design, etc. before the project is actually started, so the project managers who use heavyweight methodologies will resist change. | ||
* | * Requirements, solution build, testing and deployment are always the basic steps for the heavyweight development methodology. | ||
* | * [http://en.wikipedia.org/wiki/IBM_Rational_Unified_Process Rational Unified Process] is one of the widely used example of “heavyweight” methodology. | ||
* | *If the project needs multiple teams working at several locations, and you need them to work tighter to develop some core parts of the project, in such condition heavyweight methodologies can be a better choice, because they could adhere to the requirements, design documentation, which will avoid that they work in wrong direction because of inconvenience communication. | ||
* | |||
====Advantage of heavier-weight methodology==== | ====Advantage of heavier-weight methodology==== | ||
* It is | * It is a clear and powerful method for software development, many big corporations use this method to develop software. It clearly defines software development life cycle, which help a new developer better know how to develop the software. | ||
* | *Because we have clear stated what to do before the project actually start, this will save us time to do only those that we actually required. It always happen that a project team do a lot of effort to code and then later found out that it's not required at all. So using this method and adhering closely to documentation, It will avoid of those useless effort. | ||
* The project | *The project stakeholders are forced to clearly and correctly define the business requirements documentations. Also, developers are forced to completely understand the requirements before starting doing the high level design and coding. Without thoroughly understand the requirements, they will fail to meed the corresponding milestone and fail to continue the project. | ||
* | *Actually, making documentation at every state is an very essential step. It helps better understand the requirements, design the code , write code and design test on the software. | ||
====Disadvantage of heavier-weight methodology==== | ====Disadvantage of heavier-weight methodology==== | ||
The traditional project methodologies that many top corporations use, such as the [http://www.webopedia.com/TERM/S/SDLC.html SDLC approach], are considered to be bureaucratic or “predictive” in nature, and they’ve resulted in many unsuccessful projects. These “heavyweight” methodologies are becoming increasingly unpopular. They can be so laborious that the whole pace of design, development, and deployment actually slows down. | The traditional project methodologies that many top corporations use, such as the [http://www.webopedia.com/TERM/S/SDLC.html SDLC approach], are considered to be bureaucratic or “predictive” in nature, and they’ve resulted in many unsuccessful projects. These “heavyweight” methodologies are becoming increasingly unpopular. They can be so laborious that the whole pace of design, development, and deployment actually slows down.<ref name = "agile2"/> | ||
<br>Heavyweight methodologies try to plan | <br>Heavyweight methodologies try to plan majority part of the project in great detail.it assumes that every requirement of the project can be identified before any design or coding occurs Project managers need to predict predict every project milestones because they need those technical details, which result in a large number of documentation, such as plans, report, and schedules. However, we know, when doing a project, there are always a lot of changes, such as that the client may change their requirements, then all the schedules, checkpoints made for the project need to get changed. So making all the details for a project before actually starting the project is not an effective way. | ||
<br> | <br>Heavyweight development methodology is based on a sequential series of steps, such as requirements, solutions, testing and deployment, which means that every step could only be started with the finish of previous step, while the lightweight methodologies propose to execute the project steps in parallel. | ||
===Agile methodology=== | ===Agile methodology=== | ||
In 1970, [http://en.wikipedia.org/wiki/Winston_W._Royce Dr. Winston Royce] presented a paper entitled [http://www.cs.umd.edu/class/spring2003/cmsc838p/Process/waterfall.pdf “Managing the Development of Large Software Systems”] which outlined his ideas on sequential development. In essence, his presentation asserted that a project could be developed much like an automobile on an assembly line, in which each piece is added in sequential phases. This means that every phase of the project must be completed before the next phase can begin. Thus, developers first gather all of a project’s requirements, then complete all of its architecture and design, then write all of the code, and so on. There is little, if any, communication between the specialized groups that complete each phase of work. | "In 1970, [http://en.wikipedia.org/wiki/Winston_W._Royce Dr. Winston Royce] presented a paper entitled [http://www.cs.umd.edu/class/spring2003/cmsc838p/Process/waterfall.pdf “Managing the Development of Large Software Systems”] <ref>http://www.cs.umd.edu/class/spring2003/cmsc838p/Process/waterfall.pdf</ref>which outlined his ideas on sequential development. In essence, his presentation asserted that a project could be developed much like an automobile on an assembly line, in which each piece is added in sequential phases. This means that every phase of the project must be completed before the next phase can begin. Thus, developers first gather all of a project’s requirements, then complete all of its architecture and design, then write all of the code, and so on. There is little, if any, communication between the specialized groups that complete each phase of work."<ref name = "agile3">http://agilemethodology.org/</ref> | ||
====Advantage of agile methodology==== | ====Advantage of agile methodology==== | ||
* The most important characteristics of Agile methodology is that it is adaptive, making the team is able to respond to the change of requirements. We know that it is a quite common thing for requirements to get changed when developing a software. | |||
* The team does not have to invest time and effort and finally find that by the time they delivered the product, the requirement of the customer has changed. | * The team does not have to invest time and effort and finally find that by the time they delivered the product, the requirement of the customer has changed. | ||
* | *The close communication from customer and the designer makes all the requirements clear and if somethings changed, the develop team could quickly respond to the change, there is no guesswork here. | ||
* | * No complicated and burdensome documentation, which saves a lot of time when developing software. | ||
* The | * The outcome is always the software that best satisfy the customer, as they closely communicate during the developing proecess. | ||
<br>In a nutshell this means that you | <br>In a nutshell this means that you could quickly start a project, and project scope is flexible which means that you could properly manage the project scope during the developing process. | ||
====Disadvantage of agile methodology==== | ====Disadvantage of agile methodology==== | ||
* In case of some software deliverables, especially the large ones, it is difficult to access the effort required at the beginning of the software development life cycle. | * In case of some software deliverables, especially the large ones, it is difficult to access the effort required at the beginning of the software development life cycle. | ||
* There is lack of emphasis on necessary designing and documentation. | * There is lack of emphasis on necessary designing and documentation. Actually, designing and documentation are important things for software development, they help to different developers to adhere to one "principle policy". | ||
* The project can easily get taken off track if the customer representative is not clear what final outcome that they want. | *Sometimes when we are asked to develop a software, even the clients themselves don't know what kind of final outcome they want. In such scenario , the project can easily go into a total dilemma. | ||
* Only senior programmers | *The project can easily get taken off track if the customer representative is not clear what final outcome that they want. | ||
* | *Only those senior programmers have the ability and power to make some decisions required during the develop process. Thus for those newbie programmer, they have no chances and how they have the opportunity to be an experienced senior programmer? | ||
*For developing large scale software systems, such development methodologies are under critical criticize for their lack of strong planning. | |||
===Heavier-weight Methodology VS Agile Methodology=== | ===Heavier-weight Methodology VS Agile Methodology=== | ||
Line 56: | Line 57: | ||
! Agile Methodology | ! Agile Methodology | ||
! Heavier-weight Methodology | ! Heavier-weight Methodology | ||
| | | | ||
|- | |- | ||
| Requirements | | Requirements | ||
| | | has many changes | ||
| Knowable early, | | Knowable early, stable | ||
|- | |- | ||
| Architecture | | Architecture | ||
| Designed for current requirements | | Designed for current requirements | ||
| Designed for current and | | Designed for current and predicated requirements | ||
|- | |- | ||
| Size | | Size | ||
Line 89: | Line 87: | ||
|} | |} | ||
====The Issue of Heavier-weight Methodology and Agile Methodology==== | ====The Issue of Heavier-weight Methodology and Agile Methodology<ref name = "agile4">http://www.ijcsi.org/papers/IJCSI-8-4-1-441-450.pdf</ref>==== | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 97: | Line 95: | ||
|- | |- | ||
| Development life cycle | | Development life cycle | ||
| | | adaptive and incremental | ||
| Incremental | | Incremental | ||
|- | |- | ||
Line 105: | Line 103: | ||
|- | |- | ||
| Requirements | | Requirements | ||
| | | Many changes discovered during the project. | ||
| Clearly defined and documented | | Clearly defined and documented before the project started | ||
|- | |- | ||
| Documentation | | Documentation | ||
| Light( | | Light(depend on face-to-face communication) | ||
| | | detailed documentation based on requirements | ||
|- | |- | ||
| Team members | | Team members | ||
| | | senior technical staff | ||
| Distributed teams of specialists | | Distributed teams of specialists | ||
|- | |- | ||
| Client Involvement | | Client Involvement | ||
| | | considered as a team member Active/proactive for communication | ||
| Low involvement | | Low involvement | ||
|- | |- | ||
Line 125: | Line 123: | ||
|- | |- | ||
| Measure of success | | Measure of success | ||
| | | final outcome exactly what the client required | ||
| Conformance to plan | | Conformance to plan | ||
Line 136: | Line 134: | ||
====Rational Unified Process==== | ====Rational Unified Process==== | ||
=====Indroduction of RUP===== | =====Indroduction of RUP===== | ||
The [http://en.wikipedia.org/wiki/IBM_Rational_Unified_Process Rational Unified Process (RUP)], | The [http://en.wikipedia.org/wiki/IBM_Rational_Unified_Process Rational Unified Process (RUP)]<ref>http://en.wikipedia.org/wiki/IBM_Rational_Unified_Process</ref>,which comes from Rational Software and later by IBM, is a kind of heavy methodology which can be use to accomodate the change and adaptability during the development process. These are some features of RUP: it use the incremental iterations to build the software. The development disciplines like requirements, analysis, design, and implementation and testing can be parts of the interation. It help successful developing of the software by assign the tasks and responsibilities for the developing teams. | ||
=====The Main Goal of RUP===== | =====The Main Goal of RUP===== | ||
RUP can product the high-quality software for its end-users in a predicatable shcedule and budget. RUP needs some guildlines for best pratices<ref name = "agile4" />: | |||
* Develop software iteratively | * Develop software iteratively | ||
* Manage requirements | * Manage requirements | ||
Line 148: | Line 146: | ||
=====The Phases of RUP===== | =====The Phases of RUP===== | ||
[[File:Phase.jpg| | [[File:Phase.jpg|280px|right|The Phases of RUP]] | ||
RUP has a series of phases as follows: | RUP has a series of phases as follows:<ref name = "agile4" /> | ||
* '''Inception: | * '''Inception: ''' In this phase, we should caculate some risks we may face in the future and the costs, eviroment, eviroment ect. | ||
* '''Elaboration: | * '''Elaboration:''' This phase require us know what needs us to build, and we also should know the detail, make sure the architecture will work in future. | ||
* '''Construction: | * '''Construction:''' In this phase we should build the product according to the documentation required and build the supporting documentation. | ||
* '''Transition: | * '''Transition: ''' In this phase the product will release to the user for user tested, we should correct the bug in this phase for future deploying. | ||
<br>'''Notes:'''The picture cites from <ref name = "agile4" /> | |||
<br style="clear:both;"> | <br style="clear:both;"> | ||
=====Usage of RUP Model===== | =====Usage of RUP Model===== | ||
Below is some usage of RUP Model:<ref name = "agile4" /> | |||
* Distributed systems | * Distributed systems | ||
* Very large or complex systems | * Very large or complex systems | ||
Line 165: | Line 165: | ||
====Spiral Model==== | ====Spiral Model==== | ||
=====Indroduction of Spiral Model===== | =====Indroduction of Spiral Model===== | ||
[http://en.wikipedia.org/wiki/Spiral_model Spiral Model] is | [http://en.wikipedia.org/wiki/Spiral_model Spiral Model]<ref>http://en.wikipedia.org/wiki/Spiral_model</ref> is also known as Boehm's model, by use the advantages of the top-down and bottom-up concepts we can represent the process like a spiral, which quite different with sequence we use in the waterfall model. | ||
=====Processes in Spiral Model===== | =====Processes in Spiral Model===== | ||
[[File:Spiral model.jpg|280px|right|Spiral model]] | [[File:Spiral model.jpg|280px|right|Spiral model]] | ||
There are four processes in spiral model: | |||
*'''Objective setting:''' | There are four processes in spiral model: <ref name = "agile4" /> | ||
*'''Risk assessment and reduction:''' | *'''Objective setting:''' We should know what to build and what the goal of project in this process. | ||
*'''Development and Validation:''' | *'''Risk assessment and reduction:''' We should calculate the key risks we may face in the future work and try our best to reduce the risks. | ||
*'''Planning:''' | *'''Development and Validation:''' After we resolve all risks of the project, we should choose an appropriate model for our future development. | ||
*'''Planning:''' In this phase, we should review the current round of our project and make planning for the spiral next round. | |||
<br style="clear:both;"> | <br style="clear:both;"> | ||
<br>'''Note:''' The picture cites from <ref>http://en.wikipedia.org/wiki/File:Spiral_model_(Boehm,_1988).png</ref> | |||
=====Usage of Spiral Model===== | =====Usage of Spiral Model===== | ||
Spiral model may be a better choose for usage in the situations below: <ref name = "agile4" /> | |||
* | *In a large projects that with high budget. | ||
* | *The risk assessment plays an important role in the whole project. | ||
* Requirements are not very clearly defined and | * Requirements are not very clearly defined and complex. | ||
complex. | *The requirements need to change all the procedure. | ||
* | *For projects with high risk. | ||
* For | |||
===Agile methodology=== | ===Agile methodology=== | ||
====Extreme Programming(XP)==== | ====Extreme Programming(XP)==== | ||
=====Indroduction of Extreme Programming(XP)===== | =====Indroduction of Extreme Programming(XP)===== | ||
[http://en.wikipedia.org/wiki/Extreme_programming Extreme Programming(XP)] | One of the important agile methodology example is [http://en.wikipedia.org/wiki/Extreme_programming Extreme Programming(XP)]. It was created by Kent Beck in his C3 project. The goal for Extreme Programming(XP) is to provide high quality software to the user. It consists the following terms to make sure the software productive by this model. Such like The Planning Process, Small Releases, Metaphor etc. With these terms and practices, the programmer can make change to the environment quickly. | ||
=====XP Terms and Practices===== | =====XP Terms and Practices===== | ||
[[File:Life xp.jpg|400px|right|Life cycle of ]] | [[File:Life xp.jpg|400px|right|Life cycle of ]] | ||
A summary of XP terms and practices is listed below: | A summary of XP terms and practices is listed below:<ref name = "agile5"> http://www.webopedia.com/TERM/E/Extreme_Programming.html </ref> | ||
*'''The Planning Process:''' | *'''The Planning Process:''' Sometimes we also call this stage as Planning Game. In this stage, the programmer will communicate with the customer and the programmer will determine which the key factor for the project is. | ||
*'''Small Releases:''' | *'''Small Releases:''' Divide the software into small stages that updated very often mostly like every two weeks. | ||
*'''Metaphor:''' | *'''Metaphor:''' The guys who in the same XP team should use the common names and description and they will use the common terms in communicating in the development process. | ||
*'''Simple Design:''' | *'''Simple Design:'''In this stage the software just includes the essential part of the component to fulfill the customer needed. We do not emphasis on building for future versions of the product in this phase. | ||
*'''Testing:''' | *'''Testing:'''In this stage the programmer should design some test case that can be fulfill the requirement of the customer. And the customer also need to use the acceptance tests to make sure that they get the results they intent to. | ||
*'''Refactoring:''' | *'''Refactoring:'''The programmers improve the software all the time in the developing process instead of correct all the mistakes in the “last minutes”. | ||
*'''Pair Programming:''' | *'''Pair Programming:'''It needs a pair of the programmers to working in the same code. | ||
*'''Collective Ownership:''' | *'''Collective Ownership:'''The code is belongs to all the programmers working on the project, so if everyone can change the code when it needs without delay. | ||
*'''Continuous Integration:'''The | *'''Continuous Integration:'''The software system should be integrated multiple times a day to make sure that every programmer at the same stage of the development process. | ||
*'''40-Hour Week:''' | *'''40-Hour Week:'''XP team members work 40-hour a week to make sure that the team could work effectively. | ||
*'''On-Site Customer:'''The | *'''On-Site Customer:'''The customer is available all the time to answer the problem to help the XP team to fulfill the requirement of the customer. | ||
*'''Coding Standard:''' | *'''Coding Standard:'''All the code should be wrote in the same way which will be convenience for the pair working programming to share their code. | ||
<br style="clear:both;"> | <br style="clear:both;"> | ||
<br>'''Notes:'''The picture cites from <ref name = "agile4" /> | |||
====Crystal==== | ====Crystal==== | ||
=====Indroduction of Crystal===== | =====Indroduction of Crystal===== | ||
[http://alistair.cockburn.us/Crystal+methodologies Crystal Methodologies] is a family of methodologies | [http://alistair.cockburn.us/Crystal+methodologies Crystal Methodologies] is developed by Alistair Cockburn. The Crystal Methodologies means a family of methodologies, such as Crystal Yellow, Crystal Orange, Crystal Clear, etc. “Crystal” means that the degree of hardness and the different colors of the methodology. So crystal can have different degree of hardness and different colors. | ||
=====Features and Restrictions of Crystal===== | =====Features and Restrictions of Crystal===== | ||
[[File:Crystal1.jpg|280px|right|Crystal]] | [[File:Crystal1.jpg|280px|right|Crystal]] | ||
Some key features included in the Crystal, such as teamwork, simplicity, communication and can be adjust to the improving programming process. Crystal has a lot of same features with other agile methodologies, likes high adaptability, customer participating the developing procedure, delivery of current working software frequently, etc. | |||
===== | <br>Crystal methods can be presented by colors. Clear, Yellow, Orange, Orange Web, Red, Magenta, and Blue are the methods. But we only use the Crystal Clear, Orange and Orange Web on projects since only the three method have been constructed.<ref name = "agile7"/> | ||
<br>One of the restrictions of the Crystal methods is that it is not suitable to work in multiple locations. Thus Cockburn suggest that the team use Crystal methods should work together at one location. | |||
'''Notes:'''The picture cites from <ref name = "agile7">Crystal_Methodologies_summary.doc <br> | |||
http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB0QFjAA&url=http%3A%2F%2Futopia.csis.pace.edu%2Fdps%2F2007%2Famannette-wright%2Fdps%2FDCS801_821%2FCrystal_Methodologies_summary.doc&ei=MAfLTpmnMc2gtweg8oi8DA&usg=AFQjCNHcVdz-ehhu7jtPFiihF99TH8O7iQ</ref> | |||
==How to choose methodology?== | ==How to choose methodology?== | ||
What the best model is varies from project to project, | What the best model is varies from project to project, there is no fixed answer for which develop methodologies are good, which are bad. The essential points you’ll need to consider when selecting a methodology are<ref name = "agile2" /> <ref name = "agile6">http://rationalizedthoughts.blogspot.com/2006/03/choose-methodology-that-suits-your.html </ref>: | ||
The essential points you’ll need to consider when selecting a methodology are: | * Budget, what's your estimated budget of the project. | ||
* Budget | * Team size, how many developer will get involved in the develop process. | ||
* Team size | * Technology used, what kind of technology will be used in the project. | ||
* Documentation, will you do a lot of detailed documentation? | |||
* Technology used | * Team members, are your team members all senior developers or are there any newbie programmers? | ||
* Documentation | * project size, is the project a large-scale project or not? | ||
* | * Existing processes, is there any existing processes that could be modified to be applied to the project? | ||
* | * time cost: what's the deliverable time for the project? How much time do you have to develop the project? | ||
* | * Software, what kind of software you will develop. | ||
* | |||
* Software | |||
==When to Avoid the Agile Methodology== | ==When to Avoid the Agile Methodology== | ||
Some situations should avoid Agile Methodology if | Some situations should avoid Agile Methodology if: | ||
* | *The requirements, design, code and testing case need to be formally documented during each phase of the software life cycle. | ||
From above discuss, we know that for those application with changeable process doesn't need to get detailed documentation during each phase during software life cycle, they rely mostly on face-to-face communication. However, when developing those infrastructure applications <ref name = "agile5"> http://it.toolbox.com/wiki/index.php/Know_when_to_not_use_agile_methodology </ref>, detailed documentation at each phase is important. These applications need to go step by step, and the documentation at each phase inherit from its predecessors. | |||
These applications | * Every step could be started only when its previous have been successfully finished and approved until deliverable. | ||
* | It means we need to set milestone for each phase, and only when the step has successfully finished and meet the mile store, we could go on to the following. They may slow the project and could ensure that every milestone has been successfully achieved. Thus for those applications requiring phase-end reviews <ref name = "agile5" />may not suitable for agile-method. | ||
* Your team members has many newbie programmers | |||
For those applications using agile methodologies, important decisions could only be made by those senior developers. So, if your develop team consists of many newbie programmers, they may make a lot of wrong decisions for lacking of experiences. This may great increase the cost of time on the project and could lead to the bad communication between developer and customer. | |||
* | * customer could not involve during the develop process | ||
We know that agile methodologies require the customer act as part of the project team, it greatly rely on face-to-face communication. If the customer could not do like this, we may avoid using agile methodologies or we may have higher risks for getting unexpected results. | |||
==Conclusion== | ==Conclusion== | ||
Agile | Agile methodologies demand that the client is involved as part of the team during the software develop process. This is of course great if the client want to get involved, however it is not the case in real world. A software, especially those large scale software, need a long development life cycle, not all the clients have that much time to take part in the development process. Agile methodologies allow change, and there are sufficient communication between customers and developers such that the developers are delivering software that is definitely what the customer required, and it could essentially reduce the time for developing those functionality not being used. | ||
<br>Heavyweight methodologies sometimes could be a better choice. Consider a scenario that you have multiple teams working at different locations, you may want to have a "principle guidelines" that make all the developer adhere to it thus avoiding going to the wrong way.Also, heavyweight methodologies requires detailed documentation at every stage, it helps better understand the requirements of the project. | |||
<br>How to correctly select a methodologies to develop software is to a great degree dependant on having a clear understanding of the particular develop groups and types of development models. This is of great importance and make the develop team choose a methodologies that meet the needs of the customer requirements and their capacity. | |||
==References== | |||
<references> | |||
</references> | |||
Latest revision as of 03:48, 22 November 2011
Introduction
The concept of heavier-weight methodology
Traditional methodology which is also known as Heavyweight development methodology that is based on a sequential series of steps, such as requirements definition, solution build, testing and deployment. Heavyweight development methodology mainly focuses detailed documentation, inclusive planning, and extroverted design, its typical example is waterfall model.
The concept of agile methodology
Agile methodology(Lightweight Methodology) is an iterative and incremental approach to project management, typically used in software development. It helps teams respond to the changes of building software quickly and efficiently . <ref name = "agile1">http://acm.web.auth.gr/2011/03/03/agile-methodology/</ref>
Overview of this article
In section 2 we introduce the comparison between heavier-weight methodologies and agile methodologies, we provide both advantages and disadvantages for both heavier-weight methodologies and agile methodologies. In sections 3, we provide the examples for both heavier-weight and agile methodologies. In sections 4, we discuss how to choose methodologies when developing software. Sections 5 tells under which situation you could avoid using agile methodologies.
Compare with the heavier-weight methodology and agile methodology
Heavier-weight methodology
Heavyweight methodology<ref name = "agile2">http://www.techrepublic.com/article/heavyweight-vs-lightweight-methodologies-key-strategies-for-development/5035285</ref>:
- A heavyweight methodology which is composited with rules, practices, and documents makes us discipline and time to follow correctly.
- Heavyweight methodologies focus in the great detail of the project.
- The specifications, reports, plans, schedules and checkpoints is required by the lead managers.
- For the reason that the heavyweight methodology plans about the requirements, design, etc. before the project is actually started, so the project managers who use heavyweight methodologies will resist change.
- Requirements, solution build, testing and deployment are always the basic steps for the heavyweight development methodology.
- Rational Unified Process is one of the widely used example of “heavyweight” methodology.
- If the project needs multiple teams working at several locations, and you need them to work tighter to develop some core parts of the project, in such condition heavyweight methodologies can be a better choice, because they could adhere to the requirements, design documentation, which will avoid that they work in wrong direction because of inconvenience communication.
Advantage of heavier-weight methodology
- It is a clear and powerful method for software development, many big corporations use this method to develop software. It clearly defines software development life cycle, which help a new developer better know how to develop the software.
- Because we have clear stated what to do before the project actually start, this will save us time to do only those that we actually required. It always happen that a project team do a lot of effort to code and then later found out that it's not required at all. So using this method and adhering closely to documentation, It will avoid of those useless effort.
- The project stakeholders are forced to clearly and correctly define the business requirements documentations. Also, developers are forced to completely understand the requirements before starting doing the high level design and coding. Without thoroughly understand the requirements, they will fail to meed the corresponding milestone and fail to continue the project.
- Actually, making documentation at every state is an very essential step. It helps better understand the requirements, design the code , write code and design test on the software.
Disadvantage of heavier-weight methodology
The traditional project methodologies that many top corporations use, such as the SDLC approach, are considered to be bureaucratic or “predictive” in nature, and they’ve resulted in many unsuccessful projects. These “heavyweight” methodologies are becoming increasingly unpopular. They can be so laborious that the whole pace of design, development, and deployment actually slows down.<ref name = "agile2"/>
Heavyweight methodologies try to plan majority part of the project in great detail.it assumes that every requirement of the project can be identified before any design or coding occurs Project managers need to predict predict every project milestones because they need those technical details, which result in a large number of documentation, such as plans, report, and schedules. However, we know, when doing a project, there are always a lot of changes, such as that the client may change their requirements, then all the schedules, checkpoints made for the project need to get changed. So making all the details for a project before actually starting the project is not an effective way.
Heavyweight development methodology is based on a sequential series of steps, such as requirements, solutions, testing and deployment, which means that every step could only be started with the finish of previous step, while the lightweight methodologies propose to execute the project steps in parallel.
Agile methodology
"In 1970, Dr. Winston Royce presented a paper entitled “Managing the Development of Large Software Systems” <ref>http://www.cs.umd.edu/class/spring2003/cmsc838p/Process/waterfall.pdf</ref>which outlined his ideas on sequential development. In essence, his presentation asserted that a project could be developed much like an automobile on an assembly line, in which each piece is added in sequential phases. This means that every phase of the project must be completed before the next phase can begin. Thus, developers first gather all of a project’s requirements, then complete all of its architecture and design, then write all of the code, and so on. There is little, if any, communication between the specialized groups that complete each phase of work."<ref name = "agile3">http://agilemethodology.org/</ref>
Advantage of agile methodology
- The most important characteristics of Agile methodology is that it is adaptive, making the team is able to respond to the change of requirements. We know that it is a quite common thing for requirements to get changed when developing a software.
- The team does not have to invest time and effort and finally find that by the time they delivered the product, the requirement of the customer has changed.
- The close communication from customer and the designer makes all the requirements clear and if somethings changed, the develop team could quickly respond to the change, there is no guesswork here.
- No complicated and burdensome documentation, which saves a lot of time when developing software.
- The outcome is always the software that best satisfy the customer, as they closely communicate during the developing proecess.
In a nutshell this means that you could quickly start a project, and project scope is flexible which means that you could properly manage the project scope during the developing process.
Disadvantage of agile methodology
- In case of some software deliverables, especially the large ones, it is difficult to access the effort required at the beginning of the software development life cycle.
- There is lack of emphasis on necessary designing and documentation. Actually, designing and documentation are important things for software development, they help to different developers to adhere to one "principle policy".
- Sometimes when we are asked to develop a software, even the clients themselves don't know what kind of final outcome they want. In such scenario , the project can easily go into a total dilemma.
- The project can easily get taken off track if the customer representative is not clear what final outcome that they want.
- Only those senior programmers have the ability and power to make some decisions required during the develop process. Thus for those newbie programmer, they have no chances and how they have the opportunity to be an experienced senior programmer?
- For developing large scale software systems, such development methodologies are under critical criticize for their lack of strong planning.
Heavier-weight Methodology VS Agile Methodology
The Difference Between Heavier-weight Methodology and Agile Methodology
Differences | Agile Methodology | Heavier-weight Methodology | |
---|---|---|---|
Requirements | has many changes | Knowable early, stable | |
Architecture | Designed for current requirements | Designed for current and predicated requirements | |
Size | Smaller Team and Products | Larger Team and Products | |
Primary objective | Rapid value | High assurance | |
Developers | Knowledgeable,collocated,collaborative | Plan-driven,adequate skills,access to external knowledge. | |
Release cycle | In phases (multiple cycles) | Big bang (all functionality at once) |
The Issue of Heavier-weight Methodology and Agile Methodology<ref name = "agile4">http://www.ijcsi.org/papers/IJCSI-8-4-1-441-450.pdf</ref>
Issue | Agile Methodology | Heavier-weight Methodology |
---|---|---|
Development life cycle | adaptive and incremental | Incremental |
Style of development | Adaptive | Anticipatory |
Requirements | Many changes discovered during the project. | Clearly defined and documented before the project started |
Documentation | Light(depend on face-to-face communication) | detailed documentation based on requirements |
Team members | senior technical staff | Distributed teams of specialists |
Client Involvement | considered as a team member Active/proactive for communication | Low involvement |
Market | Dynamic/Early market | Mature/Main Street market |
Measure of success | final outcome exactly what the client required | Conformance to plan |
Example
Heavier-weight methodology
Rational Unified Process
Indroduction of RUP
The Rational Unified Process (RUP)<ref>http://en.wikipedia.org/wiki/IBM_Rational_Unified_Process</ref>,which comes from Rational Software and later by IBM, is a kind of heavy methodology which can be use to accomodate the change and adaptability during the development process. These are some features of RUP: it use the incremental iterations to build the software. The development disciplines like requirements, analysis, design, and implementation and testing can be parts of the interation. It help successful developing of the software by assign the tasks and responsibilities for the developing teams.
The Main Goal of RUP
RUP can product the high-quality software for its end-users in a predicatable shcedule and budget. RUP needs some guildlines for best pratices<ref name = "agile4" />:
- Develop software iteratively
- Manage requirements
- Use component-based architectures
- Visual model software
- Verify software quality
- Control changes to software
The Phases of RUP
RUP has a series of phases as follows:<ref name = "agile4" />
- Inception: In this phase, we should caculate some risks we may face in the future and the costs, eviroment, eviroment ect.
- Elaboration: This phase require us know what needs us to build, and we also should know the detail, make sure the architecture will work in future.
- Construction: In this phase we should build the product according to the documentation required and build the supporting documentation.
- Transition: In this phase the product will release to the user for user tested, we should correct the bug in this phase for future deploying.
Notes:The picture cites from <ref name = "agile4" />
Usage of RUP Model
Below is some usage of RUP Model:<ref name = "agile4" />
- Distributed systems
- Very large or complex systems
- Systems combining several business areas
- Systems reusing other systems
- Distributed development of a system
Spiral Model
Indroduction of Spiral Model
Spiral Model<ref>http://en.wikipedia.org/wiki/Spiral_model</ref> is also known as Boehm's model, by use the advantages of the top-down and bottom-up concepts we can represent the process like a spiral, which quite different with sequence we use in the waterfall model.
Processes in Spiral Model
There are four processes in spiral model: <ref name = "agile4" />
- Objective setting: We should know what to build and what the goal of project in this process.
- Risk assessment and reduction: We should calculate the key risks we may face in the future work and try our best to reduce the risks.
- Development and Validation: After we resolve all risks of the project, we should choose an appropriate model for our future development.
- Planning: In this phase, we should review the current round of our project and make planning for the spiral next round.
Note: The picture cites from <ref>http://en.wikipedia.org/wiki/File:Spiral_model_(Boehm,_1988).png</ref>
Usage of Spiral Model
Spiral model may be a better choose for usage in the situations below: <ref name = "agile4" />
- In a large projects that with high budget.
- The risk assessment plays an important role in the whole project.
- Requirements are not very clearly defined and complex.
- The requirements need to change all the procedure.
- For projects with high risk.
Agile methodology
Extreme Programming(XP)
Indroduction of Extreme Programming(XP)
One of the important agile methodology example is Extreme Programming(XP). It was created by Kent Beck in his C3 project. The goal for Extreme Programming(XP) is to provide high quality software to the user. It consists the following terms to make sure the software productive by this model. Such like The Planning Process, Small Releases, Metaphor etc. With these terms and practices, the programmer can make change to the environment quickly.
XP Terms and Practices
A summary of XP terms and practices is listed below:<ref name = "agile5"> http://www.webopedia.com/TERM/E/Extreme_Programming.html </ref>
- The Planning Process: Sometimes we also call this stage as Planning Game. In this stage, the programmer will communicate with the customer and the programmer will determine which the key factor for the project is.
- Small Releases: Divide the software into small stages that updated very often mostly like every two weeks.
- Metaphor: The guys who in the same XP team should use the common names and description and they will use the common terms in communicating in the development process.
- Simple Design:In this stage the software just includes the essential part of the component to fulfill the customer needed. We do not emphasis on building for future versions of the product in this phase.
- Testing:In this stage the programmer should design some test case that can be fulfill the requirement of the customer. And the customer also need to use the acceptance tests to make sure that they get the results they intent to.
- Refactoring:The programmers improve the software all the time in the developing process instead of correct all the mistakes in the “last minutes”.
- Pair Programming:It needs a pair of the programmers to working in the same code.
- Collective Ownership:The code is belongs to all the programmers working on the project, so if everyone can change the code when it needs without delay.
- Continuous Integration:The software system should be integrated multiple times a day to make sure that every programmer at the same stage of the development process.
- 40-Hour Week:XP team members work 40-hour a week to make sure that the team could work effectively.
- On-Site Customer:The customer is available all the time to answer the problem to help the XP team to fulfill the requirement of the customer.
- Coding Standard:All the code should be wrote in the same way which will be convenience for the pair working programming to share their code.
Notes:The picture cites from <ref name = "agile4" />
Crystal
Indroduction of Crystal
Crystal Methodologies is developed by Alistair Cockburn. The Crystal Methodologies means a family of methodologies, such as Crystal Yellow, Crystal Orange, Crystal Clear, etc. “Crystal” means that the degree of hardness and the different colors of the methodology. So crystal can have different degree of hardness and different colors.
Features and Restrictions of Crystal
Some key features included in the Crystal, such as teamwork, simplicity, communication and can be adjust to the improving programming process. Crystal has a lot of same features with other agile methodologies, likes high adaptability, customer participating the developing procedure, delivery of current working software frequently, etc.
Crystal methods can be presented by colors. Clear, Yellow, Orange, Orange Web, Red, Magenta, and Blue are the methods. But we only use the Crystal Clear, Orange and Orange Web on projects since only the three method have been constructed.<ref name = "agile7"/>
One of the restrictions of the Crystal methods is that it is not suitable to work in multiple locations. Thus Cockburn suggest that the team use Crystal methods should work together at one location.
Notes:The picture cites from <ref name = "agile7">Crystal_Methodologies_summary.doc
http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB0QFjAA&url=http%3A%2F%2Futopia.csis.pace.edu%2Fdps%2F2007%2Famannette-wright%2Fdps%2FDCS801_821%2FCrystal_Methodologies_summary.doc&ei=MAfLTpmnMc2gtweg8oi8DA&usg=AFQjCNHcVdz-ehhu7jtPFiihF99TH8O7iQ</ref>
How to choose methodology?
What the best model is varies from project to project, there is no fixed answer for which develop methodologies are good, which are bad. The essential points you’ll need to consider when selecting a methodology are<ref name = "agile2" /> <ref name = "agile6">http://rationalizedthoughts.blogspot.com/2006/03/choose-methodology-that-suits-your.html </ref>:
- Budget, what's your estimated budget of the project.
- Team size, how many developer will get involved in the develop process.
- Technology used, what kind of technology will be used in the project.
- Documentation, will you do a lot of detailed documentation?
- Team members, are your team members all senior developers or are there any newbie programmers?
- project size, is the project a large-scale project or not?
- Existing processes, is there any existing processes that could be modified to be applied to the project?
- time cost: what's the deliverable time for the project? How much time do you have to develop the project?
- Software, what kind of software you will develop.
When to Avoid the Agile Methodology
Some situations should avoid Agile Methodology if:
- The requirements, design, code and testing case need to be formally documented during each phase of the software life cycle.
From above discuss, we know that for those application with changeable process doesn't need to get detailed documentation during each phase during software life cycle, they rely mostly on face-to-face communication. However, when developing those infrastructure applications <ref name = "agile5"> http://it.toolbox.com/wiki/index.php/Know_when_to_not_use_agile_methodology </ref>, detailed documentation at each phase is important. These applications need to go step by step, and the documentation at each phase inherit from its predecessors.
- Every step could be started only when its previous have been successfully finished and approved until deliverable.
It means we need to set milestone for each phase, and only when the step has successfully finished and meet the mile store, we could go on to the following. They may slow the project and could ensure that every milestone has been successfully achieved. Thus for those applications requiring phase-end reviews <ref name = "agile5" />may not suitable for agile-method.
- Your team members has many newbie programmers
For those applications using agile methodologies, important decisions could only be made by those senior developers. So, if your develop team consists of many newbie programmers, they may make a lot of wrong decisions for lacking of experiences. This may great increase the cost of time on the project and could lead to the bad communication between developer and customer.
- customer could not involve during the develop process
We know that agile methodologies require the customer act as part of the project team, it greatly rely on face-to-face communication. If the customer could not do like this, we may avoid using agile methodologies or we may have higher risks for getting unexpected results.
Conclusion
Agile methodologies demand that the client is involved as part of the team during the software develop process. This is of course great if the client want to get involved, however it is not the case in real world. A software, especially those large scale software, need a long development life cycle, not all the clients have that much time to take part in the development process. Agile methodologies allow change, and there are sufficient communication between customers and developers such that the developers are delivering software that is definitely what the customer required, and it could essentially reduce the time for developing those functionality not being used.
Heavyweight methodologies sometimes could be a better choice. Consider a scenario that you have multiple teams working at different locations, you may want to have a "principle guidelines" that make all the developer adhere to it thus avoiding going to the wrong way.Also, heavyweight methodologies requires detailed documentation at every stage, it helps better understand the requirements of the project.
How to correctly select a methodologies to develop software is to a great degree dependant on having a clear understanding of the particular develop groups and types of development models. This is of great importance and make the develop team choose a methodologies that meet the needs of the customer requirements and their capacity.
References
<references> </references>