[Chugalug] Anyone played with real-time web updates?

Sean Brewer seabre986 at gmail.com
Tue Oct 2 03:52:58 UTC 2012


I forgot to list some cool things. The really cool thing right now is real
time video/audio. Here's an example video chat app built with node:
http://107.20.223.140/ and the library for Node associated with that:
https://github.com/webRTC/webRTC.io

On Mon, Oct 1, 2012 at 11:22 PM, Sean Brewer <seabre986 at gmail.com> wrote:

> Yup. I've done some things for my job with Node.js and websockets.
>
>
> On Mon, Oct 1, 2012 at 11:04 PM, Dan Lyke <danlyke at flutterby.com> wrote:
>
>> I just discovered the Meteor web server, and am looking for cool things
>> it can do.
>>
>> Meteor is a server you run to push real-time (for second or so meanings
>> of "real time") data to web pages. So, for instance, if you were
>> writing the next Twitter, you'd create a web page that loaded a Meteor
>> server JavaScript snippet, tell that JavaScript to listen on a channel,
>> and then you'd connect to the control port of the server and send it
>> updates for channels.
>>
>> So for my test app I wrote a little HTML page that had an input box, a
>> submit button, and a <ul id="messages"></ul>.
>>
>> My submit button takes the input box contents and sends it off to a CGI.
>>
>> The CGI opens a IO::Socket::INET stream to the control port, prints
>>
>>   ADDMESSAGE streamname [the contents of the text box]
>>
>> which then causes Meteor to send an event out to my HTML page, which
>> has a JavaScript snippet that:
>>
>>    $("#messages").append("<li>" + data + "</li>")
>>
>> Poof. Instant chat server.
>>
>> Their demo is little twinkly stars dependent on the IP address of the
>> server that's accessing their web page currently.
>>
>> A little JSON and some database storage, and more stream names, and
>> you've got a small Twitter...
>>
>> This thing is kinda cool.
>>
>> Dan
>>
>> _______________________________________________
>> Chugalug mailing list
>> Chugalug at chugalug.org
>> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20121001/47b075cb/attachment.html>


More information about the Chugalug mailing list