Skip to content

LocalLiveView architecture description.#438

Open
FranekKubis wants to merge 9 commits intomainfrom
local_live_view_description
Open

LocalLiveView architecture description.#438
FranekKubis wants to merge 9 commits intomainfrom
local_live_view_description

Conversation

@FranekKubis
Copy link
Copy Markdown
Contributor

@FranekKubis FranekKubis commented Dec 8, 2025

I added technical description on the architecure of LocalLiveView.

@FranekKubis FranekKubis requested a review from mat-hek December 18, 2025 12:39
Copy link
Copy Markdown
Contributor

@mat-hek mat-hek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left mostly stylistic suggestions

It allows to store, update and render the assigns similarly to Phoenix LiveView.
## Architecture
### Popcorn part
Local Live View is running on AtomVM in WASM in the browser using erlang virtual machine.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this sounds weird, AtomVM is an erlang virtual machine

Comment on lines 3 to 5
## What is a LocalLiveView?
LocalLiveView is a project that aims to store the LiveView state in the browser in a virtual machine provided by Popcorn.
It allows to store, update and render the assigns similarly to Phoenix LiveView.
Copy link
Copy Markdown
Contributor

@mat-hek mat-hek Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this and move the file introduction/welcome.md -> architecture.md

It is built as an elixir project with supervisor tree.

![supervisor_tree.png](supervisor_tree.png)
- LocalLiveView.Application starts LocalLiveView.Dispatcher and LocalLiveView.Server.Supervisor.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's put the module names in backticks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants