AstonJ

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:

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)

Understanding the concept of a context in Phoenix (2017-08-16)

Threads

And more:

https://forum.elixirforum.net/search?q=contexts

Misc

Most Liked

peerreynders

peerreynders

Building beautiful systems with Phoenix contexts. Andrew Hao - ElixirDaze 2018 (March 1,2)

Worth watching. 'nuff said.

marciol

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

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

It is a full example, easy to follow on how contexts can interact.

AstonJ

AstonJ

Added a blog post by @Qqwy :023:

AstonJ

AstonJ

Where Next?

Popular in Wikis Top

Eiji
At start some definitions: HTTPS (is a protocol for secure communication over a computer network which is widely used on the Internet) -...
New
axelson
With the new year I am looking at travel for this year and I’d love to base some travel around Elixir. So in the spirit of the 2017 threa...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
New
swelham
Introduction After some discussion with a few other members we thought it might be an idea to start a thread where we can post about libr...
New
Rich_Morin
I’d like to start a discussion of data serialization formats, in the context of Elixir. The rest of this note is a combination of persona...
New
anildigital
Here is list of plugins for different editors Sublime Text 3 — Elixir.tmbundle - https://github.com/elixir-editors/elixir-tmbundle/#co...
New
AstonJ
I’ve noticed we’ve got a few now - wonder if we can compile a list? This is a wiki - anyone at Trust Level 1 can edit :023: Link: This...
New
ibgib
Popular Elixir Packages List of popular Atom.io Elixir Packages. These can be installed via atom’s package center or a command line with ...
New
blackode
This is a wiki - anyone at Trust Level 1 or higher can help keep it updated. Elixir Pocket Syntax Uncommon Logical stuff of Elixir modul...
New
BartOtten
A wiki for Doom Emacs Doom is a configuration framework for GNU Emacs. It focuses on performance and customizability. It can be a founda...
New

Other popular topics Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New

We're in Beta

About us Mission Statement