Functional Web Development with Elixir, OTP and Phoenix (Paperback)
  • Functional Web Development with Elixir, OTP and Phoenix (Paperback)
zoom

Functional Web Development with Elixir, OTP and Phoenix (Paperback)

(author)
£36.99
Paperback 250 Pages / Published: 20/02/2018
  • We can order this

Usually dispatched within 1 week

  • This item has been added to your basket
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.

Publisher: The Pragmatic Programmers
ISBN: 9781680502435
Number of pages: 250
Weight: 392 g
Dimensions: 234 x 189 x 12 mm

You may also be interested in...

Learn Python the Hard Way
Added to basket
£29.48
Mixed media product
Automate The Boring Stuff With Python
Added to basket
Beginning Python
Added to basket
£31.99
Paperback
Programming PHP
Added to basket
£31.99
Paperback
Python Crash Course
Added to basket
£33.99
Paperback
The Cloud at Your Service
Added to basket
Designing the Internet of Things
Added to basket
Data Wrangling with Python
Added to basket
Python For Dummies
Added to basket
£22.99
Paperback
Learning JavaScript Design Patterns
Added to basket
Eloquent Javascript, 2nd Ed.
Added to basket
Python for Data Science For Dummies
Added to basket
Getting Started with Processing
Added to basket
Learning Python
Added to basket
£51.99
Paperback
Python Pocket Reference
Added to basket

Reviews

Please sign in to write a review

Your review has been submitted successfully.