42 min listen
34: Matt Machuga - Dealing with Dependencies in Active Record Models
FromFull Stack Radio
ratings:
Length:
39 minutes
Released:
Jan 27, 2016
Format:
Podcast episode
Description
In this episode, Matt Machuga of Think Through Math returns to talk with Adam about design options when you find yourself wanting access to a collaborator in an Active Record or Eloquent model. They discuss the pros and cons of four specific designs, and finish off with their personal recommendations.
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
This episode is brought to you by Laracasts.
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
This episode is brought to you by Laracasts.
Released:
Jan 27, 2016
Format:
Podcast episode
Titles in the series (100)
6: Chris Fidao - Servers for Hackers: In this episode, Adam talks with Chris Fidao of Userscape. They talk about things every web developer should know about server administration, platform-as-a-service vs. self-hosting, Ansible, Docker, and more. by Full Stack Radio