Complex projects force us to undertake activities that are more difficult than ones we have successfully completed before. On such projects, we must attempt the impossible, or at least the nearly impossible. Those who aspire to be successful with complex projects must be able to manage risk and tolerate change. While climbing involves more risk than a Sunday morning golf outing, it is less risky than non-climbers perceive. Climbers must learn to manage risk and tolerate environmental change, or they become ex-climbers.

Because climbers routinely attempt the unattainable, they have developed techniques to increase the likelihood of success. The technique rock climbers have perfected is called redpointing.

Unlike traditional on-site climbing, which has the climber starting at the bottom and climbing to the top, periodically placing protective anchors along the way, and attempting climbs only incrementally more difficult than ones previously completed, redpointing involves having the climber learn how to execute a climb through repeated ascents of the same terrain. The technique allows the climber to practice difficult moves and provides an opportunity to make mistakes and learn from them. Eventually, the climber must complete the entire climb—just as in an on-site ascent—but the difference is in the repetition of moves.

Redpointing conditions the climber, who practices a move, or a series of moves, over and over—until the body knows. It provides a technique for learning what Dale Goddard and Udo Neumann call motor engrams. As defined in Performance Rock Climbing,

Engrams are complete records of movements we’ve made. More important, they’re also the instruction manuals for reproducing the same movements at will. Engrams contain all the directions necessary to reproduce living versions of moves stored in memory. You could think of an engram as a packet of preset muscle instructions on how to reproduce a particular move.

—D. Goddard and U. Neumann [ 1993 ], p. 15.

Climbing above one’s limit requires knowing the sequence of every handhold and every foothold, how much effort to use on every hold, how much body tension to exert, each subtle weight shift—and more. This type of learning is only accomplished by repetition, and can take days, weeks, or even years. In fact, Goddard worked on redpointing a climb at Smith Rocks in Oregon, the hardest climb in the country, off and on for three years.

Redpointing makes the seemingly impossible possible. Typically, climbers can redpoint climbs one to two grades harder than they can accomplish on a traditional, bottom-to-top, on-site climb. By dividing a climb into small sections and repeating moves until they are familiar with them, climbers gain enough knowledge and confidence to complete the climb.

Adaptive development provides a similar technique for approaching very difficult software projects. Adaptive techniques stimulate learning mind engrams, enabling the software engineer to build the knowledge necessary to accomplish complex projects in bite-size, iterative chunks. Traditional software development techniques are analogous to those used in on-site climbing: They leave developers without the benefit of iterative learning. Adaptive practices allow developers to advance or to recede; literally, to back up to find an alternative path. Traditional techniques work as long as the task to be accomplished draws on the developer’s realm of experience, but they don’t allow for the intense learning required to redpoint a tough project that challenges one beyond the limits of one’s experience. Iteration and learning, as we have seen within the context of redpointing, give the developer a better chance for success.

This chapter presents specific adaptive development planning techniques. Adaptive development proceeds in cycles or iterations during periods of time in which both new components and suggested modifications to previously completed components are constructed. The five key characteristics of adaptive development cycles are defined below.

First, adaptive cycles are mission-driven. The mission artifacts identified in Chapter 3 drive the development effort. Second, the cycles are component-based rather than task-based. The focus is on refining the definition of the components—the desired results—not on listing the myriad activities necessary to produce the results. Third, adaptive cycles are iterative. Results are achieved by conducting successive iterations in which the software product converges on an implementation of the desired end-result. Fourth, the cycles are time-boxed. Both the entire project and each individual development cycle are confined to specific time periods. Complexity and uncertainty can lead to indecision and confusion. Time-boxing is a mechanism for forcing hard trade-off decisions and producing tangible results. The fifth and final characteristic is that adaptive cycles are risk-driven and change-tolerant. Risk is the probability of an adverse event impacting a project. Some risks can be mitigated, others occur and cause actual changes. Change-tolerant processes transform changes into an opportunity to gain advantage over a competitor’s less change-tolerant approach.

Characteristics of Adaptive Cycles

Figure 4.1 shows details of the various stages—also called phases—of the Adaptive Development Life Cycle first introduced in Fig. 2.3 . The Speculate stage is divided into a project initiation step—where basic project mission statements, project management information, and initial requirements are developed—and an adaptive cycle planning step—where components are assigned for construction or assembly. The Collaborate stage is divided into cycles, each of which delivers components to the customer. The Learn stage involves the examination of the product from customer- and technical-quality perspectives and also reviews the project team’s performance. The loop arrow shown in the figure would typically be labeled a feedback loop. But feedback implies matching a monitored signal with a reference point and making necessary corrections. A learning loop is more than that because it involves people, the uncertainties of the reference point (the plan), and the difficulties in measuring results. A feedback loop implies simple signals. A learning loop implies complex human interactions. The learning loop is adaptive development’s redpointing technique.

Image

Figure 4.1: The Detailed Adaptive Life Cycle.

Before presenting the steps in adaptive cycle planning, we need to explore in more depth the five characteristics introduced in the preceding section.

Adaptive Cycles Are Mission-Driven

As explained in Chapter 3 , success in adaptive development depends on project team members having a good definition of the project’s mission and a solid sense of direction and purpose in order to focus development. Adaptive cycles enable the project team to explore the mission in more detail and to make adjustments as the project proceeds. Adaptive cycles provide a structure that encourages, even demands, that the team view the project as a learning journey.

Adaptive Cycles Are Component-Based

In the previous chapter, a component was defined as a group of things, (for example, product features) that are planned and implemented together. Planning an adaptive project is very different from planning one based on a traditional life-cycle approach. Traditional software project management is primarily task-oriented, whereas adaptive management is result- or component-oriented first, and task-oriented second—a two-dimensional planning approach. Task-oriented development leads to task-bloat—that is, the planning of tasks to the finest level of detail. For example, the specification process can be divided into an endless string of tasks, from data modeling to the gathering of security specifications. A task-oriented focus may not produce a good project plan primarily because any competent developer or analyst can spew out a long list of required tasks without knowing much at all about the product under development. Task lists from the last project are copied, the hours tweaked, and bingo!, the project plan is done. The problem is that few project team members understand what is to be delivered, and the “plan” is not a plan at all.

