phoenix v0.5.0

Modules summary

Mix.Tasks.Compile.Phoenix

Compiles Phoenix source files that support code reloading

Mix.Tasks.Phoenix.New

Creates a new Phoenix application

Mix.Tasks.Phoenix.Routes

Prints all routes for the default or a given router

Mix.Tasks.Phoenix.Start

Starts the router or a given worker

Phoenix
Phoenix.Channel
Phoenix.CodeReloader

Server to handle automatic code reloading

Phoenix.Controller

Controllers are used to group common functionality in the same (pluggable) module

Phoenix.Controller.Connection

Handles Interacting with Plug.Conn and integration with the Controller layer

Phoenix.Controller.ErrorController

Default 404 and 500 error page controller, configured via Mix on each Router

Phoenix.Controller.Errors
Phoenix.Controller.Exception

Formats Plug exceptions and handles Error logging

Phoenix.Controller.Flash

Handles One-time messages, often referred to as “Flash” messages. Messages can be stored in the session and persisted across redirects for notices and alerts about request state

Phoenix.Controller.Pipeline

This module implements the controller pipeline responsible for handling requests

Phoenix.Html
Phoenix.Html.Engine
Phoenix.Naming
Phoenix.Plugs.Accepts

Plug to handle which Accept headers a Plug stack accepts. Unaccepted mime-types will return a 400 Bad Request response

Phoenix.Plugs.CodeReloader

A plug that simply calls Phoenix’s code reloader

Phoenix.Plugs.ContentTypeFetcher

Plug to parse Accept headers for response content-type

Phoenix.Plugs.ControllerLogger

Plug to handle request logging at the router level

Phoenix.Router

Defines the Phoenix router

Phoenix.Router.Socket
Phoenix.Socket

Holds state for multiplexed socket connections and Channel/Topic authorization

Phoenix.Socket.Handler
Phoenix.Socket.Message
Phoenix.Supervisor
Phoenix.Template
Phoenix.Template.Compiler

Precompiles EEx templates into view module and provides render support

Phoenix.Template.EExEngine
Phoenix.Template.Engine

Engines need only to support precompiling a template function, of the form:

Phoenix.Topic

Serves as a Notification and PubSub layer for broad use-cases. Used internally by Channels for pubsub broadcast

Phoenix.Topic.GarbageCollector
Phoenix.Topic.Server

Handles Topic subscriptions and garbage collection with node failover

Phoenix.View

Serves as the base view for an entire Phoenix application view layer

Phoenix.View.Helpers

Imported into all Phoenix Views for rendering support and template helper functions

Exceptions summary

Phoenix.Controller.Errors.UnfetchedContentType

Raised when trying to access private conn :phoenix_content_type when it has yet to be fetched

Phoenix.Socket.Handler.InvalidReturn
Phoenix.Socket.Message.InvalidMessage
Phoenix.Template.UndefinedError

Protocols summary

Phoenix.Html.Safe