Here’s my take on the binding thing:
http://fremycompany.com/BG/2012/ECMAScript-Binding-Manager-951/

Key features:
- Do not require to have a reference on an object to bind to it (binding is 
implicit and managed by the browser).
- Accessors, function calls and inner dependencies are managed automatically.
- Since the browser manage most the binding wiring, it can makes tons of 
optimizations.
- It’s trivial to use for developers.

Have a look ;-)


From: Alex Russell 
Sent: Thursday, August 23, 2012 11:47 AM
To: Brandon Benvie 
Cc: [email protected] ; [email protected] 
Subject: Re: Re: Experimental implementation of Object.observe & JS 
Utilitylibrary now available
On Thu, Aug 23, 2012 at 7:06 AM, Brandon Benvie <[email protected]> 
wrote:

  I would say it is most definitely not the concern of Observe to watch reads 
and between accessors and Proxies we have all the tools we need for that.

I think that misreads the situation. Having proxies available might work for 
this, but is it the right (implied) *UI* for it? I.e., if you need to do half 
of your work with observe() and then pivot over to proxies for the other 
half...that strikes me as strange. There might be good reasons not to, but 
saying "you can do it with what we've got" is always tautological in a turing 
machine = )

  With the ability to keep present on notifications of changes via observe it's 
actually possible to implement a mirror that can be emit change events (by 
explicitly mirroring changes on the original target changes) and provide the 
benefits of the observe api to listeners, and then implement any kind of 
additional tracking on top of that either by using accessors or being a proxy. 
  _______________________________________________
  es-discuss mailing list
  [email protected]
  https://mail.mozilla.org/listinfo/es-discuss





--------------------------------------------------------------------------------
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to