Active Record Design Pattern

Active Record design pattern stores in-memory object data in Relational Database. The interface would consist of function such as insert, update, delete and properties that correspond to a column in database table.

It is another approach to accessing data in a database. The database table is wrapped in a class. So an object corresponds to a single row in table.

Example: Eloquent - Active Record Implementation for working with database.