Evidence of task-bloat abounds. During a recent consulting assignment, a project manager asked me to look at his plan. Without opening the document, I said I understood the problem. In response to his somewhat incredulous expression, I explained that he was using his work-breakdown structure as a “to-do” list (I could tell by the number of pages). Sure enough, the plan was laced with one-, two-, and four-hour tasks! Tasks are important, but components, and the features that make up the components, are more important. In projects in which component-planning precedes task-planning, the team members invariably have a clearer understanding of their objectives. The process of identifying components and allocating them to cycles gives the team a better picture of the product and the project than it can get from a purely task-oriented approach.

Adaptive Cycles Are Iterative

Most writers and consultants on software development practices advocate some type of iterative development. Even the military is abandoning the waterfall model (Sorensen95). However, when the project goal is certain and the environment is stable, a serial waterfall model may still be the most efficient approach. As the goal becomes less certain, and the number of changes to product requirements increases, success in development depends more on continuous learning about the product than on predicting its final form.

In the traditional waterfall model, water falls; it doesn’t rise. Everyone involved in software development has seen the traditional waterfall picture—with boxes and arrows flowing from the upper left of a page to the lower right, and with smaller arrows cycling back to the previous step. Good waterfall development incorporates feedback; it’s not as if the developers expect everything to happen correctly the first time. Unfortunately, such approaches expect most things to happen correctly the first time and so the primary difference between waterfall and adaptive models is that the adaptive model focuses on cycling while the waterfall model focuses on flow.

Inarguably, waterfall models recycle and adaptive models flow, but the significant difference between the models is in the primary focus. The argument is reminiscent of the process-versus-results debate. Both are needed to succeed, but whether one views process as driving results or results as driving process provides the viewers with different mental models of the world. This change in perspective represents a significant mental-model change for most people and organizations. It means that the redoing is more critical than the doing.

This dichotomy between a doing and a redoing mental model is evident in how people approach certain activities. For example, in waterfall projects, change requests are viewed as negative occurrences—as an indication that something was done incorrectly or that something was missed. In an adaptive project, change requests are viewed positively—as opportunities for learning and as a means of attaining competitive advantage.

Figure 4.2 shows a project that begins with a divergence between the customer’s and the developer’s views of the product. During each successive cycle, the stakeholders learn more about each other’s view of the feature sets. The figure illustrates that as this learning takes place, the differences narrow until the final product emerges to satisfy both the customer’s and developer’s requirements.

Image

Figure 4.2: Converging Views in Adaptive Cycles.

While many people see the benefits of a cycling approach, there is usually a fear that it will involve endless iteration without progress. Developers complain about customers whose requests make complete flip-flops from session to session. They cite customers who change their requirements on a daily or weekly basis, forcing iteration without progress. Such problems can afflict the technical side of the team also. Developers may find themselves continuously changing designs or constantly revising models. For Adaptive Software Development to be successful, everyone involved must understand the difference between healthy, iterative focusing and de-focusing and unhealthy oscillating.

We have learned that keeping adaptive projects on track means paying constant attention to whether the project is cycling or oscillating, but how can we differentiate? A simple answer is that cycling projects focus and de-focus, but ultimately converge on a solution. Oscillating projects generally diverge from a solution. The team, and especially the project manager, must be constantly attuned to whether true progress is being made, although this can be difficult to assess in the short term. Oscillating projects usually have two main sources of problems: the project mission and the problem definition. First, some team members may not understand, or may not agree with, the stated objectives of the project. The essential action to take when oscillation occurs is to revisit the project’s mission statement and confirm, Is this our objective? and Is this still our profile matrix? Often, this re-grounding is all the team needs to get back on track.

Second, oscillation may occur if either the customers or the developers have a faulty understanding of some problem that arises during the project. A customer who continually changes his or her mind about a feature or a developer who continually re-codes a particular module is usually signaling a lack of understanding of what is expected. At this point, the project team needs to back up and redefine the problem.

A final point about the nature of iterative, adaptive cycles is that they promote the concurrent development of components. Short development times demand concurrency. Adaptive cycles keep con-currency under control.

Adaptive Cycles Are Time-Boxed

It took me several years of using time-boxing techniques on client RAD projects to come to the startling realization that time-boxing is not really about time—it is about forcing trade-offs and learning in the context of short delivery cycles. At the most basic level, time-boxing is the process of setting specific due dates both for the project and for each individual adaptive cycle. A specific due date provides a clear focal point, which contrasts with the ambiguity and uncertainty of a complex project. However, fixed dates can be used inappropriately as a bludgeon to coerce team members into working overtime and cutting corners on quality.

A time-box should be used to force hard trade-off decisions, not to pressure team members into making poor decisions. Trade-offs encourage all parties—managers, customers, and developers—to make good business and technical decisions. Time-boxes force these decisions throughout the project. Without this continuous pressure to make hard decisions, human tendencies push them to the end of the project when options are usually very limited.

Imagine, for example, that at the end of the second development cycle of a six-month project, the team realizes that the planned functionality of the product cannot be accomplished in the time frame allocated. Further analysis, based on better information from three months of working on the project, indicates that all the functionality can be delivered in a total of seven months. The team, in conjunction with its customers, can then make an informed decision about whether to meet the due date by cutting functionality or vice versa. Without a periodic, realistic evaluation process, the development team may make the wrong decision, or even worse, postpone the decision too long.

The second key benefit of short delivery cycles is that they force convergence and learning. Every team member wants to produce high-quality work and, therefore, is reluctant to submit any partially completed component for peer review. Our mental model, which derives from our inner sense of quality, associates half-completed work with shoddy work. Instead, we want team members to think that half-completed work is just that—half-completed work—something we can share with others and learn from so that we don’t inadvertently waste time. Time-boxes help overcome our natural tendencies to overwork a deliverable before we ask others to review it. Time-boxes provide a gentle, but firm nudge to learning.

