1. #1
    Sencha User tysoncadenhead's Avatar
    Join Date
    Jul 2009
    Location
    Nashville TN
    Posts
    16
    Vote Rating
    0
    tysoncadenhead is on a distinguished road

      0  

    Default Unanswered: Accessing Socket.io from a Node JS server

    Unanswered: Accessing Socket.io from a Node JS server


    The particular application I'm working on is going to require importing some data on a server running Node JS and then piping it through to the Socket.io data store.

    My hunch is that it would be technically possible to access the socket.io data from a server running Node since it seems to just be a layer between Socket.io and the Sencha data model.

    I'm wondering if it is possible to do?

    Does anyone have an example of how sending data to Sencha.io from the server-side would be done?
    Tyson Cadenhead
    User Interface Developer
    http://tysonlloydcadenhead.com

  2. #2
    Sencha User
    Join Date
    Apr 2010
    Posts
    107
    Answers
    30
    Vote Rating
    -1
    merrells is an unknown quantity at this point

      0  

    Default


    Your node.js server can pretend to be a 'device'. You can include the Sencha.io SDK in your node.js code and then use the API just like a client App would. The only tricky bit is that the SIO SDK is based on Sencha Touch... which means that you need to include a build of Sencha Touch. However, when ST starts up it will probe its environment trying to determine which browser its running in. So you'll need to stub out a few things to stop it from bailing out.

    John

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi