Just as most of the objects in the View layer are views, we call the primary objects in the Controller layer as controllers. The base class for these controllers is the
SC.Controller class, but it does essentially nothing more than the
SC.Object class it extends, so we will always use one of its subclasses such as
SC.TreeController. The role of these three types of controllers should be fairly self-evident. The
SC.ObjectController subclass proxies a single object,
SC.ArrayController proxies an array or array-like object and
SC.TreeController proxies a tree-like object.
To use any of these controllers is a matter of creating the controller and setting its content property ...