Clear Up
SharpKit Reference

Ext.data.writer Namespace

Download SDK: SharpKit.ExtJs.zip

Classes

Name Description
Json

This class is used to write Ext.data.Model data to the server in a JSON format. The allowSingle configuration can be set to false to force the records to always be encoded in an array, even if there is only a single record being sent.

JsonConfig
JsonEvents
Writer

Base Writer class used by most subclasses of Ext.data.proxy.Server. This class is responsible for taking a set of Ext.data.Operation objects and a Ext.data.Request object and modifying that request based on the Operations.

For example a Ext.data.writer.Json would format the Operations and their Ext.data.Model instances based on the config options passed to the JsonWriter's constructor.

Writers are not needed for any kind of local storage - whether via a Web Storage proxy (see localStorage and sessionStorage) or just in memory via a MemoryProxy.

WriterConfig
WriterEvents
Xml

This class is used to write Ext.data.Model data to the server in an XML format. The documentRoot property is used to specify the root element in the XML document. The record option is used to specify the element name for each record that will make up the XML document.

XmlConfig
XmlEvents
© Copyright 2005-2011 SharpKit. All rights reserved.