transfusion
v1.62.0
Published
Minimalist framework for real-time data synchronization.
Downloads
303
Readme
transfusion
Minimalist framework for real-time data synchronization.
Control Flow
Scenarios
User Interaction Scenario: fill out a form and save data to server
- data-command binds a button via --on click flag
- bogo sends command down to server
- cuddlemuffin saves the object to disk, by creating a folder with object id, and json file with random filename inside it.
- ws is used to send a packet to bogo on the client
Update UI Scenario: Get updated packets from server and update UI.
- bogo gets object via ws from the server
- pookie gets packet from bogo and filters it info branches of its tree.
- enbuffer will keep a view of data arriving through a branch.
- atom-smasher will create a POJO plain old JavaScript Object (povered by Proxies)
- reconcilers will use data and html to update DOM.
Ideas
Maybe use EJS and https://github.com/salesforce/secure-filters