How to: Access tokens and flexible User Roles using Phoenix 1.3 generators
For a recent project I worked on, the admins needed a way to restrict access and only allow people with a key to register. I wrote a Set-up guide that emphasizes the new Phoenix generators!
Code is on Github
Released phoenix_pagination
I released phoenix_pagination, a pagination library for Ecto and Phoenix (forked from kerosene ) that uses plain EEx templates. Code is on github and online documentation is available.
Phoenix: Continuous Integration with Bitbucket Pipelines
Last week I start my first work with Phoenix / Elixir for a customer. I want to automate test and deploy. Here you can find how I start doing continuous integration with Bitbucket Pipelines.
Learning to Crawl - Building a Bare Bones Web Crawler with Elixir
Recently I’ve been working on a small side project that requires I crawl a website looking for external links. I decided that building a basic web crawler in Elixir would be a fantastic learning experience, so I documented the process. Check it out!
Storing Plug sessions with Mnesia
I wrote a blog post about storing Plug sessions with Mnesia.
https://medium.com/@ejpcmac/storing-plug-sessions-with-mnesia-c411f7bb604
Elixir Code Formatter for Atom Editor
I just released an Atom editor package that uses the new code formatter included in the coming Elixir 1.6 release. It automatically formats Elixir source code on save.
Building a simple Guess the Word game
Let’s build a simple Guess the Word game using basic elixir features
Erlang Behaviors… and how to behave around them
I just wrote an article about Erlang Behaviors ( https://medium.com/erlang-battleground/erlang-behaviors-4348e89351ff ), it’s likely relevant for elixir devs as well.
Mock Responses with Stash
I wrote a quick post on using the Stash library to assist with writing test modules.
https://medium.com/perplexinomicon-of-philosodad/mock-responses-with-stash-9f1d7f01a844
Everything you need to know about Elixir's new formatter
http://www.devonestes.com/everything-you-need-to-know-about-elixirs-new-formatter
I’ve written up a quick post about how you can get started with Elixir’s new formatter today, and some cool ways to integrate it with vim, CI, and some configuration options.
Automatically subscribe GenStages in Umbrella projects
https://medium.com/@iacobson/subscribe-genstages-under-umbrella-1fceec366633
The last article in the GenStage Under Umbrella series.
Rate-Limiting Phoenix (with Redis too)
I wrote a blog post about adding rate-limiting to a Phoenix app.
Migrating ActiveRecord STI to Ecto (pt. 1)
The first part of a small series I have started about migrating from ActiveRecord STI to Ecto schemas.
http://codeloveandboards.com/blog/2017/10/03/migrating-activerecord-sti-to-ecto/
Elixir GenServer Explained to Redux Developers
GenServer is te cornerstone of a lot of Elixir distributed apps. If know Redux, you’ll easily understand its strengths.
https://marmelab.com/blog/2017/10/04/elixir-genserver-explained-to-redux-developers.html
