AstonJ

AstonJ

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)

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

Showing Posts 1 to 10

Linuus

Linuus

Added a blog post by @michalmuskala

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

https://ryanswapp.com/2016/11/29/phoenix-graphql-tutorial-with-absinthe/

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

AstonJ

AstonJ OP

I added a link to your post in the wiki :023:

AstonJ

AstonJ OP

Added a blog post by @Qqwy :023:

AstonJ

AstonJ OP

Added @chrismccord’s ElixirConf EU Keynote talk :023:

marciol

marciol

All explanations from this thread worth mention:

AstonJ

AstonJ OP

http://www.resurgens.io/2017/06/26/phoenix-1-3.html

by @dlively (EF thread)

Since this is an app I built in order to further my education, I opted to venture out on the bleeding edge and use Phoenix 1.3.0-rc. Don’t let the what seems like a minor version change fool you. While there are no real breaking changes or significant new features being introduced in 1.3, alterations to the directory structure and new code generators introduce a seismic shift in how a developer approaches a Phoenix project. Chris McCord provides an overview of these changes in the Lonestar Elixir keynote address, his Elixir Forum post, and his more recent ElixirConf EU keynote. Those were all essential for me to getting started, but I found the concepts easier to grasp once I began building my project…

AstonJ

AstonJ OP

With the recent Phoenix 1.3 release, Phoenix introduced Contexts, which are dedicated modules that expose and group related functionality. One frequent question that has come up is where to handle authorization for domain operations. Should authorization be handled in the Web layer at the controller, or within the context? Both are valid approaches, so let’s find out which approach is better and when…

peerreynders

peerreynders

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

Worth watching. 'nuff said.

Where Next? Top

Trending in Wikis Top

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
aseigo
ICal is a library for interacting with iCalendar data. It parses iCalendars into typed Elixir structs via ICal.from_ics, and can prepare ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews