I wish this is landing in Canary ASAP, I understand everything is doable
through Proxy but:

   1. Proxy is nowhere, Proxy is more complicated
   2. Proxy means dealing with objects wrappers and wrappers owners,
   Object.observe deals with the object everyone is using, not its own wrap
   3. using some sort of "ticks based events queue", combined with DOM
   mutation events, Object.observe is way easier to shim while Proxy are
   impossible to shim

This Object.observe "unaccepted" strawman thing, is the best proposal I
have seen in a while ... I am all in for := , class, super and stuff, but
that's not really what nowadays web applications need, Object.observe is,
and this is, of course, just my opinion.

br,
    Andrea Giammarchi

On Thu, Aug 16, 2012 at 8:17 PM, Rafael Weinstein <rafa...@chromium.org>wrote:

> I've created a bunch of cool demos and a video which attempts to
> explain the use cases & need for Object.observe().
>
> https://plus.google.com/u/1/111386188573471152118
>
> On Mon, Aug 13, 2012 at 12:28 PM, Rafael Weinstein <rafa...@chromium.org>
> wrote:
> > Hi all,
> >
> > As promised, here is an experimental implementation of the
> > Object.observe strawman in a branch of v8:
> >
> > https://github.com/rafaelw/v8
> >
> > [Note that there are Mac & Windows binaries of Chromium for everyone's
> > convenience. The links to the binaries are contained in the README.md
> > -- and also at the bottom of the page].
> >
> > Also, here is a JS Utility library which uses the Object.observe()
> > mechanism and exposes some higher-level and more convenient
> > abstractions (such as path observation & array splice computations):
> >
> > https://github.com/rafaelw/ChangeSummary.
> >
> > [Note that this library is to Object.observe as MutationSummary
> > (http://code.google.com/p/mutation-summary/) is to DOM Mutation
> > Observers]
> >
> > ----
> >
> > Expect (and report) bugs in both and crashes in the v8 impl, but it
> > should be stable enough now for actual experimentation & prototyping.
> >
> > Unless someone feels otherwise, we just assume any feedback go
> > directly es-discuss (to this thread is fine) so as not to split away
> > from here any substantive discussion about the feature.
> >
> > ----
> >
> > Our next step is to align our tests and the ChangeSummary library with
> > Tom's excellent proxy implementation so we'll have two experimental
> > versions which pass the same set of tests (and we can continue to use
> > Tom's proxy impl as a reference spec-in-code].
> >
> > Enjoy
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to