Image for post
Image for post

At last year’s ElixirConf, Chris McCord stunned the keynote audience when he announced LiveView: a library for the Phoenix web development framework that would allow developers to perform real-time client-side updates using server-side Elixir.

Building upon the robust real-time communication provided by Phoenix channels, and the blazingly fast template rendering on the server, LiveView makes it possible to create user experiences that previously could only be accomplished with JavaScript. But now we can do it entirely with Elixir.

(If you need a refresher on LiveView, see this blog post that sums up the ElixirConf announcement).

LiveView was still in development at the time, but six weeks ago, Chris finally made the repo public, apparently succumbing to the throngs of developers who were eager to try it…


Image for post
Image for post

I am pleased and proud to announce that Programming Ecto, the book I co-authored with Eric Meadows-Jönsson, is officially complete and available through Pragmatic Bookshelf!

Wondering what’s it all about? Read on to find out how the book came to be, and what you can expect to find inside.

Where It All Began

Ecto is a database library for the Elixir programming language. It’s included with the Phoenix web development framework, so that’s where a lot of developers (including me) first encounter it, but it’s independent of Phoenix and you can use it in any Elixir application that needs to access a relational database.

When I first starting learning Ecto, I felt like there was a gap in the learning materials I found at the time. …


Image for post
Image for post

In his keynote at ElixirConf last week, Chris McCord announced a new feature for the Phoenix web framework that caused many jaws to hit the floor, and had the hall buzzing when the talk was over.

The new feature, tentatively called “LiveView”, allows developers to add dynamic, client-side interactions to web pages, using code that runs in Elixir on the server.

Wait…what?

If that doesn’t immediately make sense, let’s take a step back and consider the problem.

Think of a registration form on a web page. We want to provide immediate feedback to our users when the information they’re providing is missing or incorrect. We don’t want them to have to fill out the entire form, submit it to the server, then wait for a complete page re-render to discover they made an error. …

About

Darin Wilson

Web & mobile developer at @Infinite_Red, Ruby enthusiast, jazz pianist. Not always in that order.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store