Why Object Oriented Programming
It is used to built complex and large software systems.
Challenges for development of complex software systems.
- Users is dependent Complex system for functionality.
- It should Flexible and have simple interface.
- Different type of users can operate this system .So different access permission.
- This systems can be developed by different development team.
If complexity is not addressed it may lead to software crisis as complex system is developed by different development teams
Software Crisis can be:
- Over budget
- Deadline not met.
- Customer requirement not met.
Algorithm: Divide the component into smaller components to reach it smaller unit.
Approaches: There are three approaches:
- Structures or Algorithm Approach.
- Modules are divided into smaller module till basic unit is reached.
- Data-driven Approach
- Some input is passed and output is verified this approach is used in information systems like Data Base.
- Object Oriented Approach.
- Problem is treated as Objects which have problem domain,their behavior and communication between them.
Lets take Retails Store as Example:
Structured Approach: Focus on functionality
Advantages:
- Each functionality is clearly defined.
- Any changes made to functionality do not effect other
- Functionalities are sub divided.
Following details of customer being stored and Actions on customer data
Advantages:
- Re-usability
- Clear separation of functionality
- Exhibit common structure
- Reduce the risk factor in building large systems as they are incrementally built from sub-system which are stable
Hence Object Oriented Approach is used to built Large and Complex System.


0 comments :
Post a Comment