3 ms·
Interesting project. I'm uneasy about zero HTML, and instead having most/all the HTML in .coffee. But I'm opened to it. Is this project related to, or draw ins
by judah 13y ago
Interesting project. I'm uneasy about zero HTML, and instead having most/all the HTML in .coffee. But I'm opened to it.
Is this project related to, or draw inspiration from, Reactive Extensions (Rx.NET, Rx.js, Rx.cocoa, etc.)? https://github.com/Reactive-Extensions/RxJS https://github.com/Reactive-Extensions/RxJS
Recently, I've seen the idea of reactive user interface pop up all over HackerNews and GitHub. What a lot of folks are missing is that whole applications themselves can be reactive, from UI to servers to data sources. I feel like many of these reactive UI libraries are missing this.
- xyzzyrz 13y agoWe elaborate briefly on various related work at http://yang.github.io/reactive-coffee/related.html http://yang.github.io/reactive-coffee/related.html, but absolutely - there's a large body of existing work and trailblazers we liberally draw inspiration from. In the case of RxJS in particular, the styles actually feel quite different - RxJS is more about explicitly merging streams and constructing the data flow graph with some set of combinators, whereas dependencies are inferred automatically in reactive.coffee (along with a UI-building layer). We're also strong believers that the entire stack can be architected in this way. Stay tuned! For now, check out projects like Fun, Ur/Web, and Meteor/Derby: http://marcuswest.in/essays/fun-intro/ http://marcuswest.in/essays/fun-intro/ http://www.impredicative.com/ur/demo/ http://www.impredicative.com/ur/demo/ http://www.meteor.com/ http://www.meteor.com/ http://derbyjs.com/ http://derbyjs.com/
- zcrar70 13y agoFacebook's recent React framework is also worth mentioning (http://facebook.github.io/react/ http://facebook.github.io/react/). A nice JS library for reactive programming is Bacon.js - https://github.com/raimohanska/bacon.js https://github.com/raimohanska/bacon.js - it's smaller, the source code is easier to read and I found it a little easier to use.
- xyzzyrz 13y agoIndeed, both are mentioned in the related work page!
- alipang 13y agoIf you want a better alternative to RxJs, also written in Coffescript, check out Bacon.js. https://github.com/raimohanska/bacon.js https://github.com/raimohanska/bacon.js