Wednesday, May 14, 2014

CPView, the heart of Cappuccino UI

We have spent some time reviewing CPWindows, prior to this, because the CPWindow is the root node of every View hierarchy.  You can see from the inheritance tree excerpted from the Cappuccino Project's online documentation, that almost every useable element of a page is derived from this central element, and as CPView objects, each can form a branch or leaf on the CPView tree which forms all that we interact with.
CPView Inheritance Diagram: excerpted from Cappuccino-Project's Online Documentation
Once one has a basic understanding of the CPWindow object which starts a view tree, it is important to carefully study the view objects and how to combine them to form interactive and engaging applications that are comfortable to use and powerful in those things the application can accomplish.

We will take some time over the next week to look deeper into Views.  We will consider labels, text boxes, buttons, and eventually consider even more of these items depicted above.

Tutorials

No comments:

Post a Comment