About This Title

Pages: 100
Published: July 2020
ISBN: pending
Edition: 1
Not Yet Printed (NYP)

Programmer Passport: Liveview

by Bruce Tate

LiveView is the most anticipated Elixir framework yet. The premise is seductive: you can build highly interactive, scalable applications without ever writing a line of custom JavaScript. In this course, we’ll look at the expectations and the realities of LiveView. We’ll look at how it works in broad strokes, and then we’ll look at exactly which data moves between the client and server.

Available exclusive in partnership with our friends at grox.io


This LiveView series will be a little different from previous offerings. The book will be heavily supplemented by the videos on Grox.io. The book to explore the theory and high-level concepts. You’ll see how Phoenix generates code, learn strategies for designing your own code, and find out how to incorporate many different kinds of events. In the videos, you’ll explore the details through examples. You’ll find out how to do common tasks. Start with the most basic applications so you can work with LiveView without having to focus too much on business logic. Integrate change validation through Ecto changesets without requiring a database. Finally, work with a more complex application for memorizing things.

LiveView is revolutionizing how we work. Come find out why!

What You Need

Resources

Releases:

Contents & Extracts

  • Lifecycle and Flow of a LiveView
    • The Evolution of LiveView
    • Enter LiveView
    • The Initial Request
    • Live Views Render State
    • Event Handlers Transform Data
    • Your Turn
  • LiveView Events
    • The LiveView Event Infrastructure
    • Buttons and Keystrokes
    • Forms and Schemaless Changesets
    • Events We Didn’t Cover
    • Your Turn
  • LiveView Generated Code
    • Process Primitives and handle_info
    • Phoenix PubSub
    • Implement PubSub in Three Parts
    • Your Turn
  • Code Organization
    • Establish Your Socket
    • Refactor Inline Renders Into Templates
    • Refactor With Stateless Components
    • Refactor With Stateful Components
    • Trim the Socket
    • Your Turn

Author

Bruce A. Tate is a programmer and CEO of Groxio where he is helping to redefine how computer languages are taught and learned. He’s the author of Seven Languages in Seven Weeks and Programming Phoenix, among other titles, and has been involved with Elixir from the very beginning.

Available exclusive in partnership with our friends at grox.io

Related Titles:

About This Title

Pages: 100
Published: July 2020
ISBN: pending
Edition: 1
Not Yet Printed (NYP)