ReadOrListen

ActiveRecord and the Beauty Lost in Translation


Listen Later

Author: Matthew Machuga
Read By: Alfred Nutile
Original Source: http://matthewmachuga.com/blog/2015/activerecord-and-the-beauty-lost-in-translation.html

Sometime in 2014, PHP-land started to debate whether Active Record was a tolerable ORM pattern, and whether one should use Active Record or Data Mapper ORMs. In PHP, this comes down to something like Laravel’s Eloquent ORM as an Active Record implementation vs. Doctrine, the reigning mainstream (and probably only) PHP data mapper implementation. After a surge of interest in Domain-Driven Design (DDD) and Hexagonal Architecture in the Laravel, and overall PHP communities, people began to detest one of the very things that drew them to the framework in the first place. This was fueled by a number of vocal and notable Laravel community members learning Doctine, talking about it heavily, and some evangelizing it. With outside influence from the PHP world providing the same judgement against the impure Active Record pattern, the pitchforks started to come out from all over.

πŸ‘‰πŸ» Ai Automation Consulting https://dailyai.studio

πŸ‘‰πŸ» Join the NewsLetter https://videos.dailyai.studio/

πŸ‘‰πŸ» Buy the book "PHP and LLMs - the practical guide" https://bit.ly/php_llms

Β 

...more
View all episodesView all episodes
Download on the App Store

ReadOrListenBy Alfred Nutile

  • 5
  • 5
  • 5
  • 5
  • 5

5

1 ratings