News for hackers. Stuff that matters.
Re:Reactive.coffee: reactive programming and declarative UIs... by judah on Wednesday August 07, 2013 @11:36AM (#6173487)
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

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.

Re:Reactive.coffee: reactive programming and declarative UIs... by xyzzyrz on Wednesday August 07, 2013 @11:53AM (#6173605)
We elaborate briefly on various related work at 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://www.impredicative.com/ur/demo/

http://www.meteor.com/

http://derbyjs.com/

Re:Reactive.coffee: reactive programming and declarative UIs... by zcrar70 on Wednesday August 07, 2013 @12:51PM (#6173971)
Facebook's recent React framework is also worth mentioning (http://facebook.github.io/react/).

A nice JS library for reactive programming is 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.

Re:Reactive.coffee: reactive programming and declarative UIs... by xyzzyrz on Wednesday August 07, 2013 @01:17PM (#6174121)
Indeed, both are mentioned in the related work page!
Re:Reactive.coffee: reactive programming and declarative UIs... by alipang on Wednesday August 07, 2013 @01:08PM (#6174064)
If you want a better alternative to RxJs, also written in Coffescript, check out Bacon.js.

https://github.com/raimohanska/bacon.js