A third benefit of time-boxing is that it helps keep team members focused. Having to produce a portion of the product and present it for customer review every few weeks or months provides an incentive for developers to concentrate on the most important activities.

Adaptive Cycles Are Risk-Driven and Change-Tolerant

Traditional project management focuses first on detailed task-planning and then on monitoring each task’s deliverable in the context of its predetermined requirement. Whether explicitly articulated or not, the premise of traditional project management practices is that most activities will proceed as planned and only a few will be subject to change. Teams using adaptive practices assume that many aspects of a project will change during the development. An adaptive team is more concerned with responding to, rather than controlling, change.

Creating change-tolerant software—that is, software that is maintainable, enhanceable, and modifiable—is a goal of Adaptive Software Development. (See Charette89 for more on risk-driven and change-tolerant systems.) Creating change-tolerant software in a complex environment requires a change-tolerant development process. Development teams must constantly ask questions such as, What could change? How would we respond to that change? How can we mitigate the impact of different types of changes?

Unrestrained change creates chaos. The nature of adaptive cycles both promotes change-tolerant activity and places boundaries (in the form of shortened time frames) to help manage change. A product’s position on its fitness landscape defines its relative success compared to its competitors. In rough fitness terrain, not only is it difficult to ascend higher peaks, but competitors alter the landscape all the time. Change-tolerant processes necessitate a constant scanning of the environment, modifying products to respond to competitors’ moves, and creating change to which competitors must respond.

Risk measures the probability that a development effort will not produce a viable product. Demonstrating a project’s viability involves, in part, understanding where the probability of failure is highest and developing strategies either to reduce the probability of failure or to accelerate the project’s demise. For example, if one risk to a particular project is that we are using a new untried technology, then we should assume that the technology may fail in this instance. A very poor strategy would be to spend the first development cycle creating comprehensive use-case models. To do so, the team would have had to spend considerable resources, but would be no closer to answering the most critical viability question for the project. Now, the team must spend even more money to come to the conclusion that the technology will not work. In planning an adaptive project, developers will find that it is usually a better strategy to place high-risk items in early cycles.

Adaptive Planning Techniques

The planning practices presented in this chapter are geared to small to medium-size projects. This basic Adaptive Life Cycle provides enough fundamental structure to use on projects ranging up to 10,000 function points, although in complex environments, factors other than size determine the need for additional rigor. In Chapter 9 , an Advanced Adaptive Life Cycle is presented, which provides techniques for scaling adaptive development up to much larger projects.

While planning in a complex, turbulent environment may be speculative in nature, the project team must have a good road map. Although far from ideal, a half-right, good-enough plan is still better than no plan. The wisdom of this statement rang especially true on one recent pilot project in which a client project manager commented on adaptive cycle planning:

You know, most of the things we’ve done in this adaptive project we’ve done before in some fashion on other client/server projects. One of the things that is very different, however, is planning which features go into each cycle. In my last project, which lasted about six months, incorporating this planning technique would have cut two months off our six-month schedule. We wasted a lot of time in iterative, prototyping activities, without having a very good game plan.

In the remainder of this chapter are techniques for planning adaptive cycles and then application of those techniques to a hypothetical, but typical project.

Defining Versions, Cycles, and Builds

There are three types of iterative loops important to adaptive development. A version, which is the longest loop, produces a new rendition of a product. Cycles are major loops used during a project by developers to learn about the product and to monitor the project. Builds are the very short loops used by the development team to produce an interim deliverable.

A version is a product that is ready to be installed or, as in the case of shrink-wrapped software, to be manufactured. “Version” as used here, is compatible with the industry standard—that is, whole numbers indicate major releases of a product and point versions (version 4.1, for example) indicate less significant releases. Versions can require time frames of months to years, depending on the project’s size.

A cycle delivers a demonstrable portion, or component, of the product to a review process. The most important reason for using cycles is that they make the product visible to the customer. The end of a cycle represents a major project milestone and then provides the opportunity for customer, management, and developer reviews of the interim results. Every cycle has a theme, or a stated goal, manifested in a cycle objective statement. Like a project objective statement, this is a high-level focusing tool for the team. Developers must continually ask themselves, Does what I’m working on contribute to the objective of this cycle? With short cycle times and specific deliverables, project teams are less likely to get off track.


“The regular build is the single most reliable indicator that a team is functional and a product is being developed.”

—J. McCarthy [ 1995 ], p.111.


A build constructs an interim portion of the product and makes the product visible to the development team. Depending on the development environment, the overall size of the product, and the cycle involved, the build may be the entire product or only a portion of the product. A build makes the product public. A developer may code a portion of a feature or module, but not release it to independent review. A build forces development teams to confront key issues by enabling developers to demonstrate their wares to everyone involved.

Cycle Planning Steps

In an adaptive project, the team must first define the product components, then allocate those components to a development cycle, and finally plan the activities necessary for each cycle. The following paragraphs describe techniques for approaching this two-dimensional (component and task) planning. Steps in adaptive cycle planning are

• Conduct the project initiation phase.

• Determine the project time-box.

• Determine the optimal number of cycles and the time-box for each.

• Write an objective statement for each cycle.

• Assign primary components to cycles.

• Assign technology and support components to cycles.

• Develop a project task list.

Figure 4.3 provides an overview of this approach to planning a project.

Image

Figure 4.3: Component-Oriented Planning.

Step 1: Conduct the Project Initiation Phase

The project initiation phase is a critical period. If the project does not start off well, it may flounder, sometimes for months. The objective of the project initiation phase is to clearly establish project expectations among all the project’s stakeholders. The project initiation phase is the stage at which mission statements (defined in Chapter 3 ) would be produced. The project initiation period should establish the following:

• For the executive sponsor, it establishes the intent of the project and a firm idea of its scope, intended schedule, and projected resource utilization.

