or subscribe with
Join 3,000+ readers for one email each week.
Digests » 146
Build API and web-apps using Ruby on Rails and Elixir that handle complex data models and state efficiently, while having great architectural design to manage complexity. Develop operations solutions by guiding development of program specifications, overseeing testing efforts, role building modern API-driven web and mobile systems.
this week's favorite
Do you have a Rails background? Are you tired of looking at outdated or incomplete tutorials on how to build a JSON API using Elixir and Phoenix? Then, read on my friend!
The process of making HTTP requests in Elixir seems to be obvious for every developer: one should take HTTPoison (3,5M downloads from Hex.pm), and do whatever he wants! But… Have you ever thought about alternatives? If not - follow this article, and get the answer to the question: How to make HTTP request?
Pushest is bidirectional Pusher client leveraging Elixir/OTP to combine server and client-side Pusher features together in one library. Pushest communicates both via WebSockets and REST API. You can trigger on any channel, subscribe to channels, handle events using callbacks or keep track of presence.
You can adapt the ideas presented in the last article to any kind of application. Macros can be used to build a Plug-like DSL for your specific use-case. But be careful: Use metaprogramming wisely and only where it’s a good fit. Do not try to build the “Plug for everything”.
Lately I have been fascinated by Elixir. It is a nice little language built on a rock-solid foundation: the BEAM - Erlang's virtual machine. Not just the syntax, which is pretty easy on the eyes with its Ruby-esque look, but also available articles and tooling welcome you with simple instructions and intuitive to use interfaces.