It was different from the current version (0.14.x), there were some issues with it, but that didn’t scare us. The latest version at that point was 0.3.x. When we were starting the project, LiveView was something fresh. Fortunately, the specifics of the agreement with our client allowed us to use this experimental library. It’s still under substantial development with a minor release almost every week. LiveView is a library that compromises server-rendered templates with client-sided live updates. 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. 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.
0 Comments
Leave a Reply. |