Profile cover photo
Profile photo
Rafael Weinstein
498 followers
498 followers
About
Rafael's posts

Post has attachment
Another step towards the HTML platform fully embracing declarative & sensible MVC design patterns. Three key primitives (Mutation Observers, Object.observe and <template>) are now available to framework authors and webdevs. Can't wait to see the magic.

Post has attachment
+AngularJS +Misko Hevery Prototypes AngularJS working with Object.observe: http://bit.ly/Os5M73

+Dimitri Glazkov Draws a line in the sand: the "acceptable crazy line".

Post has attachment
Calling all JS framework/MVC/magic-portion ninjas:

If you are interested in helping to shape how Web Apps of the future are composed, watch this video and try out this experimental JavaScript feature...we need your feedback, experimentation, and genius.

To explain...

Object.observe() brings the promise of high-performance data binding without the need to wrap all data access and modification in calls to a library. Just change your objects and watch your UI dance.

Object.observe() (http://wiki.ecmascript.org/doku.php?id=strawman:observe) is a proposed feature for JavaScript which is currently being considered by TC-39. It allows code to observe changes to JS Objects much in the way that DOM Mutation Observers (https://developer.mozilla.org/en-US/docs/DOM/DOM_Mutation_Observers) allows observation of the DOM.

The Chromium team has created an experimental implementation of Object.observe in a branch of v8 (https://github.com/rafaelw/v8) and there are custom builds of Chromium which are available for testing.

We've also created a utility library which uses Object.observe() and exposes some higher-level features called Change Summary (https://github.com/rafaelw/ChangeSummary).

Remember, this feature is experimental, the implementation is probably buggy and the use cases it enables are somewhat advanced...and awesome!

Start your tinkering.

+Web Components 

Post has shared content
Try the Mutation Observers API (now in Chrome Beta), which replaces the old Mutation Events API, to detect changes in your DOM. We are also happy to announce the release of the Mutation Summary library at https://code.google.com/p/mutation-summary/, which lets you handle the DOM Mutations that you really need for your app. Check the card demo in this video!

+Ernest Delgado
Wait while more posts are being loaded