Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Programming Phoenix
About the Pragmatic Bookshelf
Table of Contents
Early Praise for Programming Phoenix
Acknowledgments
José Valim
Bruce Tate
Chris McCord
Chapter 1: Introducing Phoenix
Fast
Concurrent
Beautiful Code
Interactive
Reliable
Is This Book for You?
Online Resources
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, Views, and Templates
The Controller
Creating Some Users
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
Wrapping Up
Chapter 7: Ecto Queries and Constraints
Adding Categories
Diving Deeper into Ecto Queries
Constraints
Wrapping Up
Chapter 8: Testing MVC
Understanding ExUnit
Using Mix to Run Phoenix Tests
Integration Tests
Unit-Testing Plugs
Testing Views and Templates
Splitting Side Effects in Model Tests
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
Wrapping Up
Chapter 11: OTP
Managing State with Processes
Building GenServers for OTP
Supervision Strategies
Designing an Information System with OTP
Building the Wolfram Info System
Wrapping Up
Chapter 12: Observer and Umbrellas
Introspecting with Observer
Using Umbrellas
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
What’s Coming Next
Good Luck
You May Be Interested In…
← Prev
Back
Next →
← Prev
Back
Next →