Digests » 335


Build Fast and Secure Sites in Record Time with Cloudflare Pages

Cloudflare Pages is a JAMstack platform for frontend developers to collaborate and deploy websites on demand. Developer-focused with effortless Git integration. Advanced collaboration built-in with unlimited seats. Unmatched performance on Cloudflare’s edge network. Dynamic functionality through integrations with Cloudflare Workers.

this week's favorite

Pagination and infinite scroll in Phoenix

Data gets big, really big. You can optimize your data retrieval with faster algorithms, but at some point, there’s simply too much data for your client or server to handle.

Elixir access behaviour

Access supports keyword lists (Keyword) and maps (Map) out of the box, but not structs.

Building a simple Calendly clone with Phoenix LiveView

I’ve been using Elixir and Phoenix for the last six years to build from APIs to complete web applicaions using React and Elm on the front-end, being Elm my weapon of choice primarily. Since LiveView came out, I have played around with it a couple of times, first to build an ant farm and second to set up a headless CMS. However, I never ended up getting hooked by it, and I kept relying on Elm to build my front-ends. But when Phoenix v1.6 and LiveView v0.17 came out, my feelings about LiveView changed utterly, and I couldn’t resist making something more extensive to test out all its new features, making me finally understand all of its power.

Build a Postgres proxy in Elixir using pattern matching

Want to learn how your Application talks to your Database? Build a proxy using Elixir with its powerful pattern matching and gen_tcp to take your database understanding to the next level. In this article we build a Postgres proxy in Elixir to show all you need is a little curiosity to master one of the most popular SQL protocols around.

Phoenix database migrations with Elixir releases

When you deploy your Phoenix app with Elixir releases, you need to create a new module to handle database migrations and other custom commands. You can’t run mix ecto.migrate and other Mix commands when using releases because Mix is not available. We’re going to review the default Release module provided in the Phoenix guides to run migrations in your production environment and then add additional commands and functions to handle some other less common situations.


Free eBook: Understanding Terraform

This ebook and audiobook will help you understand the underlying concepts of this infrastructure as a code tool and how it can be a significant resource when your cloud infrastructure hits critical mass. This content is available as an instant download with no registration required. Download Now.