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

Chapter 3. The View Layer

In the next few chapters, we will closely look at each of the three layers in the standard Model-View-Controller (MVC) model as it is implemented in SproutCore. In this chapter, we will first go through the basic arrangement of the MVC layers at a high level, including the additional layers required for building web software, that are missing from the basic MVC definition.

We will also look at the View layer with significant detail, including how to organize and build views as well as how to render, update, and style them.

In this chapter, we will cover the following:

  • MVC in SproutCore
  • Understanding the View layer
  • Becoming familiar with SC.View and SC.Pane
  • Organizing panes using SC.Page
  • Laying out views
  • Styling views
  • Rendering ...

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