• For the customer, it identifies business functions and data to be automated, and the cost and benefits of accomplishing this automation.

• For the developer, it provides an understanding of the product to be delivered and the business reasons behind the project.

The following conditions define the context for the project used as a sample in the remainder of this chapter:

• A feasibility study has been completed.

• The product mission profile for this project is schedule-driven.

• The basic architectural and development technologies have been selected or defined.

• The project size is in the l,000-to-l,500 function-point range.

• The core team size is in the four-to-eight-person range, and key team members have been identified.

• The project is expected to take approximately six months.

• The executive sponsor has been identified.

• The required training has been conducted.

An adaptive project that has the context just defined can be launched during an intensive project kick-off week. The result of this week-long effort should be a completed project plan (including the adaptive cycle plan) and the product specification outline. These documents would be developed during a series of team meetings and JAD sessions.

The kick-off week should begin and end with sessions attended by the executive sponsor, core team members, and other stakeholders in the project. The executive sponsor should provide an introduction at the JAD session to ensure that team members understand the objectives and business reasons for the project. Having the sponsor take the time to personally introduce the project and convey his or her commitment to the project’s success is an important motivational factor. If the sponsor doesn’t have time to attend the kick-off week, it indicates that he or she won’t be available later to support the project team. At the end of the week, the core team presents an overview of the week’s deliverables and obtains the executive’s approval to proceed.

A successful kick-off week requires careful planning, which is usually accomplished by a combined effort of the project leader, the JAD facilitator, and selected managers in the client and software development departments.


“Never allow team members to jeopardize the product in the attempt to hit what might be, after all, an arbitrary deadline.”

—S. Maguire [ 1994 ], p. 98.


Step 2: Determine the Project Time-Box

The project time-box specifies the estimated duration of the project. Project effort and estimates for its duration should be based on industry best practices, such as function-point analysis; however, given the uncertainty of complex projects, estimates may not prove to be particularly accurate. The project time-box should be viewed as a boundary, not as a goal. As the time frame of complex projects extends beyond six-to-twelve months, the probability of any estimate being accurate drops precipitously. Time boundaries help manage the project by forcing trade-offs and by providing review points for learning.

A project’s time-box should be both aggressive and achievable. Arbitrary deadlines serve no useful purpose within the development effort. However, a schedule target date is a legitimate date that is established by management. A target date may be completely reasonable from a business perspective and, at the same time, arbitrary from a development perspective, so it is important not to confuse target and planned dates. The two dates can be reconciled through negotiations and adjustments to project requirements or constraints, or the two different dates can be maintained and used for different purposes. The important point is that arbitrary dates, which the development team considers both unachievable and irrational, do more harm than good.

Step 3: Determine the Optimal Number of Cycles and the Time-Box for Each

The time allotted a cycle should be on the order of four-to-eight weeks for projects of less than nine months and six-to-ten weeks for projects longer than nine months. Factors such as whether the software is for internal use or for sale also impact cycle lengths. Early cycles should usually be shorter than later cycles to encourage customer involvement. Feedback from focus groups strongly indicates that customers are more impressed with regularly delivered results than with feature depth. Once customers understand that the development team will produce a meaningful product version on a regular basis, the time between cycles can increase somewhat.

A six-month project might have from four-to-six cycles, depending on the nature of the project. The first one or two cycles should be short (lasting four-to-five weeks) to insure engaging the customer early, to verify the project’s scope, and to confirm the project’s viability. Later cycles (those dedicated to perfecting performance, extending features, removing defects, and preparing for delivery) can go longer, lasting up to eight weeks. Once these cycle durations have been determined, the core team should establish the dates for customer focus-group reviews and confirm them with customer representatives and the executive sponsor. Dates can be adjusted for schedule conflicts, but they should not be permitted to slide more than a week in either direction.

A final but very important point about cycle duration is that it should reflect the development team’s perception of the uncertainty about the product’s requirements. Shorter cycles should be used for areas of high uncertainty; longer cycles should be used for areas of greater certainty. A single cycle, essentially one using a waterfall approach, is appropriate where the environment and the project’s requirements are relatively stable.

For example, a client of mine had a project that involved four major business processes. One of these processes involved a target user group that had little existing automated support, and that functioned in an area proven difficult to automate in other companies. We pulled this particular business process out of the regular cycle plan and formulated a series of short, simple automation steps in order to assess, early on, the viability of automating this process. We believed two to four of these short exploration cycles would be necessary before there would be enough information for us to adequately plan the full development effort. These exploration cycles, in essence, served as an extended feasibility study, producing a trial application rather than stacks of documentation.

The key questions to consider when determining how long a planning cycle should be are, Does it maintain a reasonably short customer-feedback loop? Does it allow enough time to develop a meaningful feature set? Does it provide for each major feature to have at least one cycle available during which focus-group changes can be implemented?


“Any milestone without a theme ends up having to be driven by a task list because, without a theme, you need such a list in order to know what you’re supposed to do.”

—S. Maguire [ 1994 ], p. 100.


Step 4: Write an Objective Statement for Each Cycle

Just as a project needs a good objective statement to keep the team focused, each cycle needs its own focusing mechanism. As is suggested in the sidebar quote, lack of a theme (an objective) while pursuing a milestone (a cycle) can cause floundering. A detailed task list is no substitute for a clear, focusing statement—a cycle objective statement (similar to the project objective statement introduced in Chapter 3 ). The detailed task list just insures that everyone will be busy, not necessarily productive. The cycle objective statement provides the next level of definition of the project’s mission. It helps the project team solidify decision-making as changes occur during a cycle. Using the project objective statement, component list, and risk-analysis documents produced in the project initiation phase, the team drafts a cycle objective statement for each cycle. As developed in this chapter, our hypothetical cycle plan assumes the following general conditions:

• Customer involvement is hard to establish, and is often perfunctory when achieved.

• Scope issues are difficult to understand and resolve.

• Technical issues are less important to the customer than business issues.

