[nodejs] Streams to and from Browser
I could have swore I *just* saw a project that exposes the Stream API to the browser so that you can use things like `event-stream` on the browser to communicate with the server. It looked like it came out of NodeConf. I even think I bookmarked it. Or was it all a dream? -- Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Streams to and from Browser
https://github.com/maxogden/domnode is probably what you're thinking of. On 12 July 2012 11:58, Alan Gutierrez wrote: > I could have swore I *just* saw a project that exposes the Stream API to > the browser so that you can use things like `event-stream` on the > browser to communicate with the server. It looked like it came out of > NodeConf. I even think I bookmarked it. > > Or was it all a dream? > > -- > Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Streams to and from Browser
Also, you could implement the Stream API in the browser on your own, or use browserify, and you'll get it for free. The Stream API still requires implementation if you want to use it, but I get excited about the prospect of the Stream API moving to the browser. =) I touched on the idea during my FluentConf and using the Stream API with HTML5 FileSystem / WebSockets / etc... http://www.slideshare.net/atcrabtree/functional-programming-with-streams-in-nodejs Sorry the video's not available. Thus is O'Reilly. Cheers, Adam Crabtree On Thu, Jul 12, 2012 at 1:38 PM, Andrew Lunny wrote: > https://github.com/maxogden/domnode is probably what you're thinking of. > > On 12 July 2012 11:58, Alan Gutierrez wrote: > >> I could have swore I *just* saw a project that exposes the Stream API to >> the browser so that you can use things like `event-stream` on the >> browser to communicate with the server. It looked like it came out of >> NodeConf. I even think I bookmarked it. >> >> Or was it all a dream? >> >> -- >> Alan Gutierrez - http://github.com/bigeasy - http://twitter.com/bigeasy >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to nodejs@googlegroups.com >> To unsubscribe from this group, send email to >> nodejs+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Better a little with righteousness than much gain with injustice. Proverbs 16:8 -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Streams to and from Browser
On Thu, Jul 12, 2012 at 01:38:02PM -0700, Andrew Lunny wrote: > On 12 July 2012 11:58, Alan Gutierrez wrote: > > > I could have swore I *just* saw a project that exposes the Stream API to > > the browser so that you can use things like `event-stream` on the > > browser to communicate with the server. It looked like it came out of > > NodeConf. I even think I bookmarked it. > > > > Or was it all a dream? > > > https://github.com/maxogden/domnode is probably what you're thinking of. Yes, exactly. Thank you. -- Alan Guterrez - @bigeasy -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
Re: [nodejs] Streams to and from Browser
also see https://github.com/substack/shoe it's a wrapper for SockJs (websockets, with fallbacks) that presents a Stream. also useful is https://github.com/dominictarr/mux-demux which allows you to multiplex streams through a single stream, so you can use multiple streams through a single websocket connection. On Fri, Jul 13, 2012 at 4:11 PM, Alan Gutierrez wrote: > On Thu, Jul 12, 2012 at 01:38:02PM -0700, Andrew Lunny wrote: >> On 12 July 2012 11:58, Alan Gutierrez wrote: >> >> > I could have swore I *just* saw a project that exposes the Stream API to >> > the browser so that you can use things like `event-stream` on the >> > browser to communicate with the server. It looked like it came out of >> > NodeConf. I even think I bookmarked it. >> > >> > Or was it all a dream? >> > >> https://github.com/maxogden/domnode is probably what you're thinking of. > > Yes, exactly. Thank you. > > -- > Alan Guterrez - @bigeasy > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en