Book Image

Phoenix Web Development

By : Brandon Richey
Book Image

Phoenix Web Development

By: Brandon Richey

Overview of this book

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 (14 chapters)
4
Introducing User Accounts and Sessions

Summary

Now we've tied up all of the loose ends in our application and done everything we can to preserve the integrity of both the data and functions in it. We're now at a point where we can be confident in our web application and we've set ourselves up for success in a pretty significant way!

At this point, I think we can pat ourselves on the back. We have a good, working application with some (basic) security checks in place and a lot of the functionality that people expect from their web applications. We've also learned how to interact with more of the Phoenix and Ecto built-ins and provided modules. We're now ready to start diving into some of the more complicated parts of building an Elixir or Phoenix application (especially one including real-time channels for data), so let's start putting together what it means to build a truly real-time live...