Architecture

Hologram's architecture is designed around simplicity and developer experience. Here's how it works:

Pages and Components

The framework breaks down web applications into two fundamental building blocks:

Code Distribution

Hologram automatically analyzes your code and:

Client-Side State

State is maintained in the browser, which:

Actions and Commands

Code execution is organized into two types of operations:

Both can be triggered by user interactions, and they can trigger each other.

WebSocket Communication

Client-server communication happens automatically through WebSockets:

Runtime Behavior

The framework: