Skip to content

Synching towards FlashQL on the browser. #4

@MirjamElad

Description

@MirjamElad

Hi again, I unfortunately couldn't find the time to test this promising library and I am unsure about some important details.

Here is the architectural pattern I want to implement for my webapp. React on the front end, HONO on the server and PostgreSQL as the database.
I want to use LinkedQL and FlashQL.
On the HONO server, I want a LinkedQL instance subscribing with queries to the the PostgreSQL database's WAL.
On the front end (i.e. living on the browser) I want a read-only in-memory FlashQL instance. The FlashQL would in turn subscribe to the HONO's LinkedQL.
Please help me answer these questions:
1- Does LinkedQL already handle automatic subscription between itself and FlashQL on the browser or do I have to manually create a custom transport layer between Hono and browser FlashQL (likely WebSocket with manual message passing of diffs).
2- Does FlashQL need any custom code to be configured to subscribe to the HONO's LinkedQL's end point?

Thank you again.

PS:
1- If not already implemented, would automatic synching between LinkedQL and FlashQL be implemented/facilitated-further in the future?
2- If such thing already exists could you please point me to how it is to be done!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions