PDA

View Full Version : Sencha touch with sencha io 1.0 tutorial



guillaume.davo
5 Jan 2012, 3:43 AM
Hi,

I can't find any tutorial on using the new sencha io 1.0 framework. All I can find is the doc http://docs.sencha.com/io/1-0/#!/guide/overview but it is descriptive and does not provide any complete example.
I'd like to use the login and data functionalities of io 1.0.
For data I have only found the old sync getting started guide http://cdn.sencha.io/sencha-io-sync-getting-started-20110913.pdf but I don't know how to use the new sencha io SDK beta 3. Should I put the deploy folder into the sencha touch 1.1.1 folder?
And what about the "magic script"? How do I use it to deploy my application?

Thanks,
Guillaume

mitchellsimoens
5 Jan 2012, 9:02 AM
You need to include the sencha-io.js or sencha-io-debug.js file just like you do with sencha touch's JS file. There are no examples provided but the docs are at http://docs.sencha.com/io/1-0/

guillaume.davo
6 Jan 2012, 1:10 AM
Thanks Mitchell,

Sencha io 1.0 beta 3 is only compatible with Sencha Touch 2 PR 2, right?

mitchellsimoens
6 Jan 2012, 6:26 AM
Thanks Mitchell,

Sencha io 1.0 beta 3 is only compatible with Sencha Touch 2 PR 2, right?

It looks to still use Ext.extend which isn't very Sencha Touch 2ish