# Developer guides

URL: https://docs.folkways.io/docs/guides

Practical patterns for building reliable real-time applications, replaying WebSocket events and streaming AI responses with Folkways.

Learn how to design connected applications with real-time infrastructure. These guides focus on architecture and practical implementation; see the SDK documentation for API details.

- [How to replay missed WebSocket messages after reconnecting](/docs/guides/replay-missed-websocket-messages): Recover missed WebSocket events with ordered history, cursors, automatic resubscription and explicit handling of retention gaps.

- [How to resume an AI response stream after a page reload](/docs/guides/resume-ai-stream-after-page-reload): Decouple AI generation from the browser connection and rebuild a response from ordered chunks after a reload or network interruption.

- [How to build reliable WebSocket applications](/docs/guides/build-reliable-websocket-applications): Design real-time apps for network failure, reconnect backoff, offline publishing, bounded queues and explicit connection state.
