ANN: clj-browserchannel-demo, cljs <-> clj communication
Hi, clj-browserchannel-demo demonstrates cross-browser compatible, real- time, bi-directional communication between ClojureScript and Clojure using Google Closure BrowserChannel. >From the Google Closure API: "A BrowserChannel simulates a bidirectional socket over HTTP. It is the basis of the Gmail Chat IM connections to the server." The javascript api of BrowserChannel is open-source and part of the Google Closure library. The server component is not, as is noted in the Google Closure book ("Closure: The Definitive Guide by Michael Bolin"). clj-browserchannel-demo is an example chat application using a server side implementation for BrowserChannel written in Clojure. The server component is for BrowserChannel version 8. This enables client->server and server->client communication in ClojureScript and Closure web apps, without any javascript dependencies other than the Google Closure library. The chat example runs in at least: * Chrome * Firefox * Internet Explorer 5.5+ (!!) * Android browser The code is on github: https://github.com/thegeez/clj-browserchannel-demo Read the README for instructions on running and for further background on the BrowserChannel protocol and capabilities. Cheers, Gijs Stuurman http://twitter.com/thegeez / http://thegeez.github.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: ANN: clj-browserchannel-demo, cljs <-> clj communication
Here is the chat app on Heroku: http://cold-stream-6156.herokuapp.com/index.html -Gijs On Mar 28, 1:39 pm, "Gijs S." wrote: > Hi, > > clj-browserchannel-demo demonstrates cross-browser compatible, real- > time, bi-directional communication between ClojureScript and Clojure > using Google Closure BrowserChannel. > > From the Google Closure API: "A BrowserChannel simulates a > bidirectional socket over HTTP. It is the basis of the Gmail Chat IM > connections to the server." > The javascript api of BrowserChannel is open-source and part of the > Google Closure library. The server component is not, as is noted in > the Google Closure book ("Closure: The Definitive Guide by Michael > Bolin"). > > clj-browserchannel-demo is an example chat application using a server > side implementation for BrowserChannel written in Clojure. The server > component is for BrowserChannel version 8. > > This enables client->server and server->client communication in > ClojureScript and Closure web apps, without any javascript > dependencies other than the Google Closure library. > > The chat example runs in at least: > * Chrome > * Firefox > * Internet Explorer 5.5+ (!!) > * Android browser > > The code is on github:https://github.com/thegeez/clj-browserchannel-demo > > Read the README for instructions on running and for further background > on the BrowserChannel protocol and capabilities. > > Cheers, > Gijs Stuurmanhttp://twitter.com/thegeez/http://thegeez.github.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: ANN: clj-browserchannel-demo, cljs <-> clj communication
Nice work! I have been looking into this also. I think I have found something to keep me busy this weekend. On Mar 28, 7:45 am, "Gijs S." wrote: > Here is the chat app on Heroku: > > http://cold-stream-6156.herokuapp.com/index.html > > -Gijs > > On Mar 28, 1:39 pm, "Gijs S." wrote: > > > > > > > > > Hi, > > > clj-browserchannel-demo demonstrates cross-browser compatible, real- > > time, bi-directional communication between ClojureScript and Clojure > > using Google Closure BrowserChannel. > > > From the Google Closure API: "A BrowserChannel simulates a > > bidirectional socket over HTTP. It is the basis of the Gmail Chat IM > > connections to the server." > > The javascript api of BrowserChannel is open-source and part of the > > Google Closure library. The server component is not, as is noted in > > the Google Closure book ("Closure: The Definitive Guide by Michael > > Bolin"). > > > clj-browserchannel-demo is an example chat application using a server > > side implementation for BrowserChannel written in Clojure. The server > > component is for BrowserChannel version 8. > > > This enables client->server and server->client communication in > > ClojureScript and Closure web apps, without any javascript > > dependencies other than the Google Closure library. > > > The chat example runs in at least: > > * Chrome > > * Firefox > > * Internet Explorer 5.5+ (!!) > > * Android browser > > > The code is on github:https://github.com/thegeez/clj-browserchannel-demo > > > Read the README for instructions on running and for further background > > on the BrowserChannel protocol and capabilities. > > > Cheers, > > Gijs Stuurmanhttp://twitter.com/thegeez/http://thegeez.github.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: ANN: clj-browserchannel-demo, cljs <-> clj communication
See this blog post for more background on BrowserChannel and why it is useful for ClojureScript web applications: http://thegeez.net/2012/04/03/why_browserchannel.html -Gijs -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en