In this hypothetical situation, the cycle-1 objective might be stated as

Ensure overall project viability by actively engaging the customer in the project while confirming the feature scope, schedule, and resource estimates.

Note, until cycle 1 has been completed, nothing concrete will have been produced. Project plans and initial requirements documents are necessary, but they are insufficient to confirm that the project is actually viable. By demonstrating key features, team members begin to confirm the project’s viability in a concrete fashion. The first cycle can be thought of as a proof of concept.

Step 5: Assign Primary Components to Cycles

Once the overall objective of each of the cycles has been determined, core team members will assign components to the most appropriate cycle. A component should be assigned to the cycle in which the bulk of its development is to be accomplished, as was shown in Fig. 4.3 . In traditional approaches to development, tasks are defined, then monitored for completion. Tasks are definitive and completion is a binary characteristic—completed or not completed. However, the real world doesn’t work this way. A data model, for example, actually evolves over a significant period of time. The team may produce a preliminary rough draft, followed by a detailed model. Then, changes, modifications, and extensions will occur throughout the remainder of the project. Assigning components to cycles provides a way to monitor progress, but it is not a cleanly delineated process.

Particularly complex components may be completed during several cycles, although developers should take care to prevent these large features from being built too late in the project for effective correction to occur. In some cases, preliminary scope work may be done on a feature prior to its assigned cycle. For example, looking back at Fig. 4.3 , we see that the Reorder Calculation component is assigned to cycle 3, but preliminary menu-selection items and possibly a rough screen layout of key data might be included in cycle 1 to demonstrate the scope of the application to the customer. For the size of our hypothetical project, there is no need to indicate this amount of work in cycle 1.

For cycle-planning purposes, the size of the component (or a specific feature that is part of a component) should be such that it can be implemented in two to three weeks. For cycles that are more than six months away, the size of the component chunk can be larger (with three to four weeks allocated for implementation). Suggestions for assigning components to cycles include

• Assign components to deliver usefulness to the client in every cycle.

• Assign to each cycle components that will help achieve the cycle objective.

• Assign components that implement major business operations functions first and decision-support functions later.

• Assign components to deliver feature breadth in earlier cycles and depth in later ones.

• Assign components to cycles based on their natural interdependencies.

• Assign components that are more risky and uncertain in earlier cycles.

• Assign components to balance resource utilization across cycles.

• Assign lower priority components to later cycles.

A cycle plan contains all of the components of the product, whether the component is executable code or user documentation. Figure 4.3 showed how different dimensions of the product might be addressed if the application were developed in four cycles. Figure 4.4 shows how two components, including “Reorder Calculation,” might evolve over several cycles even though they are assigned to one. For larger projects, Chapter 9 demonstrates how to plan for additional component detail.

Image

Figure 4.4: Component Development Over Several Cycles.

Step 6: Assign Technology and Support Components to Cycles

A software development project entails much more than executable modules. Besides the code-related components of the product, a project also must produce documentation and install required technology components. Both are costly and time-consuming. Capers Jones (Jones92) has estimated 20 percent to 30 percent (the percentage is related to product size and type) of development cost is paperwork-related. While adaptive methods minimize formality of documentation to reduce work load, some documentation is part of every project.

The technology and support component sections of Fig. 4.3 showed how these items are assigned to cycles in the same manner as primary components. The suggestions for component assignment listed in Step 5 apply in this step also. Again, it should be noted that support components, such as a detailed requirements specification document, evolve over several cycles although the major portion of their development is assigned to a particular cycle.

Step 7: Develop a Project Task List

This step involves two options. The first alternative is to eliminate the step completely. One of the tenets of adaptive management is to define the desired results, the “what,” and let the development team figure out the details of delivering the results, the “how.” Progress is monitored at the end of a cycle or by reviewing large chunks of work (components completed) during a cycle. In a complex project, trying to monitor and control small chunks of work is counterproductive.

Managers experienced in more traditional project management techniques will feel uncomfortable with this “loose” approach. They want to be more in control, but as we have seen, being in control is a chimera. In fact, by having pieces of the application delivered every cycle rather than at the end of the project, the team actually has a better measure of progress than with more detailed traditional methods.

One reason the adaptive approach seems so different is that in traditional sequential life cycles, analysis or data design activities are per-formed during the corresponding life-cycle phases. In an adaptive approach, these activities will be performed during several cycles. There may, for example, be more analysis effort in early cycles, but analysis will occur in all cycles, as Fig. 4.5 shows.

Image

Figure 4.5: How Development Tasks Span Several Cycles.

The second alternative for this step is to begin with the task list created from the components and add additional detail-level tasks. For example, for the Inventory Picking component, tasks might be added to design, code, and test the component. There may also be occasional activities that are required for the project, but that are not directly tied to a component. Developing a project task list is often necessary in the transition to an adaptive approach. It provides some comfort to project managers and team members who have concerns about a less structured approach.

Similar to Adaptive Software Development in general, these seven steps should be viewed as iterative and open-ended rather than as a step-by-step recipe. The best strategy is to loop through the steps several times in the planning process. In numerous planning sessions with clients, my experience has been that, in the process of assigning components to cycles, the team gains a much better understanding of both the components and the overall project mission. The assignment process raises issues of project scope, component definition, component priorities and dependencies, size estimates, resource needs and availability, and more. Team involvement in the beginning speeds progress during the project.

Cycle Reviews

Since the environment of an adaptive project is turbulent and uncertain, the end of each development cycle must provide for reflection, status determination, and learning. While Chapter 6 will cover the Adaptive Development Life Cycle’s Learn stage and learning techniques in detail, we should not leave the topic of adaptive planning activities without an additional brief discussion of the learning loop shown early in this chapter in Fig. 4.1 .

The learning loop is specifically named to differentiate it from a feedback loop. Feedback connotes the mechanistic view of a closed-loop control system. For example, if we are controlling the heat source to a thermostat system, the only feedback we need would loop between the thermostat temperature gauge and some actuator to control the heat source. Managers are always looking for the simplest set of measures to “control” the development process. However, if we, as managers or developers, understand that our plans are speculative, then the understanding must also include the fact that simple measures are not enough to learn all we need to know at the end of a cycle. The information required to answer the question, “Are we tracking with the plan?” is much different than that required to answer the question, “Is our plan still tracking in the right direction?” An adaptive project must answer both questions.

Reviews at the end of each cycle should answer the following questions:

• Is the project on track if viewed from a broad scope, schedule, defect-level, and resource perspective? (In other words, What is the probability the product will meet its product mission profile?)

• Are the project mission artifacts still valid?

• Does the quality of each delivered component meet customer and technical specifications and expectations?

• Is the project team working efficiently and effectively?

In traditional projects, tracking schedules, tasks, and resources usually takes precedence over tracking components and evaluating their quality characteristics. In adaptive projects, tracking of components and their quality takes precedence. Built on the principle that the application is the only acceptable model to the customer, adaptive development projects track the delivery of actual software features rather than documents.

Much of the feedback gathered in traditional project monitoring originates within the boundaries of the project. The questions elicit information about how the project is progressing when compared to plan. Asking the question, “Are the project mission artifacts still valid?” requires entirely different sources of information. The project team must have mechanisms in place to scan the customer’s environment and, in the case of software products for sale, the competitive environment. In the heat of trying to meet project schedules, people find it difficult to take the time to investigate these questions, but in a rapidly changing market, the investigation is essential.

A primary tool for reviewing results is the customer focus group. During focus-group meetings, customer decision-makers explore a working application in a facilitated environment. The deliverable results from the meeting are documented change requests.

Running focus groups well is one of the factors critical to achieving the desired results in an adaptive project. Focus groups perform the dual role of assuring product quality from the customer’s perspective and catalyzing the organizational changes required to implement adaptive development. In a commercial software company, it is important to expose the product to review outside the development group. Whether the target audience consists of actual customers or surrogate customers from an internal department such as marketing, the expo-sure is critical to effective learning.

Good customers lead to good products. Too many internal systems projects fail because customers aren’t committed. They want the result, but they aren’t involved. Technical staff members assume customers don’t become involved because they don’t really care. The truth is closer to their not knowing. In principle, customers want to be committed and to be involved, but the processes, such as rigid, serial life cycles, established by developers actually get in the way. One of the key benefits of adaptive life cycles and customer focus groups is that they assist customers and developers in the “how” of partnership.

For many developers, and especially for those who originally viewed RAD methods as no methods, concern often exists about technical quality. There are several matters at play here. First, there is certainly a need for developers to maintain technical quality, but this is a concern regardless of the development approach used. Engineering is itself the process of managing trade-offs, and software engineering is no different. Technical inspections are a useful tool to insure quality, but developers must insure that quality isn’t used as a mask for their own aesthetic sense of perfection. Second, important technical quality characteristics should be defined during project initiation and refined during the development process. Vague definitions of terms (such as “maintainability”) are often used to justify elaborate and overly detailed design documentation with questionable linkage to the desired characteristic. If it is important, define it and include the characteristic as part of the project’s specifications. If it is not defined, don’t use it as an excuse.

While technical perfection isn’t a reasonable goal, technical quality (as defined by appropriate specified characteristics) certainly is a goal. Technical quality is maintained, in part, through the use of technical inspections (reviews, inspections, and walkthroughs are all similar activities). During the cycle development process, inspections should be used when appropriate, instead of when the cycle is completed.

The third project management task that should occur at the end of each cycle is a review of team, process, and practice effectiveness. This review should be in the form of a project mini-postmortem conducted by the core project team. Questions should include: How well are the practices and processes working? Can we improve them in any way? Do we need to change any completely? Are the core team members working effectively together? These reviews will provide a mechanism for mid-course correction, and should prevent end-course panic.

Cycle Replanning

Because there is little chance the original plan will continue to be accurate, the cycle plan should be reviewed at the end of each cycle. Since adaptive projects are geared toward change, plans for them will require more revisions than those developed for traditional life-cycle projects. The only things that don’t change are the cycle dates, unless their change is given team and executive sponsor approval. One of the objectives of the first cycle is to confirm that the original project size estimate was reasonably accurate. If the original scope and size estimates prove to be in error, the team needs to reevaluate the project and discuss it with the executive sponsor.

A Hypothetical Cycle Example

This section describes the kinds of components that might be allocated to a hypothetical four-cycle plan and provides some additional rationale for these allocation decisions. The project scenario to illustrate cycle planning was outlined earlier in this chapter, but important details to keep in mind are that it included a completed feasibility study, and that it is for a small to medium-size project (less than 1,500 function points), which has identified implementation and development technologies and an identified executive sponsor. Additional assumed characteristics are that the project is of moderate technical risk, that there are no extreme performance requirements, and that it has a typical internal client base (that is, one that does not have a software product for sale).

Describing a sample adaptive project plan involves a dilemma. A concrete example can enhance the learning process, but the problem is that a typical project can be misinterpreted. The unwary may use this sample as a model for projects in which another model would work better. For example, a project with a different set of risk characteristics would have a differently organized cycle plan.

The example plan contains four development cycles, called Cycle 1, 2, 3, and 4. The project initiation activity, assumed complete for this example, should have taken a week or two. Experience has shown that for larger projects with longer project initiation periods, it is useful to include a Cycle 0 for these project initiation and preparation (for example, training) activities.

The objective of describing the four cycles is to illustrate some of the thought process that goes into assigning components to cycles. The example is not complete, since characteristics such as component dependencies and resource balancing have not been considered.

Cycle 1: Demonstrate Project Viability

The objective of Cycle 1 is to demonstrate the ongoing viability of the project. The components developed in Cycle 1 provide a proof of concept. No matter how much planning the team does, projects are explorations into the unknown. The feasibility study, usually completed as part of project initiation, expresses the team’s hypothesis that “Based on the information gathered to date, we believe this project is feasible within the objectives and constraints identified.” Obviously, the proof of the hypothesis is a function of the final product. However, the objective of Cycle 1 should be to gather the right kinds of information to help prove the project is viable—that is, information that helps confirm the feasibility study’s hypothesis.

