


















Ref: http://articles.techrepublic.com.com/5100-10878_11-1046568.html
Have you noticed that the old way of developing applications just doesn’t work anymore? According to Software Magazine, only 28 percent of IT projects succeeded in 1998, and the success rate diminishes as the cost and size of the project increases. The pace of business has increased, and from an IT standpoint, that calls for extreme measures. Extreme programming (XP), to be specific.
Traditional projects tend to use sequential phases, with most of the work completed in one phase prior to starting the next one. Although the phase names may differ, these are the primary activities:
If you’re using this approach, you may notice the following:
Despite these problems, we continue to use methodologies similar to those mentioned earlier, although we know (deep inside) that they’re too rigid and too bureaucratic to enable the delivery of effective IT applications at the speed of business today. We need a better way—and it’s provided by Extreme Programming (XP).
Kent Beck created XP as a lightweight methodology that’s especially effective for small- to medium-size projects with ambiguous or rapidly changing requirements. It’s lightweight because although there are practices you must do in order to be extreme, it is not process-centric. And it’s called extreme because it takes many fundamental development practices to an extreme level to emphasize their importance and to accelerate the pace of programming for the delivery of a business application—the primary reason we all develop software.
XP’s organizing principle is to embrace change. Since change is an inevitable truth of any software development effort, why not develop methods for dealing effectively with change rather than build bureaucratic change processes and procedures? The bureaucratic approach just distracts from the ultimate goal of delivering the software product. For this, XP has a kind of hierarchy of tenets, including values, principles, and practices. Its values of communication, feedback, simplicity, and courage, together with core principles such as rapid feedback, incremental change, and quality work, provide developers and customers with a foundation for developing high-quality software products quickly. But XP’s 12 practices are the real drivers of results.
The 12 practices of XP
Although some of these practices can stand on their own, their strength comes from using as many of them as possible since they work so well together. For example, having a full suite of reliable tests available along with continuous integration can give developers the confidence to refactor or implement new code quickly. If the code passes the tests, they know the change will work and won’t disrupt production. Also, having an on-site customer facilitates planning the work, and simple designs lead to small releases, which are fully functional (because of the tests), which means people can go home at a reasonable hour.
XP benefits
XP provides benefits to developers, customers, and ultimately, the business. Overall, it provides a basis for mutual trust and commitment to the initiative, rather than the typical adversarial relationship that tends to emerge between developers and customers as projects mature. The underlying reason is that both parties are empowered to make the decisions they’re most capable of making: Customers make the business decisions, and developers make the technical decisions.
You may be saying, “Of course—but isn’t that true with any methodology?” Well it should be, but it isn’t. Customers tend to write the requirements and then go back to their day jobs. And because of their lack of access and involvement, developers are left to make business decisions so they can move the project forward. Vendors have also been known to contact customers directly and persuade them to make technical decisions they’re not qualified to make in order to close a sale, leaving developers completely out of the loop on an initiative they will eventually need to support. XP eliminates this dysfunctional behavior.
For developers, XP provides:
To customers, XP provides:
To the business:
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。