sashaafm

sashaafm

This thread exists to aggregate learning resources about the Phoenix framework.

Feel free to add links to blog posts, articles, screencasts, etc. to the Wiki (this post) as well as in a new post in the thread (so everyone else is alerted as well) :023:

Books

Programming Phoenix (Pragprog) - by @chrismccord, @josevalim and Bruce Tate

Guides

Running Elixir and Phoenix projects on a cluster of nodes - A guide on how to run a distributed Elixir app by Chris McCoord.

Deploying Phoenix Applications with Exrm - Learn what Exrm is, what it is useful for and how to use it by Brandon Richey

Creating a Game Lobby System in Phoenix with Websockets - See how Phoenix and Websockets can be used together to build a game lobby for users by Alex Jensen

Subdomains With Phoenix - How to create subdomains by Gary Rennie

Complete Guide to Deploying Phoenix Applications Using Dokku - See how Dokku can be used to deploy Phoenix applications by Praveen Perera

Starter templates

React-Phoenix-Starter-Template - A starter template for those looking to use React with Phoenix by Ryan Swapp.

Example Applications

GraphQL-Phoenix-RethinkDB - A starter template for those looking to use React with Phoenix by Adam Brodzinski.

Phoenix_Guardian - An example implementation of authentication in Phoenix using Überauth and Guardian by Daniel Neighman.

Openmaize-Phoenix - Examples of using Openmaize authentication / authorization library in a Phoenix web application by David Whitlock.

Phoenix-Toggl - Toggl tribute done with Elixir, Phoenix Framework, React and Redux by Ricardo García.

Phoenix-Trello - Trello tribute done in Elixir, Phoenix Framework, React and Redux by Ricardo García.

Rethinkdb-Phoenix-Example - A simple app demonstrating how to use RethinkDB in a Phoenix application by Ryan Swapp.

Static Markdown blog posts with Elixir Phoenix - Create a blog with Markdown support by Sebastian Seilund

Phoenix Battleship - Battleship game built with Elixir, Phoenix, React and Redux. Part of a blog series.

Building API’s

Build and test a blazing fast JSON API with Phoenix - Learn how Phoenix can be used to build a JSON API by Paul Smith
Building a Phoenix API - See an API for a market be built using Phoenix by Luiz Varela

Informative

Guts of Phoenix websocket channels - Phoenix channels and its use of Websockets explained by Zohaib Rauf

Ecto for Rails developers — The basics - A quick introduction of Ecto for Rails developers by Igor Šarčević

Elixir and Phoenix: The Future of Web APIs and Apps? - carbonfive.com

The difference between web and lib - The difference and meaning of the web and lib directories is explained by Chris Keathley

Presentation Slides

Practical Elixir, Through Phoenix

Phoenix Is Not Your Application by Lance Halvorsen - ElixirConf EU 2016

Showing Posts 1 to 10

AstonJ

AstonJ

AstonJ

AstonJ

Programming Phoenix is out today :023:

AstonJ

AstonJ

Bit short, but just in case it’s of interest to anyone..

uranther

uranther

Phoenix Is Not Your Application

^ Slides from a presentation about modularity: Phoenix is merely an interface to your application. Love it!

pdilyard

pdilyard

@uranther:

I really like this concept as well. Our current project at work uses a lot of GenServers and that part of the application is written exactly like those slides lay out.

However, our project also has a lot of typical CRUD operations that rely on a database, and that part of the codebase is written in a pretty typical MVC way. How would the ideas in those slides translate to an application where you are using a database? Would the dependency applications all connect to the database?

uranther

uranther

I would imagine it would it behave like that KV module in the slides. This module has functions which allow you to read/write/update the database (a rudimentary GenServer). If you made a module for the CRUD operations which encapsulate your database, then the Phoenix interface would not need to know what database you are using, and you would be able to swap out the DB without changing much code. I think you will still need some Ecto schemas for frontend CRUD, but I think this code will be separate from your core application logic. I would like to see a non-trivial example of this kind of architecture with Phoenix.

pdilyard

pdilyard

+1 for seeing a non-trivial example, beyond just simple KV store in a GenServer. Anyone know of such a thing?

thinkpadder1

thinkpadder1

Found this blog post series: Building Phoenix Battleship

Edit: added it to the wiki.

Where Next? Top

Trending in Wikis Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews