WebSockets are one of the big, new things that comes with the HTML5 generation. 
Up till now, the client web browser interacted with the server mostly with the 
simple request-response; i.e. click and you get something back. Sure, you could 
have some dynamics in the web-page itself, but to get an update from the 
server, you'd have to click again. There have been various work-arounds 
allowing a server to pass something to the browser without being asked, but 
they've been difficult and clutsy (I've tried them all and invented some.)
WebSockets remain alive for bi-directional (even simultaneous) communication 
between browser and server. And they're as easy to use from the browser side as 
Ajax, perhaps easier. 
The example most often used to introduce bi-directional communication (at least 
the server-sent events part) is the stock ticker. As the server gets constantly 
updated price information from stock exchanges, it can immediately send the 
information to browsers. Stock traders don't need to click for update 
constantly throughout the day.
I've been using server-sent events for robotics software, driving SVG animated 
graphics that show where the robot is. Here are links to three related articles 
in my blog. Don't worry about the jittering in the first one. That's not the 
webserver implementation.
http://highlevellogic.blogspot.com/2010/10/lego-mindstorms-nxt-robots-lejos.html
http://highlevellogic.blogspot.com/2010/09/multi-use-browser-based-gui.html
http://highlevellogic.blogspot.com/2010/09/hll-robotics-demo-video.html


--- Den mån 2011-08-29 skrev cremnosedum <rich...@pixelpalaces.com>:

Från: cremnosedum <rich...@pixelpalaces.com>
Ämne: [svg-developers] Re: Free WebSocket server / HTML5 (all for you)
Till: svg-developers@yahoogroups.com
Datum: måndag 29 augusti 2011 17:46















 
 



  


    
      
      
      Hi,



Perhaps you can give some examples of what this will be able to do or links to 
something that explains why one might want to use a websocket server.  If it 
sounds like something that I think customers would be interested in, then I 
would probably be interested in using it.



Richard Pearman       http://www.pixelpalaces.com/

The next stage in the evolution of web comics: 
http://www.onlinecomics.net/pages/details/listing.php?comicID=4415

Read my Helium articles: http://www.helium.com/users/212199

South Alberta Cactus and succulent society: 
http://www.facebook.com/group.php?gid=20360241008

Make money from discussing things: http://www.myLot.com?ref=Graptopetalum



--- In svg-developers@yahoogroups.com, "Roger F. Gay" <rogerfgay@...> wrote:

>

> Interest survey - seriously, I'm takin' names. If this interests you, please 
> respond. I'll help make sure it works well for you.



> I want to know the level of interest among people in this group - even if you 
> might like to get in early and influence development. Are you:

> Just curiousSerious about HTML5 but don't know what websockets areSerious 
> about HTML5 and find websockets interesting but don't have a project in 
> mindThis all sounds interesting but will have to think about itWOW! Now 
> you're talking. Sign me up!Other





    
     

    
    


 



  










[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to