AstonJ
Phoenix Contexts - learning resources
Wonder if we can compile a list of learning resources, blog posts, talks, threads etc to help those who are just learning about Contexts.
This is a wiki - so please add anything you feel is missing…
What are Phoenix Contexts?
In short:
Phoenix Contexts are just dedicated modules that expose and group functionality.
In depth:
- Official docs
- Phoenix Contexts explained by forum members
- Chris’s announcement on 1.3rc
- Chris’s announcement on 1.3 RC3 release
Books
Programming Phoenix - due to be updated for Phoenix 1.3.
Screencasts
Talks
Blog Posts
https://panache.nu/blog/giving-phoenix-contexts-some-context
http://www.resurgens.io/2017/06/26/phoenix-1-3.html by @dlively (thread)
https://robots.thoughtbot.com/lessons-from-using-phoenix-1-3
Understanding the concept of a context in Phoenix (2017-08-16)
Threads
And more:
https://forum.elixirforum.com/search?q=contexts
Misc
- Phoenix 1.3 Sample Application (with Absinthe)
Most Liked
peerreynders
Building beautiful systems with Phoenix contexts. Andrew Hao - ElixirDaze 2018 (March 1,2)
Worth watching. 'nuff said.
marciol
Great article by @devonestes suggesting some rules to guide the design of Contexts:
http://devonestes.herokuapp.com/a-proposal-for-context-rules
Recommended to me by João Brito of @Plataformatec.
kokolegorille
There is an example phoenix 1.3 application, with contexts and absinthe here
https://seanclayton.me/post/phoenix-1-3-and-graphql-with-absinthe/?utm_source=hashnode.com
Which obviously is inspired by this one
https://ryanswapp.com/2016/11/29/phoenix-graphql-tutorial-with-absinthe/
It is a full example, easy to follow on how contexts can interact.
Popular in Wikis
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









