Update app from application server RRS feed

  • Question

  • I wanted to know if their was a way to implement something similar to the "Observer Pattern" between a windows 8 app written in winjs and an application server. For example, if I have an application server with PHP code and a win8 app and I wanted to send notification to the win 8 app, could I trigger the notifications from the application server to the app with out the app having to check first for the notification?
    Monday, September 30, 2013 5:44 PM


  • It depends on what exactly you mean by the app not having to check first for the notification.

    You can definitely set things up so that the app sets up a channel to subscribe to notifications from the server without having to poll.

    Take a look at Connecting with WebSockets and Connecting with sockets , depending on what your server supports.


    Monday, September 30, 2013 9:40 PM