-
Book Overview & Buying
-
Table Of Contents
SproutCore Web Application Development
By :
In this chapter, we will move to the opposite end of the application stack and look at the M or Model layer in SproutCore MVC. As it turns out, the implementation of the Model layer within SproutCore is one of the most impressive and unique features of the framework. This layer provides tools for modeling data, applying business logic, querying data, and synchronizing changes between the server and the client. Hence, we can say that the tools in this layer allow us to load raw data into our application from any remote source and use it in a simple and effective manner.
The first thing to recognize is that because we are creating applications for the web, our software is always in a client-server type of relationship where the actual data is stored separately from the application. Even when using a client-side data store such as IndexedDB or WebSQL, our application must asynchronously interface with the data store the same way it would as though the database...
Change the font size
Change margin width
Change background colour