Taking the Object Oriented approach it's important to define the very basic steps
for application analysis, design and development.
Interview domain experts to understand
Business Rules and User Requirements.
Yvar Jacobson methodology can be used
to capture User Requirements into a set of "Use Cases".
Each Use Case describes a scenario,
a flow of events initiated by an "Actor".
An Actor represents anything that interacts with the system.
Written description is complimented by Process Diagram.
This is a proven smooth way to come to an agreement
with the customer and the users on what the system should do.
Objects that can be described as a simple character string or integer don't deserve to be classes. They are known data types.
There are many ways to identify classes. It is not science but art.
Classes/Responsibilities/Collaborators or CRC [Beck89] approach can be used to select classes. Any noun from user interview or written business requirements can be considered as a potential candidate for a class.
It's important to design classes looking at your application by the client's eyes.
Forget about implementation details at this time. Ask basic questions:
Employee is a base class.
All other classes are derived (inherited] from the Employee.
For example, Sales Person inherited from Hourly with all the Employee features
|
![]() |
|
![]() |
![]() | |
![]() |
![]() |
Example of UML Case Study For problem solving algorithms visit a collection of links at http://www.geocities.com/siliconvalley/lakes/6007 Aspect-Oriented Programming Back To Basic Steps |