2 ms·
I had been playing with some very naive data-flow custom elements as part of a GUI logic in Polymer Designer: https://github.com/Polymer/designer/tree/master/e
by spankalee 11y ago
I had been playing with some very naive data-flow custom elements as part of a GUI logic in Polymer Designer:
https://github.com/Polymer/designer/tree/master/elements/logic https://github.com/Polymer/designer/tree/master/elements/log...
https://github.com/Polymer/designer/tree/master/elements/designer-logic-editor https://github.com/Polymer/designer/tree/master/elements/des...
They use Polymer's data-binding for message passing, which is just sugar for synchronous property setting, so it could have some issues with un-synchronized related state that would be handled better by a real dataflow system. I haven't worked on it in quite a while, but if I get back to it I might work on an event or stream based system.
My motivation here is that using custom elements to both setup and execute the dataflow graph could be very nice for allowing non-programmers to build UI logic, especially when paired with a GUI editor.