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

TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
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
anildigital
Here is list of plugins for different editors Sublime Text 3 — Elixir.tmbundle - https://github.com/elixir-editors/elixir-tmbundle/#co...
New
yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
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
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
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
jdumont
Guide Using an iPad for web development can be easily split into two main parts: Setting up the iPad as a thin client Working in a remo...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New

Other popular topics Top

lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
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
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
quazar
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement