1. EachPod

34: Matt Machuga - Dealing with Dependencies in Active Record Models

Author
Adam Wathan
Published
Wed 27 Jan 2016
Episode Link
https://share.transistor.fm/s/195242f2

Topics include:

  • Are facades and service location automatically bad?
  • Are NounVerber classes anti-OO?
  • Adding a layer of composition to create domain models with dependencies
  • Using method injection for a temporary dependency
  • Using optional parameters to improve testability

Code snippets:

Links:

Share to: