Persistence
Persistence is the idea of storing data even after the program or computer is turned off, ensuring it’s available when needed.
Example:
Think of a diary where you write daily thoughts. Even if you close the diary or put it away for days, your thoughts are still there when you open it again. In the digital world, databases store information persistently, so even after a computer is shut down, the data remains intact and can be retrieved later.
Object Oriented Principles in OOAD
Object-oriented principles are a set of guidelines for designing and implementing software systems that are based on the idea of objects. Objects are self-contained units of code that have both data and behavior. They can interact with each other to perform tasks.
Object-Oriented Analysis and Design (OOAD) is a software engineering methodology that uses object-oriented principles to design and implement software systems. OOAD involves a number of techniques and practices, including:
- Object-Oriented Modelling: This involves using visual diagrams to represent the different objects in a software system and their relationships to each other.
- Use Cases: This involves describing the different ways in which users will interact with a software system.
- Design Patterns: This involves using reusable solutions to common problems in software design.
Important Topics for Object Oriented Principles in OOAD
- Abstraction
- Encapsulation
- Modularity
- Hierarchy
- Typing
- Concurrency
- Persistence
- Conclusion