Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by Jose Valim, Bruce Tate, Chris McCord
Programming Phoenix 1.4
 Acknowledgments
José Valim
Bruce Tate
Chris McCord
 Preface
Is This Book for You?
About this Book
Online Resources
1. Introducing Phoenix
Productive
Concurrent
Beautiful Code
Interactive
Reliable
Part I. Building with Functional MVC
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
3. Controllers
Understanding Controllers
Building a Controller
Coding Views
Using Helpers
Showing a User
Wrapping Up
4. Ecto and Changesets
Understanding Ecto
Defining the User Schema and Migration
Using the Repository to Add Data
Building Forms
Creating Resources
Wrapping Up
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
6. Generators and Relationships
Using Generators
Building Relationships
Managing Related Data
In-context Relationships
Wrapping Up
7. Ecto Queries and Constraints
Seeding and Associating Categories
Diving Deeper into Ecto Queries
Constraints
Wrapping Up
8. Testing MVC
Understanding ExUnit
Testing Contexts
Using Ecto Sandbox for Test Isolation and Concurrency
Integration Tests
Unit-Testing Plugs
Testing Views and Templates
Wrapping Up
Part II. Writing Interactive and Maintainable Applications
9. Watching Videos
Watching Videos
Adding JavaScript
Creating Slugs
Wrapping Up
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
11. Observer and Umbrellas
Introspecting Applications with Observer
Using Umbrellas
Extracting Rumbl and RumblWeb
Wrapping Up
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
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
14. What’s Next?What’s Next?
Other Interesting Features
Phoenix LiveView
Phoenix PubSub 2.0
Phoenix and Telemetry Integration
Good Luck!
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Programming Phoenix ≥ 1.4
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset