transfusion

1.55.0 • Public • Published

transfusion

Minimalist framework for real-time data synchronization.

demo

Control Flow

Scenarios

User Interaction Scenario: fill out a form and save data to server

  1. data-command binds a button via --on click flag
  2. bogo sends command down to server
  3. cuddlemuffin saves the object to disk, by creating a folder with object id, and json file with random filename inside it.
  4. ws is used to send a packet to bogo on the client

Update UI Scenario: Get updated packets from server and update UI.

  1. bogo gets object via ws from the server
  2. pookie gets packet from bogo and filters it info branches of its tree.
  3. enbuffer will keep a view of data arriving through a branch.
  4. atom-smasher will create a POJO plain old JavaScript Object (povered by Proxies)
  5. reconcilers will use data and html to update DOM.

Ideas

Maybe use EJS and https://github.com/salesforce/secure-filters

Readme

Keywords

none

Package Sidebar

Install

npm i transfusion

Weekly Downloads

26

Version

1.55.0

License

ISC

Unpacked Size

55.2 kB

Total Files

9

Last publish

Collaborators

  • fantasyui.com