Context-Driven Development: Architecture your code with Phoenixย context
Presented at 2021 ElixirConf by Jenny Shih
Note: There are quite a few gifs in the slides. They can be only uploaded as still images so some effects are gone, but that doesn't affect the values this presentation wants to convey.
tricky to determine if two resources belong to the same context or not. In those cases, prefer distinct contexts per resource and refactor later if necessary. โ The cunning challenges of contexts
โข use_case/notify_user.ex โข adapter/store/noti fi cation_store.ex โข adapter/store/user_store.ex โข adapter/web/controller/noti fi cation_controller.ex Improve current architecture with context
โข domain/store/user_store.ex โข use_case/notify_user.ex โข adapter/store/noti fi cation_store.ex โข adapter/store/user_store.ex โข adapter/web/controller/noti fi cation_controller.ex Improve current architecture with context
โข domain/store/user_store.ex โข use_case/notify_user.ex โข adapter/store/noti fi cation_store.ex โข adapter/store/user_store.ex โข adapter/web/controller/noti fi cation_controller.ex Improve current architecture with context
Structure by Robert C. Martin โข Functional Web Development with Elixir, OTP, and Phoenix by by Lance Halvorsen โข Domain Modeling Made Functional by Scott Wlaschin โข Implementing Domain-Driven Design by Vaughn Vernon โข Programming Phoenix by Bruce Tate, Chris McCord and Josรฉ Valim
DDD by Andrew Hao โข Lonestar ElixirConf 2017- KEYNOTE: Phoenix 1.3 by Chris McCord โข Ruby Midwest 2011 - Keynote: Architecture the Lost Years by Robert Martin