Active Record Pattern
Design Pattern
Overview
Use caseObject-relational mapping for database operations
Technical
Protocols
Also see
Knowledge graph stats
Claims33
Avg confidence94%
Avg freshness100%
Last updatedUpdated 5 days ago
WikidataQ4677098
Trust distribution
100% unverified
Governance
Not assessed
Active Record Pattern
concept
Architectural pattern where objects carry both data and behavior, wrapping database table rows
Compare with...primary use case
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Object-relational mapping for database operations | ○Unverified | High | Fresh | 1 |
| Object-relational mapping with domain logic | ○Unverified | High | Fresh | 1 |
| Object-relational mapping for database access | ○Unverified | High | Fresh | 1 |
implemented in
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Ruby on Rails | ○Unverified | High | Fresh | 1 |
| Ruby on Rails ActiveRecord | ○Unverified | High | Fresh | 1 |
| Laravel Eloquent ORM | ○Unverified | High | Fresh | 1 |
| Django ORM | ○Unverified | Moderate | Fresh | 1 |
| Laravel Eloquent | ○Unverified | Moderate | Fresh | 1 |
provides
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| CRUD operations | ○Unverified | High | Fresh | 1 |
encapsulates
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Database access logic | ○Unverified | High | Fresh | 1 |
documented in
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Patterns of Enterprise Application Architecture | ○Unverified | High | Fresh | 1 |
combines concepts
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Database access and domain logic | ○Unverified | High | Fresh | 1 |
created by
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Martin Fowler | ○Unverified | High | Fresh | 1 |
described in
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Patterns of Enterprise Application Architecture | ○Unverified | High | Fresh | 1 |
requires
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Database connectivity | ○Unverified | High | Fresh | 1 |
| Relational database | ○Unverified | High | Fresh | 1 |
pattern type
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Architectural Pattern | ○Unverified | High | Fresh | 1 |
| Object-relational behavioral pattern | ○Unverified | High | Fresh | 1 |
described by
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Martin Fowler | ○Unverified | High | Fresh | 1 |
published in
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Patterns of Enterprise Application Architecture | ○Unverified | High | Fresh | 1 |
supports operation
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| CRUD operations | ○Unverified | High | Fresh | 1 |
characteristic
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Domain object contains data access logic | ○Unverified | High | Fresh | 1 |
documented by
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Martin Fowler | ○Unverified | High | Fresh | 1 |
published year
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| 2002 | ○Unverified | High | Fresh | 1 |
supports protocol
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| SQL | ○Unverified | High | Fresh | 1 |
alternative to
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Data Mapper Pattern | ○Unverified | High | Fresh | 1 |
| Table Data Gateway Pattern | ○Unverified | Moderate | Fresh | 1 |
| Table Data Gateway | ○Unverified | Moderate | Fresh | 1 |
pattern category
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Data Source Architectural Pattern | ○Unverified | High | Fresh | 1 |
design principle
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Domain object contains both data and behavior | ○Unverified | High | Fresh | 1 |
design pattern type
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Object-relational behavioral pattern | ○Unverified | High | Fresh | 1 |
suitable for
| Value | Trust | Confidence | Freshness | Sources |
|---|---|---|---|---|
| Simple domain logic applications | ○Unverified | High | Fresh | 1 |
| Domain models with simple database schemas | ○Unverified | Moderate | Fresh | 1 |