Functional Web Development with Elixir, OTP, and Phoenix

Rethink the Modern Web App

Nonfiction, Computers, Advanced Computing, Parallel Processing, General Computing, Internet
Cover of the book Functional Web Development with Elixir, OTP, and Phoenix by Lance Halvorsen, Pragmatic Bookshelf
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Lance Halvorsen ISBN: 9781680505443
Publisher: Pragmatic Bookshelf Publication: January 25, 2018
Imprint: Pragmatic Bookshelf Language: English
Author: Lance Halvorsen
ISBN: 9781680505443
Publisher: Pragmatic Bookshelf
Publication: January 25, 2018
Imprint: Pragmatic Bookshelf
Language: English

Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web applications. For decades OTP has helped developers create incredibly robust, scalable applications with unparalleled uptime. Make the most of them as you build a stateful web app with Elixir, OTP, and Phoenix. 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 provide exceptional tools to build rock-solid back-end applications that scale. In this book, you'll build a web application in a radically different way, with a back end that holds application state. You'll use persistent Phoenix Channel connections 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 functions and simple data structures. By keeping state in memory instead of a database, you can reduce latency and simplify your code. In Part 2, add in the GenServer Behaviour to 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 3, you'll do exactly that as you build a web interface with Phoenix. Bring in the application from Part 2 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.5 or higher and Phoenix 1.3 or higher. Some familiarity with Elixir and Phoenix is recommended.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web applications. For decades OTP has helped developers create incredibly robust, scalable applications with unparalleled uptime. Make the most of them as you build a stateful web app with Elixir, OTP, and Phoenix. 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 provide exceptional tools to build rock-solid back-end applications that scale. In this book, you'll build a web application in a radically different way, with a back end that holds application state. You'll use persistent Phoenix Channel connections 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 functions and simple data structures. By keeping state in memory instead of a database, you can reduce latency and simplify your code. In Part 2, add in the GenServer Behaviour to 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 3, you'll do exactly that as you build a web interface with Phoenix. Bring in the application from Part 2 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.5 or higher and Phoenix 1.3 or higher. Some familiarity with Elixir and Phoenix is recommended.

More books from Pragmatic Bookshelf

Cover of the book Node.js 8 the Right Way by Lance Halvorsen
Cover of the book Ruby Performance Optimization by Lance Halvorsen
Cover of the book Async JavaScript by Lance Halvorsen
Cover of the book OpenGL ES 2 for Android by Lance Halvorsen
Cover of the book New Programmer's Survival Manual by Lance Halvorsen
Cover of the book Programming Phoenix by Lance Halvorsen
Cover of the book Release It! by Lance Halvorsen
Cover of the book Functional Programming: A PragPub Anthology by Lance Halvorsen
Cover of the book Rails, Angular, Postgres, and Bootstrap by Lance Halvorsen
Cover of the book Domain Modeling Made Functional by Lance Halvorsen
Cover of the book Arduino: A Quick-Start Guide by Lance Halvorsen
Cover of the book Mastering Clojure Macros by Lance Halvorsen
Cover of the book Practices of an Agile Developer by Lance Halvorsen
Cover of the book Behind Closed Doors by Lance Halvorsen
Cover of the book Secure Your Node.js Web Application by Lance Halvorsen
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy