Why object orientation ?
Unified Approach (UA)
Based on the Booch, Rumbaugh and Jacobson methodologies.
Objects
Object relationships
Association: Represents the relationship between objects and classes.
Generalization: One class is generalized from other. This is typically known as class inheritance in object oriented programming terms.
Realization: This brings interfaces into consideration.
- Higher level of abstraction
- Seamless transition among different phases of software development
- Encouragement of good programming techniques
- Promotion of reusability
Unified Approach (UA)
Based on the Booch, Rumbaugh and Jacobson methodologies.
- Use case driven development
- Utilize the unified modeling language (UML) for modeling
- Object-oriented analysis
- Object-oriented design
- Repositories of reusable classes and maximum reuse
- The layered approach
- Incremental development and prototyping
- Continuous testing
Objects
- The term object was first formally used in the Simula language.
- Object have properties or attributes and behaviors.
- Objects respond to messages. Messages essentially are nonspecific functional calls. For example, we would send a draw to a chart when we want the chart to draw itself. A message is different from a subroutine call, since different objects can respond to same message in different ways.
Object relationships
Association: Represents the relationship between objects and classes.
- Associations are bidirectional - that means they can be traversed in both directions, perhaps with different connotations.
- Cardinality - specifies how many instances of one class may relate to a single instance of an associated class.
Generalization: One class is generalized from other. This is typically known as class inheritance in object oriented programming terms.
Realization: This brings interfaces into consideration.
No comments:
Post a Comment