Phoenix Web Development

Learn to build a high-performance functional prototype of a voting web application from scratch using Elixir and Phoenix
Preview in Mapt

Phoenix Web Development

Brandon Richey
New Release!

Learn to build a high-performance functional prototype of a voting web application from scratch using Elixir and Phoenix
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Phoenix Web Development Book Cover
Phoenix Web Development
$ 31.99
$ 22.40
Full-Stack Web Development with Vue.js and Node Book Cover
Full-Stack Web Development with Vue.js and Node
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $32.98
Add to Cart

Book Details

ISBN 139781787284197
Paperback406 pages

Book Description

Phoenix is a modern web development framework that is used to build API’s and web applications. It is built on Elixir and runs on Erlang VM which makes it much faster than other options. With Elixir and Phoenix, you build your application the right way, ready to scale and ready for the increasing demands of real-time web applications.

This book covers the basics of the Phoenix web framework, showing you how to build a community voting application, and is divided into three parts. In the first part, you will be introduced to Phoenix and Elixir and understand the core terminologies that are used to describe them. You will also learn to build controller pages, store and retrieve data, add users to your app pages and protect your database. In the second section you will be able to reinforce your knowledge of architecting real time applications in phoenix and not only debug these applications but also diagnose issues in them. In the third and final section you will have the complete understanding of deploying and running the phoenix application and should be comfortable to make your first application release

By the end of this book, you'll have a strong grasp of all of the core fundamentals of the Phoenix framework, and will have built a full production-ready web application from scratch.

Table of Contents

Chapter 1: A Brief Introduction to Elixir and Phoenix
Introducing IEx and Elixir
Introduction to Phoenix
Creating a new Phoenix project
Summary
Chapter 2: Building Controllers, Views, and Templates
Understanding the flow of Phoenix connections
Creating our Social Voting project
Creating a poll controller
Writing controller tests
Summary
Chapter 3: Storing and Retrieving Vote Data with Ecto Pages
Understanding the role of schemas
Creating a new migration
Creating our Poll schema
Creating our Option schema
Understanding the role of contexts
Creating a new poll
Writing our unit tests
Summary
Chapter 4: Introducing User Accounts and Sessions
Adding user accounts
Summary
Chapter 5: Validations, Errors, and Tying Loose Ends
Connecting polls to users
Summary
Chapter 6: Live Voting with Phoenix
Building channels and topics in Phoenix
Summary
Chapter 7: Improving Our Application and Adding Features
Designing and implementing our new features
Summary
Chapter 8: Adding Chat to Your Phoenix Application
Adding chat to a Phoenix application
Summary
Chapter 9: Using Presence and ETS in Phoenix
Utilizing Presence and ETS to make our app more robust
Summary
Chapter 10: Working with Elixir's Concurrency Model
Introduction to Elixir's concurrency model
Summary
Chapter 11: Implementing OAuth in Our Application
Solidifying the new user experience
Adding Ueberauth support
Summary
Chapter 12: Building an API and Deploying
Building our API
Deploying Phoenix applications to production
Summary

What You Will Learn

  • Learn Phoenix Framework fundamentals and v1.3's new application structure
  • Build real-time applications with channels and presence
  • Utilize GenServers and other OTP fundamentals to keep an application stable
  • Track users as they sign in and out of chat with Phoenix’s built-in presence functionality
  • Write your own database interaction code that is safe, bug-free, and easy to work with
  • Explore testing and debugging methodologies to understand a real software development lifecycle for a Phoenix application
  • Deploy and run your Phoenix application in production

Authors

Table of Contents

Chapter 1: A Brief Introduction to Elixir and Phoenix
Introducing IEx and Elixir
Introduction to Phoenix
Creating a new Phoenix project
Summary
Chapter 2: Building Controllers, Views, and Templates
Understanding the flow of Phoenix connections
Creating our Social Voting project
Creating a poll controller
Writing controller tests
Summary
Chapter 3: Storing and Retrieving Vote Data with Ecto Pages
Understanding the role of schemas
Creating a new migration
Creating our Poll schema
Creating our Option schema
Understanding the role of contexts
Creating a new poll
Writing our unit tests
Summary
Chapter 4: Introducing User Accounts and Sessions
Adding user accounts
Summary
Chapter 5: Validations, Errors, and Tying Loose Ends
Connecting polls to users
Summary
Chapter 6: Live Voting with Phoenix
Building channels and topics in Phoenix
Summary
Chapter 7: Improving Our Application and Adding Features
Designing and implementing our new features
Summary
Chapter 8: Adding Chat to Your Phoenix Application
Adding chat to a Phoenix application
Summary
Chapter 9: Using Presence and ETS in Phoenix
Utilizing Presence and ETS to make our app more robust
Summary
Chapter 10: Working with Elixir's Concurrency Model
Introduction to Elixir's concurrency model
Summary
Chapter 11: Implementing OAuth in Our Application
Solidifying the new user experience
Adding Ueberauth support
Summary
Chapter 12: Building an API and Deploying
Building our API
Deploying Phoenix applications to production
Summary

Book Details

ISBN 139781787284197
Paperback406 pages
Read More

Read More Reviews

Recommended for You

Full-Stack Web Development with Vue.js and Node Book Cover
Full-Stack Web Development with Vue.js and Node
$ 35.99
$ 25.20
Selenium WebDriver With Java - Novice To Ninja plus Interview [Video] Book Cover
Selenium WebDriver With Java - Novice To Ninja plus Interview [Video]
$ 201.99
$ 171.70
Azure Platform as a Service – Web and API Application Deployment [Video] Book Cover
Azure Platform as a Service – Web and API Application Deployment [Video]
$ 124.99
$ 106.25
Hands-on GraphQL for Better RESTful Web Services [Video] Book Cover
Hands-on GraphQL for Better RESTful Web Services [Video]
$ 124.99
$ 106.25
Build Real World Websites from Scratch using HTML5 and CSS3 [Video] Book Cover
Build Real World Websites from Scratch using HTML5 and CSS3 [Video]
$ 187.99
$ 159.80
RESTful Web API Design with Node.js 10 - Third Edition Book Cover
RESTful Web API Design with Node.js 10 - Third Edition
$ 23.99
$ 16.80