|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
Note: This is an unedited contribution. If this article is inappropriate,
needs attention or copies someone else's work without reference then please
Report This Article
Table of Contents
IntroductionThis article is a quick FAQ of Agile. By reading this you will understand fundamentals of Agile and different ways of implementing Agile. Par1 Agile FAQ :- http://www.codeproject.com/KB/aspnet/AgilePart1.aspx. Can you explain the concept of refactoring?If you read the XP life cycle one of the things after we implement the task is code refactoring. Refactoring the process of changing the software in such a way that it does not change the behavior of the code but on the other hand improves the internal structure. No code can be perfect with architecture, coding conventions, high reusability at the first level itself. Normally it improves over the time. It helps developers to implement the necessary solution today and improve / make the code better tomorrow. Refactoring is the process of changing the system to improve the internal structure with out changing what the system does. Below are three major activities performed during refactoring. Simplify complex codeXP is all about light-weight and simplicity. This holds true not only for a process but also for coding. When you see a code can be simplified, discuss the same with your pair developer and implement the same. For instance below is code which was further simplified in to one equation: Figure: - Simplify Code Move similar operations in to reusable code. Figure: - Reusable code Remove duplications and redundancyWhen a project has constrained time lines it’s very much possible that project can have lot of duplications. So when developers have executed the task they can review for these kinds of duplications. For example the below figure ‘Remove duplication’ shows how the phone number duplication is removed from the customer table. The customer table had repetitive fields like mobile number, land line and office number. In abstract terms these represent telephone numbers. So we split the customer table in to two tables one is the customer table and the other is customerphone and built a relationship between them. Figure: - Remove Duplication Below is again one more scenario where we have an invoice class which has two methods (“ Figure: - Code Duplication No Code is perfect it has to be made perfect
Figure: - Feature In short it’s not necessary that a feature maps with use case or a user story. It should also be planned and manageable. Feature are delivered in a given time box (we will discuss this in detail in the coming sections). Can you explain the overall structure of FDD project?FDD is an iterative methodology to deliver projects. Rather than delivering projects in one go manner we deliver the features with in time limits. So let’s understand how the FDD cycle moves. We will have two views one is the over all flow and one is the detail iteration flow.
Figure: - Structure of a FDD project The above defined FDD cycle is an overall view. Let’s go deep in to how every iteration will be executed. Below figure ‘Steps in Iteration’ shows how an iteration execution happens in a detailed manner.
Figure: - Steps in a Iteration Testing is done at end of each iteration. This ensures frequent checks on each deliverable of every iteration. Can you explain the concept of time boxing?Every iteration in FDD has to be limited to some kind of timelines. Deciding the length of timelines for every iteration is termed as time boxing. Same has been explained the previous question in a detailed manner. When to choose FDD and when to choose XP?Iteration in XP is small i.e. between 1 to 4 weeks. This iteration sounds good for smaller projects, but when it comes to large projects, iteration go in months. That’s where FDD comes under picture. Iterations in FDD can go in months and probably years. What is SCRUM?SCRUM is a methodology which believes rapid changes of customer can not be solved by traditional approach. So it adopts an empirical approach where it believes problem can not be understood or defined. Rather concentrate on the team’s ability to respond to the emerging requirements. What does product owner, product back log and sprint mean in SCRUM?Before we understand the SCRUM cycle let’s get familiar with some terms regarding SCRUM.
Below figure ‘Product Catalog and Sprint’ shows a typical product catalog broken in to sprint. In the left hand side of the figure we have shown two items in the product back log “Create Customer” and “Create Supplier”. To complete “Create Customer” the developer need to the following sprint task “Code Business Logic”, “Design UI” and “Prepare Test Plans”. Figure: - Product Catalog and Sprint Can you explain how SCRUM flows?Below figure ‘SCRUM Flow’ shows how the development flow moves in a project. We will understand the SCRUM flow step by step. Step 1:- Product owner (i.e. the customer) creates a list of product log (list of functionalities). Step 2 and 3:- In these phases we sit with the customer and prioritize the product catalog. We discuss with the customer which functionality is must and must be delivered first. Step 4 and 5:- In both these phases we breakdown the product catalog in to tasks called as sprint backlog. Step 6:- We start executing the sprint task and monitoring the sprint activity. Step 7 and 8:- Once we are done with the sprint activity, we take the next sprint / task by again going to the sprint phase. Step 9:- If there are no more sprint / task the product log is completed, which means the project is completed. Figure: - SCRUM Flow Can you explain different roles in SCRUM?SCRUM has some different terminologies when it comes to role names in SCRUM. Below is the list of roles with what actually they mean. Figure: - SCRUM Roles Can you explain DSDM?DSDM also termed as Dynamic Systems Development Method has the following characteristics:-
Figure: - DSDM Characteristics Can you explain different phases in DSDM?DSDM has three basic phases Pre-project, Project life cycle and Post project phase.
Figure: - DSDM Phases Can you explain in detail project life cycle phase in DSDM?There are in all five phases in DSDM project life cycle:-
Figure: - DSDM Project Life Cycle Can you explain LSD?Lean software development has derived its principles from lean manufacturing. Figure: - Principles of LSD Let’s understand in brief about the principles. Eliminate waste: - Only deliver what’s needed to the end user. Anything more than that is a waste. In short anything which does not add value is a waste. In short we can by pass tasks and still deliver then it should be bypassed. Decide as late as possible: - Software systems are complex. The more they are near to execution more is the clarity. So delay decisions so that they can be based in facts rather than assumptions. For instance your team decides to use automation testing, but when you complete execution you come to know changes are delivered every day by the developer. After execution you conclude manual testing is the best option. Bad part will be if you have already bought an automation tool, its waste of money. Deliver as fast as possible: - faster a product is delivered, faster you will get user response and faster you can improve in the next iteration. The concept is not fast coding, but try to deliver is small user identified chunks for better understanding. Motivate team: - Team members are the most important aspect for success of any project. Motivate them, given them roles; keep your team spirit high and whatever you can do to make them feel good in the project. A highly motivated team delivers project on time. Integrity: - Software system should be delivered in loosely coupled components. Every component or module can function individually and when integrated with the project it works perfectly well. It should be a plug and play from the end user point of view. This spirit is derived from how actual production system work. You can assemble a car with wheels from one organization and seats from other organization. Can you explain ASD?ASD (Adaptive Software Development) accepts that change is a truth. It also accepts in principles that mistakes can happen and it’s important to learn from those mistakes in the future. Below figure ‘ASD Cycle’ shows three important phases in ASD. Figure: - ASD Cycle Let’s understand all the three phases in a detail manner. Speculate (nothing but planning):- This is the planning phase of ASD cycle. Below figure ‘Speculate’ shows in detail what happens in this phase. Define Project Scope: - This is the first phase in the main speculate phase. In this we set the main goals and what’s the scope of the entire project. Set Time for Scope: - Timelines are decided for the scope identified in the previous phase. Decide the number of iterations: - Depending on the time lines and the scope we identify how many iterations will the project have. Break Scope to tasks: - In this section we break the scope in to tasks. Tasks are nothing but development activity which a developer has to do to complete the scope. Assign task to developers: - Assign those task to developer. Figure: - Speculate Collaborate (coding / execution):-Execute as per the task and test it. Learn (Review and give feedback to planning):- At the end of iteration see what lessons we have learnt and apply the same for the next iteration. NoteFrom all the methodologies shown above, XP is the most used for Agile. One of the important points to be noted about all the XP methodologies described above is that every body believes in accepting change. Principles of all the agile methodologies are more or less same. So do not get confused just understand what every methodology concentrates on. For instance FDD plans around features, Scrum uses product owner and catalog for describing a project, DSDM gives importance to RAD. So understand the main theme of the methodologies but yes the common acceptance is every one believes on ‘Accepting Changes’.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||