Chapter 5. Dealing with Data and Data Sources

In this chapter, we will cover:

  • Creating models
  • Loading the form using a data model
  • Working with Store
  • Converting incoming JSON data into models using JsonReader
  • Converting incoming XML data into models using XmlReader
  • Validations in models
  • Defining the custom validation
  • Relating models using Association
  • Persisting session specific information using SessionStorageProxy
  • Persisting data using LocalStorageProxy
  • Accessing in-memory data using MemoryProxy
  • Loading data through AJAX using AjaxProxy
  • Sorting of the data
  • Data grouping
  • Filtering data
  • Using a cross-domain URL in your application

Introduction

Imagining an application without the need for data is impossible in today's world. Almost every application has a need for ...

Get Sencha Touch Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.