Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub

Guides

Solve a Task

Guides provide focused, task-oriented steps for common Scalive development and operations work. For an ordered introduction to the framework, start with Learn. Each guide describes the starting state it expects so you can also enter directly from search or the API reference.

Orientation

Setup And Foundations

  • Client setup and static assets loads the packaged Phoenix clients or a custom bundle, serves an ordinary versioned tree or manifest-defined final paths, and reacts to static changes and connection parameters.

Interfaces And Input

  • HTML and event bindings builds typed trees, composes token-list attributes, binds messages, keys repeated content, and uses portal and focus-management helpers.

  • Typed forms and validation decodes rooted browser input into domain values with recovery, stable repeated rows, path-specific feedback, and revision-bound save coordination.

  • Ordinary HTTP forms and redirects combines checked actions, bounded CSRF-protected decoding, trigger-action handoff, and HTTP-to-Live flash.

  • File uploads validates bounded files and chooses in-memory, hosted-writer, or external destination ownership.

Routing And Application Structure

State And Components

Async And Lifecycle

Browser Integration

Testing And Troubleshooting

  • Testing LiveViews covers public disconnected and connected server-side tests, then identifies behavior that requires a real browser.

  • Troubleshooting diagnoses startup, asset, socket, CSRF, crash, and reconnect failures.

Assets And Operations

  • Configuration configures transport security, route-level lifecycle observation, and setting ownership.

  • Lifecycle observability publishes fixed ZIO metrics and defines safe logging, tracing, labels, and coverage boundaries.

  • Deployment packages and operates a Scalive JVM application behind HTTPS and a WebSocket-capable edge.