Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Programming Phoenix ≥ 1.4
About the Pragmatic Bookshelf
Table of Contents
Change History
B8.0: June 13, 2019
B7.0: March 19, 2019
B6.0: January 25, 2019
B5.0: October 19, 2018
B4.0: August 15, 2018
B3.0: August 2, 2018
B2.0: Jun 27, 2018
B1.0: May 23, 2018
Preface
Is This Book for You?
About this Book
Online Resources
Chapter 1: Introducing Phoenix
Productive
Concurrent
Beautiful Code
Interactive
Reliable
Part 1: Building with Functional MVC
Chapter 2: The Lay of the Land
Simple Functions
Installing Your Development Environment
Creating a Throwaway Project
Building a Feature
Going Deeper: The Request Pipeline
Wrapping Up
Chapter 3: Controllers
Understanding Controllers
Building a Controller
Coding Views
Using Helpers
Showing a User
Wrapping Up
Chapter 4: Ecto and Changesets
Understanding Ecto
Defining the User Schema and Migration
Using the Repository to Add Data
Building Forms
Creating Resources
Wrapping Up
Chapter 5: Authenticating Users
Preparing for Authentication
Managing Registration Changesets
Creating Users
The Anatomy of a Plug
Writing an Authentication Plug
Implementing Login and Logout
Presenting User Account Links
Wrapping Up
Chapter 6: Generators and Relationships
Using Generators
Building Relationships
Managing Related Data
In-context Relationships
Wrapping Up
Chapter 7: Ecto Queries and Constraints
Seeding and Associating Categories
Diving Deeper into Ecto Queries
Constraints
Wrapping Up
Chapter 8: Testing MVC
Understanding ExUnit
Testing Contexts
Using Ecto Sandbox for Test Isolation and Con currency
Integration Tests
Unit-Testing Plugs
Testing Views and Templates
Wrapping Up
Part 2: Writing Interactive and Maintainable Applications
Chapter 9: Watching Videos
Watching Videos
Adding JavaScript
Creating Slugs
Wrapping Up
Chapter 10: Using Channels
The Channel
Phoenix Clients with ES6
Preparing Our Server for the Channel
Creating the Channel
Sending and Receiving Events
Socket Authentication
Persisting Annotations
Handling Disconnects
Tracking Presence on a Channel
Wrapping Up
Chapter 11: Observer and Umbrellas
Introspecting Applications with Observer
Using Umbrellas
Extracting Rumbl and RumblWeb
Wrapping Up
Chapter 12: OTP
Managing State with Processes
Building GenServers for OTP
Designing an Information System with OTP
Building the Wolfram Info System
Integrating OTP Services with Channels
Wrapping Up
Chapter 13: Testing Channels and OTP
Testing the Information System
Isolating Wolfram
Adding Tests to Channels
Authenticating a Test Socket
Communicating with a Test Channel
Wrapping Up
Chapter 14: What’s Next?
Other Interesting Features
Phoenix LiveView
Phoenix PubSub 2.0
Phoenix and Telemetry Integration
Good Luck
← Prev
Back
Next →
← Prev
Back
Next →