Phoenix Web Development: Create rich web applications using functional programming techniques with Phoenix and Elixir
by: Brandon Richey
ISBN-10: 1787284190
ISBN-13: 9781787284197
Released: 2018-04-30
Pages: 406
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.
Contents
1: A BRIEF INTRODUCTION TO ELIXIR AND PHOENIX
2: BUILDING CONTROLLERS,VIEWS,AND TEMPLATES
3: STORING AND RETRIEVING VOTE DATA WITH ECTO PAGES
4: INTRODUCING USER ACCOUNTS AND SESSIONS
5: VALIDATIONS,ERRORS,AND TYING LOOSE ENDS
6: LIVE VOTING WITH PHOENIX
7: IMPROVING OUR APPLICATION AND ADDING FEATURES
8: ADDING CHAT TO YOUR PHOENIX APPLICATION
9: USING PRESENCE AND ETS IN PHOENIX
10: WORKING WITH ELIXIR’S CONCURRENCY MODEL
11: IMPLEMENTING OAUTH IN OUR APPLICATION
12: BUILDING AN API AND DEPLOYING
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
Brandon Richey
Brandon Richey is a software engineer and Elixir enthusiast who has written a large number of popular Elixir tutorials. He has been doing professional and hobby programming projects spanning topics from healthcare,personal sites,recruiting,and game development for nearly 20 years! When not programming,Brandon enjoys spending time with his family,playing (and making) video games and working on his drawings and paintings!