Title: ?e??d?????e? ?a? ???a?e?a ?????s?? ?a? S?ed?as
1?e??d?????e? ?a? ???a?e?a ?????s?? ?a? S?ed?asµ??
?.S.
Sp???? ????????? ????e?? 7
? ??????? 2011-2012
??????S????? ??G???? ????? ???????O?
?????F?????O? ??? ???????O????O? S?S?????O?
2Rational Unified Process (RUP)
- ???p???µ??? µ???d?? t?? Rational Software Corp.
3?? e??a? ? RUP
- ????d?? a??pt???? efa?µ???? vs ????d?? a??pt????
????. S?st?µat?? - ??????
- ?p?st????eta? ap? e??a?e?a
- ???s??s? ?µad???? pa?a??????t?ta?
- ???pt??? ?a? d?a?e???s? µ??t????
- UML
- ???sa?µ???µe?? d?ad??as?a (Configurable process)
- ???t?ste? p?a?t???? (Best practices)
?
?
4???t?ste? ??a?t????
- ?a? de???e? p?? ?a ???s?µ?p???s??µe t?? ß??t?ste?
p?a?t???? t?? te???????a? ????sµ???? - ?a? ?d??e? st? ???s? e??a?e??? (tools) ??a t??
a?t?µat?p???s? t?? d?ad??as??? p?? ?a
???s?µ?p???s??µe
?
?
5???e? e??a? ?? ß??t?ste? p?a?t????
- ?pa?a??pt??? (iterative) a??pt??? ????sµ????
- ??a?e???s? apa?t?se??
- ???s? a???te?t?????? ßas?sµ???? se components
- ?pt??? µ??te??p???s? ????sµ???? (UML)
- ??e???? p???t?ta? ????sµ????
- ??e???? t?? a??a??? st? ????sµ???
- ???a?e?a ???p???s??
?
?
6??? d?ast?se??
???aµ??? d??stas?
S??????
?pe?e??as?a
?atas?e??
?et?ßas?
Stat??? d??stas?
?
?
71? d??stas? ?????? (phases)
- S?????? (inception phase)
- ?pe?e??as?a (elaboration phase)
- ?atas?e?? (construction phase)
- ?et?ßas? (transition phase)
?
?
8S?????? (Initiation phase) 1/2
- Vision document
- Use-case model (10-20)
- ?as??? ?e????
- Business case
- ??t?µ?s? t?? ep????d???t?ta?
- S??d?? ?????
- Business model
- ??a ? pe??ss?te?a p??t?t?pa (prototypes)
?
?
9S?????? (Initiation phase) 2/2
- ???t???a ap?t?µ?s??
- S?µf???a t?? d??a??????
- ?ata???s? t?? apa?t?se??
- ????p?st?a t?? e?t?µ?se?? se ??st??,
ep????d???t?ta ?.?p. - ????? ?a? p??t?? t?? a???te?t?????? p??t?t?p??
- ??a?µat??? ???da se s??s? µe p???p?????s???ta
???da
?
?
10?pe?e??as?a (Elaboration phase) 1/2
- ? p?? s?µa?t???, ?s??, ap? ??e?
- Use-case model (t??????st?? 80)
- ??-?e?t???????? apa?t?se??
- ?e????af? a???te?t?????? ????sµ????
- ??te??s?µ? p??t?t?p?
- ??a?e???µ??? ??sta pa?a???t?? ep????d???t?ta? ?a?
business case - ??a??t??? p???? t?? ?????
- S??d?? a??pt???? ????sµ????
- ????ata??t??? e??e???d?? ???s??
?
?
11?pe?e??as?a (Elaboration phase) 1/2
- ???t???a ap?t?µ?s??
- Sta?e??t?ta a?t?????? (vision) t?? ?????
- Sta?e??t?ta a???te?t??????
- ????µe ?epe??se? t??? ßas????? pa?????te?
???d???? (fa??eta? ap? t? p??t?t?p?) - ???a? epa???? a???ß?? t? s??d?? ?atas?e???
- ????? ???? ?? d??a?????? t?? ?d?a a?t?????
- ?a ???d? µa? e??a? a?t?st???a t??
p???p?????s???t??
?
?
12?atas?e?? (Construction phase)
- ?? ????sµ??? ????????µ??? µe t?? a?t?st???e?
p?atf??µe? - ?a e??e???d?a ???s??
- ?e????af? t?? t?????sa? ??d?s??
- ???t???a ap?t?µ?s??
- ???a? sta?e?? ?a? ???µ? ??a ?a d??e? st???
???ste? - ???a? ???? ?? d??a?????? ?t??µ?? ?a ap?de????? t?
?e?t?????a t?? s?st?µat?? - ???a? ta ???da a?t?st???a t?? p???p?????s???t??
?
?
13?et?ßas? (Transition phase) 1/2
- beta testing ??a ep?????s? t?? s?st?µat??
- ?a??????? ?e?t?????a µe t? pa?a??te?? s?st?µa
- ?etat??p? t?? ß?se?? ded?µ????
- ??pa?de?s? t?? ???st?? ?a? t?? ?e???st??
- ???d?s? t?? p?????t?? st?? a???? ? st?? ???a??sµ?
?
?
14?et?ßas? (Transition phase) 2/2
- ???t???a ap?d????
- ?p?te??? a?t?d??aµ?a? t?? ???st??
- ?p?te??? ap?d???? ?a? s?µf???a? t?? d??a??????
- ?p?d??? t?? p?????t?? ?a? t?? d?ad??as?a?
a??pt???? t?? - ??a??p???s? ???st?
- ??st?? se s??s? µe t? p???p?????s???
?
?
15??e??e?t?µata epa?a??pt???? (iterative) a??pt????
- ??t?µet?p?s? t?? ep????d???t?ta? sta a?????
st?d?a - ?a??te?? d?a?e???s? a??a???
- ?????te?? epa?a???s?µ?p???s? ??????
- ? ?µ?da a??pt???? µa?a??e? st?? p??e?a
- ?a??te?? s??????? p???t?ta
?
?
162? d??stas? ???? ???as?a? (disciplines/
workflows)
?
?
179 ????e? ???? e??as?a? (workflows)
- ?p??e???s?a?? µ??te??p???s? (business modeling)
- ?pa?t?se?? (requirements)
- ?????s? ?a? S?ed?asµ??
- ???p???s? (implementation)
- ????µ? (test)
- ???d?s? (deployment)
- ??a?e???s? ?????
- ??a?e???s? a??a??? (configuration change
management) - ?e??ß????? (e?pa?de?s?, ??p)
?
?
18?? d?? d?ast?se??
???aµ??? d??stas?
S??????
?pe?e??as?a
?atas?e??
?et?ßas?
Stat??? d??stas?
?
?
19Stat??? d?µ? t?? d?ad??as?a? (process) a??pt????
????sµ????
A process describes who is doing what, how, and
when
?
204 ?as??? st???e?a µ??te??p???s??
- Workers (e???te?), p???? (who)
- Artifacts (?atas?e???), t? (what)
- Activities (d?ast????t?te?), p?? (how)
- Workflows (???? e??as?a?), p?te (when)
?
?
21????t?? (Worker)
- ? ?????a t?? e???t? a?af??eta? st?? s?µpe??f????
?a? st?? ?pe?????t?te? e??? at?µ?? ? µ?a? ?µ?da?
at?µ??. - O? s?µpe??f??? (Behavior) ??????µe ??a e??a??
s????? d?ast????t?t?? - ?? ?pe?????t?te? (Responsibilities) a?af????ta?
st?? a??pt??? µ?a? ?atas?e??? (artifact) - ?a µ??? µ?a? ?µ?da? µp??e? ?a ????? d?af??et?????
??????(Team members can wear different hats.)
22??ast????t?ta (Activity)
- ??a e??as?a p?? p?a?µat?p??e? ??a? e???t??
- ?p??e? ?a ???eta? se µe????? ??e? ? se µe?????
µ??e?
23?a??de??µa d?ast????t?ta?
- Activity Find use cases and actors
- Step Find Actors
- Step Find Use Cases
- Step Describe How Actors Use Cases Interact
- Step Package Use-Cases and Actors
- Step Present the Use-Case Model in Use-Case
Diagrams - Step Develop a Survey of the Use-Case Model
- Step Evaluate Your Results
24?atas?e?? (Artifact) µp??e? ?a e??a?
- ??a µ??t??? ?p?? ??a µ??t??? Use-Case ? ??a
µ??t??? s?ed?asµ?? (Design Model) p?? µp??e? ?a
pe????e? ?a? ???e? ?atas?e??? - ??a st???e?? t?? µ??t???? (model element) ?p??
µ?a t??? (Design Class) ??a Use Case ? ??a
?p?s?st?µa - ??se??
- ???a??? ??d??a? (Source code) ?a? e?te??s?µ?
p????aµµa (executables) - ???f??a ????afa te?µ????s?? p.?. Requirements
Specification, Software Development Plan ??p
25????µe ???p??..
??µµ?t? e??as?a? p?? ?a?e?ta? ??a? e???t?? ?a
e?te??se?
??ast????t?ta (Activity)
????t?? (Worker)
Describe a
Use-Case
Use Case
Specifier
??µµ?t? p????f???a? p?? pa???eta?, ?
???s?µ?p??e?ta? ap? µ?a d?ad??as?a (source code,
models, documents ??p)
?atas?e?? (Artifact)
responsible for
26?e?????? µ??te??p???s?? t?? RUP
27?? pe???aµß??e? t? Use-Case µ??t???
- ????te? (Actors)
- ??a???µµata Use-Case (de?????? s??se??)
- G?a ???e use case
- ???µa ?a? pe????af?
- ??? ?e????t??
- Preconditions ?a? post-conditions (optional)
- ??d???? apa?t?se??
28S??p?? e??? Use-Case
- ?ata???fe? apa?t?se??, ?????? ?e?t????????
apa?t?se?? (functional requirements) - ???s?µ?p?????ta? ap? ????? t??? d??a???????
(stakeholders) - Sta use case st??????ta? ?? pe??ss?te?e? f?se??
t?? RUP
292 ?as???? ?????e? sta Use-Case µ??t??a
- ??a? actor e??a? ?t? a????ep?d?? µe t? s?st?µa
(p??s?p? ? ???? s?st?µa - ??a use case pe?????fe? µ?a a???????a e?e??e???
p?? e?te?e? t? s?st?µa ?a? p??sf??e? ??a
ap?t??esµa st?? actor.
Actor
Use Case
30???st?? (Actor)
- ?? Actors de? e??a? µ??? t?? s?st?µat??,
pa??st??? ?????? p?? ??a? ???st?? t?? s?st?µat??
µp??e? ?a d?ad?aµat?se? - ??ta???sse? p????f???e? µe t? s?st?µa
- ?p??e? ?a e??a? pa??t???? d??t?? p????f?????
- ?p??e? ?a e?s??e? p????f???e? st? s?st?µa
- ?p??e? ?a e??a? p??s?p?, µ??a?? ? ???? s?st?µa.
Actor
System
31??a? te????? ???st?? µp??e? ?a p??e? t?? ????
p????? d???t?? (Actors)
C
h
a
r
l
i
e
a
s
d
e
p
o
t
m
a
n
a
g
e
r
D
e
p
o
t
M
a
n
a
g
e
r
C
h
a
r
l
i
e
C
h
a
r
l
i
e
a
s
d
e
p
o
t
s
t
a
f
f
D
e
p
o
t
S
t
a
f
f
32Use Case
Use Case
- ???te??p??e? t?? d?????? e??? actor ?a? t??
s?st?µat?? - ??e???p??e?ta? ap? ??a? actor p?? ???e? ?a
???s?µ?p???se? µ?a s???e???µ??? ?e?t?????a t??
s?st?µat??. - ????????µ??? e??as?a
- ??a µa?? ta use cases pe?????f??? ????? t???
p??a???? t??p??? ???s?? t?? s?st?µat??
33?a??de??µa Use Cases µ??t????
- S?st?µa ?at??es?? d???s?? µa??µ?t??
???? s?st?µa
???? s?st?µa
34?? µ??t??? t?? Use Cases s??d?eta? µe ???a
µ??t??a t?? UML
Use-Case Model (requirements)
ep??????eta? (verification)
???p??e?ta? (realization)
?p??e??e? (Influence)
Design Model (classes and objects)
Implementation Model (source code)
???t??? e?????? (Test Model) (test cases and
procedures)
35?p? ta Use Cases st?? ??d??a
Use Cases
AnalysisClasses
Source Code
Exec
DesignClasses
36???t?µata..
?