Software
Engineering
Basic
Keywords: UML, Use case, actor, diagram, software engineering,
relationship.
Subjects:
14.1.
Requirement Gathering
14.2.
Use-Case Diagram
14.3.
Class Diagram
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
166
14.1.
Requirement Gathering:
14.1.1. General:
1.Where did you hear about us?
2.Do you have a domain name? If not, do you have ideas on one? If so, what is it?
3.What is your company name? Do you want to use the entire name on the site, logo,
and graphics?
4.Do you have special features in mind like ECommerce shopping cart, BLOG, RSS,
Forms with emails, EZine, Newsletter signup, autoresponders, advertising
landing/call-to-action pages, etc.?
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
167
14.1.2. Marketing:
1.Who is your intended audience? Are they regional, industry specific, company size
specific, etc.?
2.Do you intend to provide a call to action - make a sale, call in to your office, fill out a
form, etc?
3.Describe your ideal client and the specific attributes that we'll be targeting in the
website.
4.What are your website expectations, main emphasis and primary goals - increased
sales, increased leads, etc.? Please prioritize.
5.What separates your company from your competition and what do you expect will
draw clients to the website?
6.How do you plan to market the website?
7.What company properties do you want to emphasize on the website? Please prioritize.
14.1.3. Identity:
1.Do you already have a logo and other graphics to be used? If not, do you want to have
one created?
2.Have you identified a tagline?
3.What keywords do you want to be found by in the search engines?
14.1.4. Layout:
1.Please provide a list of websites that you like and don't like. Why do you or do you
not like these sites?
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
168
3.Do you have ideas of the colors to be used, and colors you don't like? Please provide
example sites.
4.Do you have an intended website screen size - 1024x768, 800x600, or stretch to the
entire width of the screen?
5.If the site isn't the entire width of the screen do you have a preference for left or center
alignment?
6.Do you have a horizontal or left-side vertical preference for the main navigation?
7.Please provide the main pages you need in the website.
8.Have you created the copy text for any of your pages?
9.Do you have existing business cards or other printed material we need to match?
10.
Are you leaning towards custom drawn artwork or photographs?
14.2.
Use-Case Diagram:
14.2.1. Introduction:
- The Use case diagram is used to identify the primary elements and processes that form the
system. The primary elements are termed as "actors" and the processes are called "use
cases." The Use case diagram shows which actors interact with each use case.
- A use case diagram captures the functional aspects of a system. More specifically, it captures
the business processes carried out in the system
- Use case diagrams define the requirements of the system being modeled and hence are used
to write test scripts for the modeled system.
14.2.2. Elements of Use Case diagram:
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
169
or
- Use Case: a visual representation of a distinct business functionality in a system
- System boundary: A system boundary defines the scope of what a system will be
14.2.3. Relationship in Use Case Diagram:
- Include: a use case includes the functionality described in the another use case as a part of
its business process flow
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
170
- Extend: In an extend relationship between two use cases, the child use case adds to the
existing functionality and characteristics of the parent use case
- Generalization: The child use case in the generalization relationship has the underlying
business process meaning, but is an enhancement of the parent use case
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
171
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
172
14.2.4. UML Tools:
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
173
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
174
-StarUML (Freeware):
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
175
14.3.
Class Diagram:
14.3.1. Introduction:
-By definition, a class diagram is a diagram showing a collection of classes and interfaces,
along with the collaborations and relationships among classes and interfaces.
- A class diagram is a pictorial representation of the detailed system design
14.3.2. Elements of Class Diagram:
- Class: A class represents an entity of a given system that provides an encapsulated
implementation of certain functionality of a given entity.
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
176
- Interface: An interface on the other hand provides only a definition of business functionality
of a system.
- Package: A package provides the ability to group together classes and/or interfaces that are
either similar in nature or related. Grouping these design elements in a package element
provides for better readability of class diagrams, especially complex class diagrams
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
177
14.3.3. Relations between Classes:
- Association: When two classes are connected to each other in any way, an association
relation is established
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING
178
- Aggregation: When a class is formed as a collection of other classes, it is called an
aggregation relationship between these classes
- Inheritance/Generalization: Generalization is the basic type of relationship used to define
reusable elements in the class diagram
- Realization: In a realization relationship, one entity (normally an interface) defines a set of
functionalities as a contract and the other entity (normally a class) "realizes" the contract
by implementing the functionality defined in the contract.
Chapter Exercise:
THÀNH VIÊN HIỆP HỘI AN TOÀN THÔNG TIN VIỆT NAM- VNISA WWW.ATHENA.EDU.VN . TEL: 1900 54 54 56 -090 7879 477
VO DUY TUAN PHP Beginner & Intermediate
ATHENA INFORMATION TRAINING