On 09/03/2013 03:08 PM, matteomasina wrote:
> Hi, I'm just developing an application, that uses communication with php
> backend to get some system informations.
> Everything working well, but to get the Qooxdoo fronted update, I'm using a
> timer sending request to the php backend any tot seconds;
> I would like to improve this so I had the idea to use the socket, and to
> fire an update event on qooxdoo frontend, so that application will be
> updated only when there is something new to show.
>
> Have you got any idea where to start to deploy this ? I have read a lot of
> post where the arguements are similar, but I haven't find nothing from where
> to start, or any example to view.
>
> Can you help me or send some feedback if anyone has already tried this
> solution ?

There was one user using qooxdoo together with web sockets [1], but he 
didn't disclose much of how he did it. But it should be straight 
forward, just use the HTML5 socket API in e.g. a method of one of your 
application classes. Examples for web sockets abound, e.g. [2][3].


T.

[1] 
http://qooxdoo.678.n2.nabble.com/html5-question-about-websocket-usage-td5569725.html
[2] http://www.websocket.org/demos.html
[3] http://html5demos.com/web-socket#view-source



------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to