Hi,
Is there any examples about Sencha Io ?
Printable View
Hi,
Is there any examples about Sencha Io ?
There are no examples.
If you only want to sync your data it is so easy that you don´t need a complete example.
Simply change proxy "type: localstore" to "type: syncstorage" and add the following line in your proxy:
Have a look at http://www.sencha.com/blog/using-sencha-io-sync :PHP Code:key: 'yoursenchaidname'
Another example:PHP Code:Ext.regModel("Contact", {
fields: [
{name: "id", type: "string"},
{name: "firstName", type: "string"},
{name: "lastName", type: "string"},
{name: "email", type: "string"},
],
proxy: {
id: 'contacts',
type: 'syncstorage',
key: 'yoursenchaidname'
}
});
http://www.sencha.com/forum/showthre...Sensha-Touch-2.
Usefull to get an overview what Sencha.io is all about:
SenchaCon 2011: Introducing Sencha.io: http://vimeo.com/33627066
thank you!