Re:Why does Ember.js rock?
by steveklabnik on Sunday August 04, 2013 @10:25AM
(#6155734)
Have you tried out functional reactive programming? How does it compare to the mediator?
[ Parent
| on HN ]
You mean like Bacon.js? I have not, yet. Looking at it now it seems that it is used for filtering/mapping/combining values?
The messages I send are more light weight and usually say "this has happened" to which a View would respond by re-rendering itself or its part rather then me directly passing whole Models and Collections around.
Re:Why does Ember.js rock?
by steveklabnik on Sunday August 04, 2013 @03:22PM
(#6156739)
Yup! It sounds quite a bit like your mediator: make a stream, send events in the stream, certain things respond to the stream.
Check out this talk: http://vimeo.com/68987289