Phoenix Live Controller Save

Controller-style abstraction for building multi-action live views on top of Phoenix.LiveView

Project README

Phoenix LiveController

License Build status Hex version

Controller-style abstraction for building multi-action live views on top of Phoenix.LiveView.

Installation

Add phoenix_live_controller to your list of dependencies in mix.exs:

def deps do
  [
    {:phoenix_live_controller, "~> 0.7.0"}
  ]
end

Learning

Benchmarking

Repository includes a benchmark that allows to measure the worst-case impact of using live controllers with plugs on the web app:

$ mix run priv/bench/bench.exs
inline compile: 0.038
inline run: 0.026
plug_atom compile: 0.233
plug_atom run: 0.155
plug_func compile: 0.234
plug_func run: 0.148
Open Source Agenda is not affiliated with "Phoenix Live Controller" Project. README Source: karolsluszniak/phoenix_live_controller
Stars
31
Open Issues
2
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating