UML - OOD unified approach
5K views
Nov 28, 2024
UML - OOD unified approach
View Video Transcript
0:00
Object-oriented design unified approach
0:04
So in the previous video we have discussed object-oriented ysis unified approach
0:10
Prior to that we have discussed what is the unified approach and layered architecture
0:14
So in this video we are concentrating only on object-oriented design unified approach
0:20
So what are the different steps are to be followed in which order that will be explained
0:25
explicitly. So let us define the what is the axioms. So an axiom is a fundamental truth
0:33
that always is observed to be valid and for which there is no counter example or exception
0:40
So action is nothing but a fundamental truth and against which there is no exception
0:47
there is no counter example. So Schuze defines axioms can be hypothesized from a large number of
0:55
observation by noting the common phenomena shared by all cases. They cannot be proven or derived, but counter examples or exceptions can invalidate them
1:08
So this is the actual definition of axioms. So now we are going to discuss what is corollary
1:17
So corollary is a proposition that follows from an axioms or from another proposition that has
1:25
already been proven again a corollary is shown to be valid if its
1:31
referent axioms and deductive steps are valid so here you see these are
1:37
the axioms and here we have derived of multiple different corollaries and
1:42
here you see we're having multiple different corollaries are there and here we're
1:46
having some set of actions so this particular corollary has been derived from this
1:51
axiom one along with the axioms too So now we are going to discuss that is our object design step one So here we will be going for business design the business layer classes So apply design axioms to design classes that attributes methods
2:13
associations, structures, and the respective protocols. So what are the different attributes
2:18
Attribute means those variables which will be defined under this class and can contain some values
2:26
So the respective attributes and the methods means what are the different functionalities
2:30
can be performed and associations how these classes have got associated that are
2:35
multiple different associations are there will be discussing that one in the next
2:39
videos and structures and the protocols refine and complete the EML class
2:45
diagram by adding details this step consists of refined attributes methods cardinarity visibility association and class hierarchy always we
2:58
should go for the required number of attributes don't go on adding redundant attributes to make the class
3:05
heavy to understand heavy to deal with so refined attribute means we're going
3:10
for those attributes which are essential to represent that very respective class
3:15
design methods and protocols by utilizing euml activity diagram to represent the methods and the respective algorithms so using euml activity diagrams
3:26
so what is the email activity diagram so here in case of euml activity diagram so here in case of UML activity diagram we can say that how one activity can be initiated
3:34
after which activity in which sequence these activities can be initiated we're
3:39
having one starting state will be having one final state so all this detailing
3:43
we have discussed in our activity diagram chapter refine association between classes if required and refined class hierarchy and design with inheritance if required
3:56
so inheritance means we're going for generalization So iterate and refine again and again until the respective business layer classes have got refined Step number two that is the object design step number two design access layer classes create access layer classes for every classes identified
4:20
and created in business layer and simple mirror the class that means in case of
4:26
access layer classes we are very much close to now to the database so how to access
4:32
data from the databases how to have the fruitful and efficient storing and retrieval of the data, these classes will be handling that one
4:41
Identify class access layer class relationships. Simplify classes and their relationships by
4:48
eliminating redundant classes and classes with single method. So in this way, we are going
4:54
for optimization of the classes. Each and every class should not have any redundant attribute
4:59
or method, and class numbers, number of classes should be refined accordingly
5:05
So we might be having classes like redundant classes. So classes that perform similar requests and activities are called as redundant classes
5:14
and selecting one and eliminating other simplifying these classes. If you find there are multiple classes who are behaving as the same
5:23
then we shall consider one of them and discarding the rest of them to make the system simple
5:30
We're having the method classes. So classes that consists of only one or two method
5:35
are called the method classes and they can be eliminated or combined with existing classes if
5:42
possible if that is one class which is containing at least so only one method or say two methods
5:49
we are having so those classes will be known as the method classes so those classes are to be eliminated
5:54
or should be combined with the pre-existing classes where those classes are having higher number
5:59
of methods so iterate and refine them again and again until there are, you know
6:05
until this access layer classes have got optimized. So that is our object design step number two So now we going for object oriented design step number three so design view layer classes we know that these classes will be accessed by the
6:23
client by the user for interacting with the system so design the macro level user interfaces
6:30
and identify view layer objects so design the micro level user interface which includes these
6:38
following activities. Design the view layer objects by applying the design axioms and corollaries and build
6:47
a prototype of the view layer interface. At the beginning of this particular lecture, we have
6:52
discussed what are the coloraries and what are the axioms. So do the test for usability and user
6:59
satisfaction. So we can go for the feedback taking process or using some testing method
7:06
testing tools we can judge that whether this user interaction has been done properly implemented or not
7:14
So that's why do the test for usability and user satisfaction. And iterate and refine this view layer classes as far as practical
7:26
Now this is our object-oriented design step number four. So iterate and refine the whole design and reapply the design axioms and if needed
7:36
repeat the preceding steps if we require then you can go on repeating step number
7:41
one to step number four once again so design classes attributes methods
7:46
association and the respective structures then go for apply design actions build email class diagrams then design view and access layers and prototypes
7:57
and then user satisfaction usability tests based on use cases and this particular
8:04
testing will be done on very continuous basis until the object-oriented design has got its final shape
8:13
So in this way, we have discussed on this object-oriented design unified approach
8:20
Thanks for watching this video
#Business & Productivity Software
#Computers & Electronics
#Java (Programming Language)
#Programming
#Software