Functional Web Development with Elixir, Otp, and Phoenix

Functional Web Development with Elixir, Otp, and Phoenix
Author :
Publisher : Pragmatic Bookshelf
Total Pages : 250
Release :
ISBN-10 : 1680502433
ISBN-13 : 9781680502435
Rating : 4/5 (435 Downloads)

Book Synopsis Functional Web Development with Elixir, Otp, and Phoenix by : Lance Halvorsen

Download or read book Functional Web Development with Elixir, Otp, and Phoenix written by Lance Halvorsen and published by Pragmatic Bookshelf. This book was released on 2017-10-25 with total page 250 pages. Available in PDF, EPUB and Kindle. Book excerpt: Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web applications. Make the most of them as you build a stateful web app with Elixir and OTP. Model domain entities without an ORM or a database. Manage server state and keep your code clean with OTP Behaviours. Layer on a Phoenix web interface without coupling it to the business logic. Open doors to powerful new techniques that will get you thinking about web development in fundamentally new ways. Elixir and OTP give us exceptional tools to build stateful back-end applications that really scale, with rock-solid reliability. In this book, you'll build a web application in ways that are radically different from the norm. The back end will be stateful, not stateless. Use persistent connections with Phoenix Channels instead of HTTP's request-response, and create the full application in distinct, decoupled layers. In Part 1, start by building the business logic as a separate application, without Phoenix. Model the application domain with Elixir Agents and simple data structures. By keeping state in memory instead of a database, you can reduce latency and simplify your code. Then add OTP Behaviours such as gen_server and gen_fsm that make managing in-memory state a breeze. Create a supervision tree to boost fault tolerance while separating error handling from business logic. Phoenix is a modern web framework you can layer on top of business logic while keeping the two completely decoupled. In Part 2, you'll do exactly that as you build a web interface with Phoenix. Bring in the application from Part 1 as a dependency to a new Phoenix project. Then use ultra-scalable Phoenix Channels to establish persistent connections between the stateful server and a stateful front-end client. You're going to love this way of building web apps! What You Need: You'll need a computer that can run Elixir version 1.3 or higher and Phoenix 1.2 or higher. Some familiarity with Elixir and Phoenix is recommended.


Functional Web Development with Elixir, Otp, and Phoenix Related Books

Functional Web Development with Elixir, Otp, and Phoenix
Language: en
Pages: 250
Authors: Lance Halvorsen
Categories: Computers
Type: BOOK - Published: 2017-10-25 - Publisher: Pragmatic Bookshelf

GET EBOOK

Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web applications. Make the most of them as you build a sta
Designing Elixir Systems with Otp: Write Highly Scalable, Self-Healing Software with Layers
Language: en
Pages: 250
Authors: James Edward Gray
Categories: Computers
Type: BOOK - Published: 2019-11-04 - Publisher: Pragmatic Bookshelf

GET EBOOK

You know how to code in Elixir; now learn to think in it. Learn to design libraries with intelligent layers that shape the right data structures, flow from one
Phoenix Web Development
Language: en
Pages: 398
Authors: Mike Voloz
Categories: Computers
Type: BOOK - Published: 2018-04-30 - Publisher: Packt Publishing Ltd

GET EBOOK

The Phoenix web development framework is an object-oriented application development tool written in Elixir. With Elixir and Phoenix, you build your application
The Little Elixir & OTP Guidebook
Language: en
Pages: 454
Authors: Benjamin Tan Wei Hao
Categories: Computers
Type: BOOK - Published: 2016-09-25 - Publisher: Simon and Schuster

GET EBOOK

Summary The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin with a quick overview of the Elixir language
Elixir in Action
Language: en
Pages: 673
Authors: Sasa Juric
Categories: Computers
Type: BOOK - Published: 2019-01-03 - Publisher: Simon and Schuster

GET EBOOK

Summary Revised and updated for Elixir 1.7, Elixir in Action, Second Edition teaches you how to apply Elixir to practical problems associated with scalability,