O'Reilly logo

SproutCore Web Application Development by Tyler Keating

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with properties and computed properties

While the class-like features of SC.Object are wonderful for creating and managing complex software hierarchies, they are not likely the primary reason you would use SC.Object over a regular JavaScript object. Instead, I think you'll find that the most powerful component of SC.Object is the key-value coding and the observing features it provides. Or if you don't find that to be the case just yet, you will soon see it in action. In fact, if you followed through the tutorial in Chapter 1, Introducing SproutCore, you've already seen how bindings, a technology backed by key-value coding and observing, can magically update your application.

While we will get to bindings soon, we first need to backtrack ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required