3 ms·
Most of the contentious pieces listed in the article are very difficult problems and correspond to similar problems in language and framework design. It's aweso
by elcritch 11y ago
Most of the contentious pieces listed in the article are very difficult problems and correspond to similar problems in language and framework design. It's awesome this is being done in a community driven fashion. Once these issues are worked out, it would mean the existence of a very flexible componentized UI system. In other words it's on par with web assembly in terms of creating a de facto universal virtual machine, but in this case a universal graphical system. Yes it'll have warts, and painful spots, but that will be far outdated that there will be multiple implementations based on a living specification. E.g. Many of the things that made PC architecture great should apply here. I think it's already started with the rise of clojurescript, typescript, and llvm ecmascript emitter.
I've been toying around with the idea of implementing an actor style computation framework on top of web components. In this area details like instantiate in order become crucial. It's a bit odd to see the subtree notification order down on the "other items" list.
Has anyone else made progress in applying an actor computational model on components? In particular in embedding nomadic data into them via message passing? A lot of interesting work has been happening in formalizing data processing in combination with closures [1,2]. I've created some initial prototypes that turns scxml into functioning state matching with svg rendering but have stalled a little in specifying the message passing specification. If anyone's interested I could share the code on github.
[1]: http://downloads.typesafe.com/website/presentations/ScalaDaysSF2015/T4_Miller_Function-Passing.pdf http://downloads.typesafe.com/website/presentations/ScalaDay...
[2]: https://medium.com/@ChuckMiskyes/highlights-from-curry-on-prague-d9b5923fbfe2#.p3i5ei146 https://medium.com/@ChuckMiskyes/highlights-from-curry-on-pr...
- spankalee 11y agoI 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.