MSF for Agile Software Development Visual Studio 2005 Team System logo

Activity:

Write Code for a Development Task

Participating Roles

Responsible:

Developer

Overview

Entry Criteria

    Dependencies:

    • A development task derived from a scenario or quality of service requirement is identified and costed.
    • The system and application diagrams have been updated as necessary to reflect the architecture for the new scenario or quality of service requirement.
    • The latest version of the source code is loaded.
    • The development task is scheduled for the current iteration.
    • If test driven development is used, a unit test for the task is created.

    Sub-Activities

    1

    Select Code Component

    • Map the task to the component where the functionality is located.
    • If this is a new component, select it in the application diagram.
    • Choose to implement the functionality from the component to create a map.

    2

    Create New Classes or Methods

    • From the class diagram, create the classes necessary to implement the functionality.
    • Create new methods and name them appropriately. Make sure the method name and the abstraction are consistent.

    3

    Implement Method Logic

    • Check out existing classes that need to be changed.
    • Add or change the code to implement the functionality in each of the new methods.
    • Change logic in existing methods where appropriate. When writing the code, keep security and performance requirements in mind.
    • Look for the best data structures and algorithms to implement the solution.
    • If an unfamiliar area is found, look for coding examples that implement a similar solution. Use these examples as a basis, rework them, and fit them into the appropriate class and method structure.

    Exit Criteria

    The code for the development task is complete.

    Any new methods are consistent with the classes that they populate.

    © 2006 Microsoft Corporation. All rights reserved.

    Version 4.1.0