

We decided to give it a try instead of using some well-known frameworks like Angular or React. After some digging, we found a tool called “Phoenix LiveView”. One of the highlights of the Phoenix Framework is the Phoenix Liveview – an extension that enables a website to work like a single-page application with just a little effort.Īlthough the basic Phoenix Framework setup is adequate or a very robust back-end, we still lacked a modern solution for the front-end. Still, it’s relatively easy to find similar couples in other languages like Java and Spring Boot, Python and Django, or PHP and Symfony/Laravel. There’s a long list of things that are great about running a server on Elixir with Phoenix Framework.

It has a live reload mechanism enabled by default for the dev environment, so whenever you modify a file that’s on the watchlist, you’ll be presented with instant changes in the browser. While developing a Phoenix app, I sometimes forget that it’s still running on my laptop. Need a REST-like CRUD? No problem, one command and you have one with JSON replies instead of HTML.
#Phoenix liveview tutorial full#
With one command you get full CRUD with templates and simple controllers. We were positively surprised by how good the interaction within this framework is. It allows developers to bootstrap a simple website in almost no time. Phoenix is a package of libraries like Cowboy or Ecto, wrapped into a tight ecosystem with the addition of some helpers. Everywhere you go, you will see mention of the Phoenix Framework. Thanks to the vibrant community, we had a strong start. With that in mind, we started research on the most popular ways of developing web applications using Elixir. Apart from the language requirement, we were left with a choice of tools and frameworks. Nevertheless, we didn’t hesitate to pick up the gauntlet.

Requests for a software written in Elixir are rare. Our client was interested in the speed and flexibility. Last year we had the opportunity to develop an enterprise-class platform using the Elixir language.