In a typical project, two types of risk usually exist. First, the scope of the project, although documented in the project initiation documents, may not be well understood by either customers or developers; or perhaps the understanding of these two stakeholders is divergent. Customers may have a vague notion of what they want, or they may have a good idea about what they want but can’t articulate it to the technical staff. Second, having had poor experience with results on previous software projects, they are often reluctant to commit them-selves to the true collaborative effort required. The first risk is poor understanding of the scope; the second risk is poor collaboration. Because of poor collaboration, there is little chance for stakeholders to gain a better understanding of the scope. Addressing these two risks is critical to demonstrating the viability of any project.

Primary Components

Primary components compose one or more business features. These components deliver something useful to the customer, or at least provide background capability that allows another component to deliver something useful to the customer. Based on the identified risks, one objective of Cycle 1 is to verify the scope and concept of the product by the development of key primary components. In the project initiation activity, the project team gathered existing information about the project, developed an initial project objective statement, and outlined the purpose and features of the application. In Cycle 1, the development team must strive to clarify the project’s objectives and scope by converting the preliminary feature-set requirements into a rudimentary first draft of the product and its appropriate supporting documentation.

The product of Cycle 1 is never pretty. It is usually hurried, buggy, and partially completed. The development team will want to delay the cycle completion until a higher-quality product can be produced; resist the temptation. When these components are delivered, the team will be able to confirm with the customer organization and the executive sponsor whether the project is viable and on track with the original scope expectations.

A second objective of this cycle is to engage the customer. The success of the project depends on the team’s building a collaborative, open, communicative relationship with enthusiastic customers, but customers need to see concrete results with their own eyes. Customers will have been told about this new adaptive approach, but until the first focus-group review, they really won’t have seen results. The public-relations effects of the early development and focus groups should be capitalized upon during the first cycle, in order to begin a cultural transformation.

During the development cycle, customer team members have definite tasks to accomplish. They are heavily involved in developing the specifications and in reviewing interim builds of the product. They also must concentrate on developing business scenarios by which they can demonstrate the features and test the system.

Development efforts for Cycle 1 should concentrate first on delivering the feature set specified for the cycle, and second on establishing a technical base for future development. With a first-cycle emphasis on scope and content, the development efforts might include

• menus and navigation screens

• screens for maintenance of key data entities

• management or operational inquiry screens

• key system integration components (such as, access to another application’s database)

It is important to get as much visibly done as possible in Cycle 1, so initial work on a wide range of components is begun. The team must be careful not to become bogged down in technical areas. For example, if a difficult algorithm or database design issue leads to much discussion and consternation, look for some simple way to get the basic component done and put the unresolved problem on an issue list for the next cycle.

Technology Components

Technology components are the platforms on which feature components operate and by which developers ply their trade. In today’s client/server, networked, Internet, data warehouse, e-commerce environment, the technology components can be extremely complex as well as extremely demanding on the project team.

Some of the timing constraints on the technology component can be daunting. Development begins the week after the initial kick-off and JAD session. There aren’t months of analysis time during which to order and install, and then to get trained on, new technology components. The first features will need to be developed and then demonstrated within a few weeks. So, some technology components will need to be installed in the same cycle, often nearly concurrently with the primary component development effort.

There are considerations to take into account when assigning technology components to Cycle 1:

• What components need to be in place for development to begin?

• What components need to be implemented in order to operate the primary components scheduled for the cycle?

• What components must be implemented in Cycle 1 because work slated for later cycles depends upon their completion?

In less chaotic times, the implementation of technology components was often delayed until late in the project. Today, however, technology components need to be planned and implemented concurrently in order to keep pace with our multi-vendor, multidimensional environment.

Support Components

In most cases, Cycle 1 will not involve much work on delivery or installation tasks. There may be some initial planning required for these tasks, as in many IT applications where a significant conversion effort is anticipated. If so, a tentative conversion-issues list might be started in Cycle 1. If the final installation is to be across a wide customer base, some initial ideas about installation planning might be generated during Cycle 1.

Even with rapid development, there is such a thing as too fast. Cycle 1 should be used to establish some development guidelines and a foundation for subsequent development. With most high-powered development tools, spaghetti code or spaghetti data can be developed much more quickly than either could be developed using more traditional tools or languages. While a primary criteria for these tools is that they reduce the effort required to modify the application, initial setup can make a big difference in how effectively the tools operate. So, even in Cycle 1, the team needs to establish development guidelines such as naming standards, reuse approach, and data design considerations. Hopefully, the team is experienced with the tools and these guidelines are already in place and only need to be tailored to fit the project.

Cycle 2: Explore the Features

In the initial project plan, the team “speculates” on what the project’s results should be. During Cycle 1, the team then builds components to confirm that the speculations were not too far off base. One of the objectives of Cycle 2 is to develop components in more depth—in essence, to explore the application. Cycle 2 (and often Cycle 3) is used to develop features that will make up the components, data related to the components, and the user interface all in greater depth than was done in Cycle 1.

Primary Components

Cycle 2 incorporates a more detailed exploration of components. A menu item and basic screen for a feature may have been developed in Cycle 1, but the feature will be specified in more detail in Cycle 2. Depending on the situation, the specifications can be gathered through additional mini-JAD sessions, through a more traditional interviewing process, or by a combination of discussion and prototyping with the customers who are members of the core team.

Changes will be made to features as a result of the first customer focus-group session. For many IT projects, it would be normal at this juncture to put additional work into the data modeling activity. Often, the focus group from Cycle 1 identifies complex or difficult areas in the data model that significantly differ from the original model. After the clients have seen the initial cycle results, they may have more enthusiasm for assisting with analysis. Often, functionality involving complex calculations or algorithms that were postponed in Cycle 1 are undertaken in Cycle 2.

