Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

prepare for publication

  • Loading branch information...
commit 67757b635c945adf1911b9f4295b390087b4e818 1 parent 62d9fcd
@thegeez authored
View
37 README.md
@@ -1,4 +1,41 @@
# clj-browserchannel-demo
+Read EuroClj email and copy
+
+Runs on at least:
+- Chrome
+- Firefox
+- IE 5.5+ (!!)
+- Android browser
+
+Related and alternative frameworks:
+- socket.io
+- websockets
+- Aleph/Netty work in progress. The lamina channel is also a candidate
+ to replace the listeners construction.
+
+Run on heroku
+- buildpack compile cljs
+
+Note on disconnections on Heroku:
+IN case of a cut internet cable disconnection, where the client cannot
+initiate a new connection:
+This also happens when using Netty rather than Jetty on
+Heroku. Deploying on AWS does propagate the closed connection.
+The connection will always be recognized as closed when the
+:response-timeout expires. Again this is only a problem when the
+client cannot reconnect.
+
+Debug:
+in the cljs code are these lines: uncomment them and recompile for a
+helpful loggin window
+
+BrowserChannel server side implementation in other languages:
+(thank the authors!)
+libevent - also has the most extensive documentation on BrowserChannel protocol
+Ruby -
+Node.js/Javascript -
+
+
Copyright © 2012 Gijs Stuurman
View
5 resources/dev/index-dev.html
@@ -17,8 +17,9 @@
<input id="msg-input" size="30" type="text" disabled="disabled"/>
<input id="send-button" type="button" value="Send" disabled="disabled"/>
</div>
- <div id="about">
- Written by: Gijs Stuurman
+ <div class="about"><a href="https://github.com/thegeez/clj-browserchannel-demo">clj-browserchannel-demo</a></div>
+ <div class="about">
+ Written by: Gijs Stuurman
/ <a href="http://twitter.com/thegeez">@thegeez</a>
/ <a href="http://thegeez.github.com">Blog</a> / <a href="https://github.com/thegeez">GitHub</a></div>
<script>
View
2  resources/public/css/default.css
@@ -13,7 +13,7 @@ body {
padding: 3px;
background-color: #62b031;
}
-#about {
+.about {
padding: 3px;
background-color: #90db46;
}
View
3  resources/public/index.html
@@ -17,7 +17,8 @@
<input id="msg-input" size="30" type="text" disabled="disabled"/>
<input id="send-button" type="button" value="Send" disabled="disabled"/>
</div>
- <div id="about">
+ <div class="about"><a href="https://github.com/thegeez/clj-browserchannel-demo">clj-browserchannel-demo</a></div>
+ <div class="about">
Written by: Gijs Stuurman
/ <a href="http://twitter.com/thegeez">@thegeez</a>
/ <a href="http://thegeez.github.com">Blog</a> / <a href="https://github.com/thegeez">GitHub</a></div>
Please sign in to comment.
Something went wrong with that request. Please try again.