Phoenix Web Development: Create rich web applications using functional programming techniques with Phoenix and Elixir (English Edition) - Softcover

Richey, Brandon

 
9781787284197: Phoenix Web Development: Create rich web applications using functional programming techniques with Phoenix and Elixir (English Edition)

Inhaltsangabe

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

Key Features

  • Build a strong foundation in Functional-Programming techniques while learning to build compelling web applications
  • Understand the Elixir Concurrency and parallelization model to build high-performing blazingly fast applications
  • Learn to test, debug and deploy your web applications using Phoenix framework

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.

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

Who This Book Is For

This book is for people with a basic knowledge of Elixir, who want to start building web applications. Prior experience with web technologies is assumed.

Table of Contents

  1. Introducing Elixir and Phoenix Pages
  2. Building Our Vote Controllers
  3. Storing and Retrieving Vote Data with Ecto Pages
  4. Adding Users to our App Pages
  5. Protecting our Database from Bad Data Pages
  6. Live-Voting with Channels and Javascript
  7. Writing the Javascript to Handle Channels
  8. Adding Chat to Our App
  9. Caching Vote Data with ETS
  10. Understanding the Elixir Concurrency Model
  11. Writing Our Search Genserver
  12. Deploying our Application

Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.

Über die Autorin bzw. den Autor

Brandon Richey is a software engineer and a React enthusiast who has written several popular React tutorials. He has been making professional and hobby programming projects spanning healthcare, personal sites, recruiting, and game development for nearly 20 years! Brandon is the author of the Packt book 'Create React App 2 Quick Start Guide'.

„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.