Development efforts for Cycle 2 begin to add both functional and technical depth to the product. Components assigned to Cycle 2 are developed and approved change requests from the previous cycle are incorporated into the product. Additional efforts are directed toward defining the user interface and removing defects. Testing activities are more rigorous, so, by the end of Cycle 2, the product will be stable enough for clients themselves to act as product demonstrators for the next focus group.

Technology components are treated in Cycle 2 much as they were in Cycle 1, and specific suggestions listed for Cycle 1 can be applicable to Cycles 2, 3, and 4.

Support Components

At this stage, developers will know a great deal more than before about design issues as a result of building the first cycle. The project team now should be willing to abandon much of the prior coding if new design alternatives provide significant quality enhancements. Although features will change, key design issues should be decided by the end of Cycle 2.

During Cycle 2, the project team should begin to think seriously about delivery and installation issues. In addition, test plans, test cases, and test data should be developed and implemented.

Cycle 3: Refine Features and Insure Performance

The three main objectives of Cycle 3 are to refine components until they meet all client requirements, to insure compliance with performance specifications (such as response time), and to insure that defect levels are acceptable. As in other cycles, developing additional components and revising previously developed components are part of the work effort. Refinements often involve implementing features such as error-detection and correction.

Particularly in business applications, project teams tend to bog down in error-handling routines and miss the “mainline” flow. The mainline is defined as the execution of a series of business processes as they are intended to be performed if Murphy were asleep (that is, as if no errors were encountered during processing). During Cycles 1 and 2, developers should have concentrated on getting the mainline correct. In Cycle 3, project team members should concentrate on how the application might fail, from either a business or a technical perspective.

By Cycle 3, any reuse strategy put in place by the developers and any architectural components should be completely implemented; any common modules, rules, or database procedures should be in place; and most systems-level design should be finished.

During Cycle 3, project team members should make final their thoughts and plans on delivery and installation issues. Conversion programs, installation routines, training programs, final quality-assurance plans—all should be at an advanced stage.

Cycle 4: Finalize All Product Components

The objective of Cycle 4 is to produce a total product that includes all components. Some of these components (for example, user documentation) may have been planned or even started during a prior cycle, but final development and testing should be completed in Cycle 4.

A wide range of activities will be performed during this cycle, but precisely which ones depends on the type of product being delivered. For example, a commercial software product will require that extensive effort be devoted to development of such items as user documentation, to possible geographic localization, and to refinement of installation procedures. In-house software products may need work done on installation, training, and conversion, while small applications will require only minimal effort in these areas. Some of the details that might be developed or made final during Cycle 4 include

• limited new component additions

• change requests from previous cycles

• product components

Image help screens

Image on-line training material

Image operations setup

Image security setup

• service components

Image training

Image help desk

Image reference material

Image user guides

Image operations guides

• installation and conversion

Image conversion software

Image installation software

Image documentation

Any of these components requiring extensive work should have been started during a previous cycle.

The Evolving World of Components

Components, objects, classes, containers, frameworks, templates, patterns—the list goes on. In the 1990’s, application architectures progressed from client/server to Internet application servers, and the terminology now has expanded to describe different facets of what was once referred to as object technology. Some software development groups build components—modules of code, with one or more objects—which have standard, published interface specifications. A component developer might be tasked with creating an Enterprise JavaBean (EJB) component, for example. Application development groups find, select, customize, and assemble components into containers. Multiple EJBs might be combined into a container that operates in a specific environment (for example, CORBA).

From an adaptive cycle planning perspective, the word “component,” as mentioned earlier in this chapter, is generic. Adaptive cycle planning is result -oriented, not task-oriented. Whether the result is an Enterprise JavaBean or a container holding six modified EJBs, the cycle delivery process is similar. That is, it is similar, but it is not the same. For example, in the Learn phase of an Adaptive Life Cycle, a customer focus-group review might be appropriate to review a container that implemented a business function. It would not be appropriate to include end users in a focus group to review most EJBs; however, a technical review with the users of the EJBs would be an appropriate learning activity.

While there are several evolving software development methodologies—split between those for developing components and others for assembling components—the Adaptive Development Life Cycle is appropriate for managing either type of effort.

Summary

Image Redpointing in climbing is a technique for learning by iteration, by making mistakes, correcting, and converging on an ultimate solution.

Image The Adaptive Life Cycle is a way for developers to redpoint software projects by falling off, correcting, and ultimately producing a quality result.

Image Cycle planning provides additional depth to the project’s mission. By concentrating on features and other components, the team learns a great deal about the project, including information rarely gained from a more traditional task-oriented approach.

Image The waterfall model focuses on flow; the adaptive model focuses on cycling. One key to managing adaptive development is monitoring whether the results converge (cycle) or diverge (oscillate).

Image The Adaptive Development Life Cycle consists of speculation—initiating the project and planning iterative cycles; collaboration—building components concurrently; and learning—reviewing for quality.

Image Versions create deployable products. Cycles create verifiable feature sets to demonstrate to customers. Builds create incremental features visible to the developers.

Image Project initiation establishes the foundation-level mission components for the project.

Image Cycle planning is two-dimensional, first focused on demonstrable features, and second on tasks.

Image Risk analysis drives cycle planning. High-risk areas are addressed early in a product’s evolution.

Image Cycle planning consists of determining the number and schedule of cycles, determining objectives for each cycle, and assigning features and other components to each cycle.

Image A plan for a four-cycle project might be

• Cycle 1: Demonstrate project viability (which is, essentially, a proof of concept for the project).

• Cycle 2: Explore the features (that is, develop primary features in depth).

• Cycle 3: Refine features and insure performance (implement requested changes and secondary features; focus on improving performance and quality).

• Cycle 4: Finalize all product components (implement final features; develop all the services, documentation, and conversions, required to create a final deployable product).

Image Each cycle ends with a review process, which examines the quality of the product from both a technical and a customer perspective, and evaluates the team’s performance during the cycle.