-
Book Overview & Buying
-
Table Of Contents
SproutCore Web Application Development
By :
In this chapter we will look at the C in SproutCore MVC or the Controller layer. As it turns out, the role of the Controller layer in SproutCore is as a proxy, and since SproutCore does so much of it automatically for us, we don't actually need a full chapter to discuss it. But just as we have discussed the Display layer alongside the View layer and the Data Interface layer alongside the Model layer, we will spend most of this chapter looking at the close companion to the Controller layer, the Application State layer.
Although the term Application State is something that I have coined for this book, it's not that the term is based on a new idea. In reality, the application state exists within all software applications, but is generally not identified as it is mixed within the other MVC or similarly themed layers. For example, in early SproutCore, developers put most of what we will discover as the Application State layer inside the Controller...
Change the font size
Change margin width
Change background colour