Sencha Touch

Páginas: 4 (809 palabras) Publicado: 20 de febrero de 2013
Sencha Touch OData Connector for SAP Overview
The Sencha Touch OData connector for SAP is a proxy that extends the existing Sencha Touch REST data proxy. It requires Sencha Touch 2.1 or later. Thisguide provides an overview of the connector and covers the following: ● ● Installing the SAP OData Connector General instructions for configuring Sencha Touch-based applications to take advantage ofthe connector

Installing the SAP OData Connector
The SAP OData Connector proxy file can be found in the same directory as this document. Look for the file called OData.js. Place OData.js in asrc/data/proxy/ directory under the common SDK root directory (typically touch/). It is named Ext.data.proxy.OData , but you can rename it and place in another directory following folder/file name/classname conventions. For details about how to store source files in Sencha Touch, see the section “Source Files” in the How to use classes in Sencha Touch guide.

Configuring apps to use the SAP ODataConnector
This next section provides general information for connecting a Sencha Touch app to an OData feed. Basically, you configure the Sencha Touch data package so that it can take advantage of theSAP OData Connector. Any Sencha Touch app can use the connector to read from and write to an OData feed as long as it correctly implements the data package and includes a few OData-specific settingsto the model(s) and proxy. We’ll take a quick look at the data package and describe those settings here. The most important parts of the Sencha Touch data package are models, stores, and proxies. 

Stores
In Sencha Touch, stores are collections of models or data entity instances. The store is configured with the models in your app. With stores, your app can query collections of data,filtering, sorting, or grouping it or performing some other kind of action on it. Once you connect stores to UI components that use data, those actions are automatically reflected in the UI. You don’t...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Tecnologia Touch
  • Ipod touch
  • Healing Touch
  • A Doctors Touch
  • rugby touch
  • sencha
  • Monitores touch
  • Touch Pad

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS