Cal Paterson 3/13/2020

The troublesome "Active Record" pattern

Read Original

This article analyzes the Active Record pattern, arguing it's fundamentally problematic. It explains how retrieving entire objects wastes resources, hampers performance during projections, joins, and aggregations, and contrasts object-oriented programming needs with relational database efficiency. The critique extends to similar issues in RESTful API design.

The troublesome "Active Record" pattern

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week