Results 1 to 2 of 2

Thread: Accessing from a Node JS server

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User tysoncadenhead's Avatar
    Join Date
    Jul 2009
    Nashville TN
    Vote Rating

    Default Unanswered: Accessing 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 data store.

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

    I'm wondering if it is possible to do?

    Does anyone have an example of how sending data to from the server-side would be done?
    Tyson Cadenhead
    User Interface Developer

  2. #2
    Sencha User
    Join Date
    Apr 2010
    Vote Rating


    Your node.js server can pretend to be a 'device'. You can include the 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.


Tags for this Thread

Posting Permissions

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