PDA

View Full Version : Cloud - can be internally hosted?



iBRD
9 Apr 2012, 9:15 AM
We're very interested in a data synchronization solution for our mobile enterprise applications, and Sencha.io looks promising for that, but we would need to store the server-side data behind our firewall.

Can we host the cloud storage on our servers, or does Sencha.io only work with a Sencha-hosted cloud?

Otherwise, are there other recommended ways to sync data using Sencha frameworks

Thanks!

mitchellsimoens
9 Apr 2012, 9:33 AM
Sencha.IO is only for sencha hosted sites. We don't have a process to sell the service for you to host.

iBRD
9 Apr 2012, 10:23 AM
Thanks for the quick reply. Does the Sencha Touch framework otherwise lend itself to the task of synchronizing data between the device and server? Are there recommended approaches or tutorials addressing device/server data synchronization scenarios using Sencha?

merrells
28 Apr 2012, 6:33 AM
Wow, I totally missed this thread. I'm sorry that we didn't reply sooner.

> Does the Sencha Touch framework otherwise lend itself to the task of synchronizing data between the device and server?

Yes, the sync store is designed for efficient synchronization of data from device to server.

>Are there recommended approaches or tutorials addressing device/server data synchronization scenarios using Sencha?

We do not yet have much documentation available other than a senchacon presentation, and the API documentation. There are some tutorial guides in the documentation, which might help you get going.

John

iBRD
1 May 2012, 5:57 AM
I'll look into the sync store functionality. Thanks for the info.

iBRD
1 May 2012, 6:52 AM
...sorry but I guess I have a few more questions as I'm not immediately finding sync store info looking at the docs...

Any quick hints, at least at a high level, on what API components or libraries come into play here? Is sync store a separate component/class or is it more a technique of using a store with a proxy and such? This is not a part of Sencha IO, right?

Is the respective Senchacon presentation made available as a link?

Thanks for any help!

merrells
1 May 2012, 4:35 PM
SenchaCon 2011, Introducing Sencha.io

http://vimeo.com/33627066

John

merrells
1 May 2012, 4:37 PM
The sync store is actually a proxy, and you use it just like any other proxy:

Ext.define("Model", {
extend: "Ext.data.Model",
config: {
fields: [
{name: 'name', type:'string'},
]
}

});

var store= Ext.create('Ext.data.Store',{
model: 'Model',
proxy: {
type: 'syncstorage',
id: 'contacts'
},
};

iBRD
2 May 2012, 5:24 AM
Ok. It's becoming clear. Thanks again for the help.

merrells
2 May 2012, 5:27 AM
We're working on an update to the documentation, which we will publish later today. I'll email you the link when it's done.

John

merrells
4 May 2012, 8:53 AM
The updated docs are here:

http://docs.sencha.io/index.html

mitchellsimoens
4 May 2012, 9:21 AM
The updated docs are here:

http://docs.sencha.io/index.html

Very nice documentation John!

merrells
4 May 2012, 9:23 AM
Thanks :-)

Any feedback anyone has on it is most welcome.
We really want SIO to be easy to integrate and use.

John