Phoenix (Web Framework)

From Handwiki

Short description: Web framework written in Elixir
Phoenix

Phoenix is a web development framework written in the functional programming language Elixir.

Details

Phoenix uses a server-side model–view–controller (MVC) pattern.[1] Based on the Plug library,[2] and ultimately the Cowboy Erlang framework,[3] it was developed to provide highly performant and scalable web applications. In addition to the request/response functionality provided by the underlying Cowboy server,[4] Phoenix provides soft realtime communication to external clients through WebSockets or long polling using its language agnostic channels feature.[5][6]

Two notable features of Phoenix are LiveView and HEEx. LiveView provides real-time user experiences with server-rendered HTML over HTTP and WebSocket.[7] HEEx is Phoenix's templating language which provides HTML-aware compile time checking.[8]

See also

  • Comparison of web frameworks
  • Mix (build tool)

References

  1. Krill, Paul. "Phoenix Web framework rises to 1.0 status" (in en). JavaWorld. https://www.javaworld.com/article/2979032/developer-tools-ide/phoenix-web-framework-rises-to-1-0-status.html. 
  2. "plug". https://hex.pm/packages/plug. 
  3. "Nine Nines: Cowboy User Guide". https://ninenines.eu/docs/en/cowboy/2.10/guide/. 
  4. McCord, Chris; Tate, Bruce; Valim, José (2016). Programming Phoenix. Pragmatic Bookshelf. p. 18. ISBN 9781680504361. 
  5. "elixir and phoenix so far, channels - Tech Dominator". http://blog.techdominator.com/article/elixir-phoenix-so-far-channels.html. 
  6. DeBenedetto, Sophie. "Building a Real Time App With Phoenix". https://timber.io/blog/building-a-real-time-app-with-phoenix/. 
  7. "Phoenix.LiveView — Phoenix LiveView v0.18.2". https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html. 
  8. "Assigns and HEEx templates — Phoenix LiveView v0.18.2". https://hexdocs.pm/phoenix_live_view/assigns-eex.html. 

External links



Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Phoenix_(web_framework)&oldid=3674922"

Categories: [Web frameworks]


Download as ZWI file | Last modified: 08/21/2024 15:45:39 | 3 views
☰ Source: https://handwiki.org/wiki/Software:Phoenix_(web_framework) | License: CC BY-SA 3.0

ZWI is not signed. [what is this?]