blob: 2a44af08f32538e3df37ee2efdc4a5f6982178db [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<org.eclipse.epf.uma:TaskDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:org.eclipse.epf.uma="http://www.eclipse.org/epf/uma/1.0.3/uma.ecore" epf:version="1.0.0" xmi:id="_NrC20qeqEdmKDbQuyzCoqQ" name="design_solution,_0fshwMlgEdmt3adZL5Dmdw" guid="_NrC20qeqEdmKDbQuyzCoqQ" changeDate="2006-09-09T05:58:28.732-0700" version="1.0.0">
<mainDescription>&lt;p&gt;
This task is about designing part of the system, not the whole system.&amp;nbsp; It should be applied based upon some small
subset of requirements.&amp;nbsp; The requirements driving the design could be scenario-based functional requirements,
non-functional requirements, or a combination.
&lt;/p&gt;
&lt;p&gt;
This task can be applied in some specific context such as the database access elements required for some
scenario.&amp;nbsp; In this case the task might be applied&amp;nbsp;again later&amp;nbsp;to deal with a different context on the
same requirements.&amp;nbsp; Keep in mind that to actually build some functionality of value&amp;nbsp;to the users, all
contexts will typically need to be designed and implemented. For example, to actually utilize some system capability it
will have to have been designed and implemented all its context such as user interface, business rules, database
access, etc.
&lt;/p&gt;
&lt;p&gt;
If this task is being performed on an architecturally significant element the results of this design should be
referenced by the architecture.
&lt;/p&gt;</mainDescription>
<keyConsiderations>&lt;P&gt;Each step in this task can cause all previous steps to be revisited in light of new information and decisions.&amp;nbsp; For example, while determining how elements collaborate&amp;nbsp;you might find a gap in the requirements that causes you to go back to the beginning after collaborating with the analyst, or when evaluating the design a reviewer could&amp;nbsp;note that a reusable element being used doesn't work as expected and that could cause you to identify new elements to take its place.&lt;?xml:namespace prefix = o ns = &quot;urn:schemas-microsoft-com:office:office&quot; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;Consider the architecture while performing this task.&amp;nbsp; All design work must be done while regarding the architecture within which the design exists.&amp;nbsp; Furthermore, certain design elements will be deemed architecturally significant; those elements will require updates to the architecture. &lt;/P&gt;
&lt;P&gt;This task will be applied numerous times.&amp;nbsp; Design is best performed in small chunks.&lt;/P&gt;
&lt;P&gt;Even when starting the design for a particular project it&amp;nbsp;is expected that there will be existing frameworks and reusable elements.&amp;nbsp; Every step of this task must give attention to the existing design and existing implementation, utilizing existing elements when possible and emulating or improving existing elements as appropriate while designing this portion of the solution. &lt;/P&gt;
&lt;P&gt;Apply patterns throughout this task.&amp;nbsp; Patterns represent proven designs and their usage promotes quality and consistency across the design. &lt;/P&gt;</keyConsiderations>
<sections xmi:id="_4Z7WYKuKEdmhFZtkg1nakg" name="Understand requirement details" guid="_4Z7WYKuKEdmhFZtkg1nakg">
<sectionDescription>&lt;p&gt;
Examine the relevant &lt;a class=&quot;elementLink&quot; href=&quot;./../../openup_basic/workproducts/use_case,_0VGbUMlgEdmt3adZL5Dmdw.html&quot; guid=&quot;_0VGbUMlgEdmt3adZL5Dmdw&quot;&gt;Use Case&lt;/a&gt;(s) and &lt;a class=&quot;elementLink&quot; href=&quot;./../../openup_basic/workproducts/supporting_requirements,_BVh9cL-CEdqb7N6KIeDL8Q.html&quot; guid=&quot;_BVh9cL-CEdqb7N6KIeDL8Q&quot;&gt;Supporting Requirements&lt;/a&gt;&amp;nbsp;to understand the scope of the design task and the
expectations on the &lt;a class=&quot;elementLink&quot; href=&quot;./../../openup_basic/workproducts/design,_0WuL8slgEdmt3adZL5Dmdw.html&quot; guid=&quot;_0WuL8slgEdmt3adZL5Dmdw&quot;&gt;Design&lt;/a&gt;. Work with the Stakeholder and Analyst to clarify ambiguous or missing
information.
&lt;/p&gt;
&lt;p&gt;
If the requirements are not represented in some sort of scenario form (for example a non-functional requirement might
not have a scenario associated with it), a scenario will have to be identified that appropriately exercises the
requirements under consideration.
&lt;/p&gt;
&lt;p&gt;
If the requirements are&amp;nbsp;determined to be&amp;nbsp;incomplete or incorrect, work with the analyst to get the
requirements improved and possibly submit a change request against the requirements.
&lt;/p&gt;</sectionDescription>
</sections>
<sections xmi:id="_Ci7aYFixEdusJoWkvSRO9Q" name="Understand the architecture" guid="_Ci7aYFixEdusJoWkvSRO9Q">
<sectionDescription>&lt;p&gt;
Understand how the architecture applies to this part of the design, and how this design work fits with the rest of the
system. Incorporate any applicable interfaces, key abstractions, mechanisms and patterns into the design work. Discuss
possible refinements to the architecture and new areas of potential re-use with the architect.
&lt;/p&gt;</sectionDescription>
</sections>
<sections xmi:id="_--6tYKuKEdmhFZtkg1nakg" name="Identify design elements" guid="_--6tYKuKEdmhFZtkg1nakg">
<sectionDescription>&lt;p&gt;
Identify the elements that collaborate together to provide the required behavior.&amp;nbsp; This can start with the key
abstractions identified in the architecture, domain analysis, and classical analysis&amp;nbsp;of the requirements (noun
filtering) to derive the&amp;nbsp;elements that would be required to fulfill them.
&lt;/p&gt;
&lt;p&gt;
Identify elements in all perspectives being considered when performing this task.&amp;nbsp; This could include identifying
user interface elements,&amp;nbsp;control elements, data elements,&amp;nbsp;and elements relating to interfacing to other
systems or devices.
&lt;/p&gt;
&lt;p&gt;
Existing elements of the design should be examined to see if they should participate in the collaboration.&amp;nbsp; It is
a mistake to create all new elements in each&amp;nbsp;execution of this task.
&lt;/p&gt;
&lt;p&gt;
This list of candidates must be expanded to include special-purpose participants that handle&amp;nbsp;particular roles in
providing the required behavior such as transaction processing or adherence to some security specification.&amp;nbsp; The
&lt;a class=&quot;elementLink&quot; href=&quot;./../../openup_basic/guidances/concepts/entity_control_boundary_pattern,_uF-QYEAhEdq_UJTvM1DM2Q.html&quot; guid=&quot;_uF-QYEAhEdq_UJTvM1DM2Q&quot;&gt;Entity-Control-Boundary Pattern&lt;/a&gt;&amp;nbsp;provides a good start for identifying elements.
&lt;/p&gt;</sectionDescription>
</sections>
<sections xmi:id="_A_LU8KuLEdmhFZtkg1nakg" name="Determine how elements collaborate to realize the scenario" guid="_A_LU8KuLEdmhFZtkg1nakg">
<sectionDescription>Walk through the scenario distributing responsibilities to the participating elements. These responsibilities can be simple
statements of behavior assigned to elements; they need not be detailed operation specifications with parameters, etc. This
step is about ensuring that a quality model is being created that is robust enough to support the requirements.&amp;nbsp;
&lt;p&gt;
Identify the required relationships between the&amp;nbsp;elements based on the walkthrough of the scenario examining how
the elements initiate each other's behavior. An element that requests behavior from another element is represented as a
relationship between those elements. As with the responsibilities, these relationships can just be defined at this
step.
&lt;/p&gt;
&lt;p&gt;
Look to the architecture and previous design work to create a consistent collaboration. Use the Architect to explain
the details and motivations of the architecture. Look to reuse existing behavior and relations or to apply similar
structure to simplify the design of the overall system.
&lt;/p&gt;
&lt;p&gt;
Additional elements might be identified as behavior is found that cannot appropriately be assigned to any of the
existing elements.
&lt;/p&gt;</sectionDescription>
</sections>
<sections xmi:id="_ENwJwKuLEdmhFZtkg1nakg" name="Refine design decisions" guid="_ENwJwKuLEdmhFZtkg1nakg">
<sectionDescription>&lt;p&gt;
Refine the design to an appropriate level of detail to drive implementation and to ensure that it fits into the
architecture.&amp;nbsp; In this step the design can take into consideration the actual implementation language and other
technical decisions.&amp;nbsp; Revisit the identification of the elements and the collaborations&amp;nbsp;that realize the
scenarios if necessary as this refinement takes into consideration details at a lower level of abstraction. Discuss
testability issues, such as&amp;nbsp;design elements that are difficult to test or critical performance areas,&amp;nbsp;with
the Tester and Architect.
&lt;/p&gt;
&lt;p&gt;
In particular make decisions in regard to the considerations below:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Specific details of relationships between the elements such as multiplicity and navigability
&lt;/li&gt;
&lt;li&gt;
Operation detail such as parameters and return values
&lt;/li&gt;
&lt;li&gt;
Existence and detail of data attributes necessary
&lt;/li&gt;
&lt;li&gt;
Usage of inheritance and interfaces to improve the design
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Incorporate &lt;a class=&quot;elementLink&quot; href=&quot;./../../openup_basic/guidances/concepts/design_mechanism,_w2ACwA4LEduibvKwrGxWxA.html&quot; guid=&quot;_w2ACwA4LEduibvKwrGxWxA&quot;&gt;Design Mechanism&lt;/a&gt;s from the architecture. Apply consistent structure of the elements
and organization of the behavior as in other areas of the design and use patterns identified in the architecture.
&lt;/p&gt;</sectionDescription>
</sections>
<sections xmi:id="_KNZYAKuLEdmhFZtkg1nakg" name="Design internals (for large or complex elements)" guid="_KNZYAKuLEdmhFZtkg1nakg">
<sectionDescription>&lt;p&gt;
Design large or complex elements or some complex internal behavior in more detail. &amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
This might just involve devising an algorithm that&amp;nbsp;could be performed to produce the desired behavior. Add
additional operations, attributes, and relationships to support the expectations of an element. Discuss testability
issues, such as&amp;nbsp;design elements that are difficult to test or critical performance areas,&amp;nbsp;with the Tester and
Architect.
&lt;/p&gt;
&lt;p&gt;
The state of the&amp;nbsp;element managed over the course of its lifetime&amp;nbsp;can be designed to ensure proper behavior in
various usages.
&lt;/p&gt;</sectionDescription>
</sections>
<sections xmi:id="_9LeFME42EdudDeUNeAxPCQ" name="Design the database schema" guid="_9LeFME42EdudDeUNeAxPCQ">
<sectionDescription>&lt;p&gt;
If the system has persistent data, the design will need to address&amp;nbsp;the database (or file) schema.&amp;nbsp; For a
relational database schema, identify the following:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
The structure of tables and views
&lt;/li&gt;
&lt;li&gt;
Relationships between&amp;nbsp;tables
&lt;/li&gt;
&lt;li&gt;
Triggers which enforce referential integrity
&lt;/li&gt;
&lt;li&gt;
Constraints on columns
&lt;/li&gt;
&lt;li&gt;
Default values for columns
&lt;/li&gt;
&lt;li&gt;
Stored procedures and functions
&lt;/li&gt;
&lt;/ul&gt;</sectionDescription>
</sections>
<sections xmi:id="_mUVt8BfnEduD353bkQ4frw" name="Evaluate the design" guid="_mUVt8BfnEduD353bkQ4frw">
<sectionDescription>&lt;p&gt;
Evaluate the object design for coupling, cohesion, and other quality design measurements.
&lt;/p&gt;
&lt;p&gt;
Evaluate the database/file design for performance, referential integrity, and normalization.
&lt;/p&gt;
&lt;p&gt;
Consider the design from various angles to ensure that it is a high-quality, communicable design.&amp;nbsp; Work with other
technical team members; an independent party can provide a fresh perspective.&amp;nbsp;Use the Tester and Architect to
provide perspectives on&amp;nbsp;design quality and adherence to the architecture.&amp;nbsp;However, when identifying potential
reviewers keep in mind that if someone can add value by reviewing the design, then perhaps they could have added even
more value by actively participating in the design effort itself.
&lt;/p&gt;
&lt;p&gt;
If design flaws are identified, improve the design.
&lt;/p&gt;</sectionDescription>
</sections>
<sections xmi:id="_OGYbwKuLEdmhFZtkg1nakg" name="Communicate the design" guid="_OGYbwKuLEdmhFZtkg1nakg">
<sectionDescription>&lt;p&gt;
Communicate&amp;nbsp;the design to&amp;nbsp;those who need to understand it. Though this is described here toward the end of
the task, communication should be going on throughout the steps. Working collaboratively is always better than
reviewing the work after it is complete.
&lt;/p&gt;
&lt;p&gt;
Here are some ways to communicate&amp;nbsp;the design:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Formal models&amp;nbsp;specified in UML .
&lt;/li&gt;
&lt;li&gt;
Informal diagrams that render static structure and capture&amp;nbsp;dynamic behavior.
&lt;/li&gt;
&lt;li&gt;
Annotated code that communicates information about the static structure supplemented with textual descriptions of
dynamic behavior across code modules&amp;nbsp;.
&lt;/li&gt;
&lt;li&gt;
Physical data models to describe the database schema.
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Here are some examples of individuals&amp;nbsp;who will need to understand the design:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Developers&amp;nbsp;who will implement a solution based on the design.
&lt;/li&gt;
&lt;li&gt;
An&amp;nbsp;architect who can review the design to ensure that it conforms to the architecture or who might examine the
design for opportunities to improve the architecture.
&lt;/li&gt;
&lt;li&gt;
Other designers who can examine the design for applicability to other parts of the system.
&lt;/li&gt;
&lt;li&gt;
Developers or other designers who will be working on other parts of the system that will&amp;nbsp;depend on the
elements designed in this task.
&lt;/li&gt;
&lt;li&gt;
Other reviewers&amp;nbsp;who will review the design for quality and adherence to standards.
&lt;/li&gt;
&lt;/ul&gt;</sectionDescription>
</sections>
<purpose>&lt;p&gt;
The purpose of&amp;nbsp;this&amp;nbsp;task&amp;nbsp;is to describe the&amp;nbsp;elements of the system so that they support the
required behavior, are of high quality, and fit within the architecture.
&lt;/p&gt;</purpose>
</org.eclipse.epf.uma:TaskDescription>