Results 1 to 3 of 3

Thread: is there any examples ?

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    7
    Vote Rating
    0
      0  

    Default is there any examples ?

    Hi,
    Is there any examples about Sencha Io ?

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    146
    Vote Rating
    10
      0  

    Default

    There are no examples.

    If you only want to sync your data it is so easy that you dont need a complete example.

    Simply change proxy "type: localstore" to "type: syncstorage" and add the following line in your proxy:

    PHP Code:
    key'yoursenchaidname' 
    Have a look at http://www.sencha.com/blog/using-sencha-io-sync :

    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'
       
    }
    }); 
    Another example:
    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

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    7
    Vote Rating
    0
      0  

    Default thank you

    thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •