March 4, 2021
Hot Topics:

Why Is Chrome 36 So Popular With JavaScript Developers?

  • By Developer.com Staff

Earlier this month, Google released Chrome 36, and the new version of the browser has been a hit with JavaScript developers thanks to a feature called "Object.observe()." Because JavaScript separates an app's data structure from its interface, it can be difficult to make sure that data changes get reflected in the interface. Object.observe() is a low-level JavaScript API supported by Chrome that offers two-way data binding to connect the data and the interface.

Amjad Masad, a developer at Facebook, calls two-way data binding the "holy grail of JavaScript MVC frameworks." He explains, "When you have true data binding, it reflects automatically in the user interface without you putting in any 'glue' code in the middle. You simply describe your view and every time the model changes it reflects the view. This is why it’s desirable."

While Object.observe() could one day be an official part of JavaScript, for now it's only supported by Chrome.

View article

This article was originally published on July 25, 2014

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date