1. #1
    Sencha Premium Member
    Join Date
    Nov 2008
    Posts
    58
    Vote Rating
    0
    mishoboss is on a distinguished road

      0  

    Default Answered: Websockets?

    Answered: Websockets?


    Hi, does Sencha Touch 2.0 has websockets support? If yes, where can I read something about it? Thank you.

  2. Not out of the box. New features that aren't critical will be added after 2.0 GA release as it is targeted primarily at performance and layouts.

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Answers
    3542
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Not out of the box. New features that aren't critical will be added after 2.0 GA release as it is targeted primarily at performance and layouts.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha Premium Member
    Join Date
    Nov 2008
    Posts
    58
    Vote Rating
    0
    mishoboss is on a distinguished road

      0  

    Default


    Thanks, I hope it will be a part of Sencha Touch soon. This is becoming a key communication feature.

  5. #4
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    112
    Answers
    2
    Vote Rating
    1
    stan229 is on a distinguished road

      0  

    Default


    Are you talking about a WebSocket data proxy?

    You can probably make your own pretty easily.


    Or just write regular WebSocket code and have it interact with your ST object references.

  6. #5
    Sencha Premium Member
    Join Date
    Nov 2008
    Posts
    58
    Vote Rating
    0
    mishoboss is on a distinguished road

      0  

    Default


    Thanks. Could you point me to some info about this or sample code. I don't have any experience in WebSocket.

  7. #6
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    112
    Answers
    2
    Vote Rating
    1
    stan229 is on a distinguished road

      0  

    Default


    What is your backend?

  8. #7
    Sencha Premium Member
    Join Date
    Nov 2008
    Posts
    58
    Vote Rating
    0
    mishoboss is on a distinguished road

      0  

    Default


    It's a Java based software. I think it's Atmosphere and Jersey.

  9. #8
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    112
    Answers
    2
    Vote Rating
    1
    stan229 is on a distinguished road

      0  

  10. #9
    Sencha Premium Member
    Join Date
    Nov 2008
    Posts
    58
    Vote Rating
    0
    mishoboss is on a distinguished road

      0  

    Default


    Thank you. However what I need is only the client side (in the browser) of the WebSocket technology. The server side is written in Java already, but I don't think this is so important. What I need is an easy way to use websockets with Sencha, as it is in Dojo Toolkit for example. Thank you.

Thread Participants: 2

Tags for this Thread