Phoenix (Phoenix v1.5.6)
This is the documentation for the Phoenix project.
By default, Phoenix applications depend on the following packages:
Ecto - a language integrated query and database wrapper
EEx - Elixir's built-in templating language
ExUnit - Elixir's built-in test framework
Phoenix - the Phoenix web framework (these docs)
Phoenix PubSub - a distributed pub/sub system with presence support
Phoenix HTML - conveniences for working with HTML in Phoenix
Plug - a specification and conveniences for composable modules in between web applications
To get started, see our overview guides.
Returns the configured JSON encoding library for Phoenix.
To customize the JSON library, including the following in your
config :phoenix, :json_library, Jason
:plug_init_mode that controls when plugs are initialized.
We recommend to set it to
:runtime in development for compilation time improvements. It must be
:compile in production (the default).
This option is passed as the
© 2014 Chris McCord
Licensed under the MIT License.