theme | class |
---|---|
uncover |
invert |
A Solution to Madness - Joshua Plicque
- What is Phoenix LiveView and what does it promise?
- How LiveView Works
- Phoenix LiveView Programming Model - Thinking in LiveView
- Using Phoenix Contexts to reuse code and quickly spin up API's
- Writing Tests - And why it's blissful
- Coding with alpha software
- I run a small web development shop
- Developing Software Professionally for 7 years
- Been using LiveView full-time for just under a year
Phoenix LiveView is an exciting new library which enables rich, real-time user experiences with server-rendered HTML. LiveView powered applications are stateful on the server with bidirectional communication via WebSockets, offering a vastly simplified programming model compared to JavaScript alternatives.
Chris McCord
The people demand better
Get blackout drunk with no hangover.
- Endpoint
- Router
- Initial Mount
- Mount (HTML and Websocket)
handle_params
()render()
- Responding to Events
handle_event()
render()
- Endpoint
- Router
- Controller
- Loads data from schema
- Supplies data to the view
- View
- Template
- Endpoint
- Router
- Initial Load
- Responding to Events
- The Context Layer
- The Schema Layer
Pretty sweet right?
Sounds cool. But you're just a lowly CRUD app developer
BUT WAIT, THERE'S MORE
You can leverage Phoenix's Context layer standard architecture to quickly bolt on API's
Let's go back to church. API goodness
The documentation is best-in-class. Premium. Free. Just read the docs. It's ALL THERE!!!