Software Data Persistence and Access Layer
(Redirected from Software Persistence Layer)
Jump to navigation
Jump to search
A Software Data Persistence and Access Layer is a software architecture layer that manages data access (to support data operations through storage interfaces).
- AKA: ORM Layer.
- Context:
- It can typically handle Data Operations through database interfaces.
- It can typically manage Data Connections through connection pools.
- It can typically optimize Data Querys through query optimizers.
- It can typically maintain Data Caches through cache managers.
- It can typically ensure Data Consistency through transaction managers.
- ...
- It can often implement Data Mapping through ORM tools.
- It can often provide Query Building through query builders.
- It can often manage Data Migration through migration tools.
- It can often support Data Versioning through version controls.
- ...
- It can range from being a Simple Data Access to being a Complex Data Management, depending on its data complexity.
- It can range from being a Single Database to being a Multiple Database, depending on its storage pattern.
- It can range from being a Relational Storage to being a NoSQL Storage, depending on its database type.
- ...
- It can integrate with Database Layer for data storage.
- It can connect to Cache System for performance optimization.
- It can utilize ORM Framework for data mapping.
- ...
- Examples:
- ORM Tools, such as:
- Query Builders, such as:
- jOOQ Tools for SQL generation.
- QueryDSL Tools for type-safe querys.
- Knex Tools for database querys.
- Cache Managers, such as:
- ...
- Counter-Examples:
- Business Logic Layer, which handles process execution rather than data access.
- Presentation Layer, which manages user interface rather than data storage.
- Network Layer, which handles data transmission rather than data persistence.
- See: Data Access Pattern, ORM Pattern, Cache Management Pattern, Database Integration.