Model-View-Controller is a popular architecture among the software developers
to build scalable and maintainable applications. While most of the time we use
the server-side MVC architecture, with the complexity increasing in the Rich
Application Development, a similar architecture is needed on the client-side, as well.
The client-side MVC architecture allows us to de-couple the presentation from the
model and the controller logic.
When to Use Titanium When Titanium Makes Sense Cross-Platform Compatibility Using Titanium for Just One Platform When Titanium Doesn’t Make Sense Mobile Landscape PhoneGap Sencha Touch jQuery Mobile jQTouch MonoTouch Where’s the GUI? Death of Xcode and ADK? Pricing and Support Selecting a Development Environment Setting Up Your Native SDKs Other Hardware Prerequisites External Displays Features of Titanium Studio Automatic Syntax Checking Autocomplete (Intellisense)
In this chapter, we looked at the different classes which are part of the MVC
architecture in Ext JS as well as Sencha Touch. We also looked at the function of each
of these classes and saw the differences in their behavior and usage. In addition to
the common classes—application, controller, model, view (component)—we also
looked at the Touch-specific way to handle profiles to encapsulate device-specific
behaviors and layout in the applications. Also, we saw how to set up the routes in
a Touch application and have the history tracking in place.