J
James Coglan
[Note: parts of this message were removed to make it a legal post.]
faye version 0.1.0 has been released!
* <http://github.com/jcoglan/faye>
Faye is an implementation of the Bayeux protocol in Ruby. It includes a
server backend and an adapter for Rack, and a self-contained JavaScript
client. Bayeux is a protocol designed to facilitate Comet, also known as
'server push' or 'Ajax push', a technique for pushing messages from the
server to the client to minimize latency.
NOTE this is not currently intended for large-scale use. It is being
developed mostly as a tool for scripting multiple browsers and automating
JavaScript testing. However, use of a well-known protocol should allow
it to be repurposed fairly easily.
I'm putting this out as a very early demo that includes just enough tested
code to implement a significant chunk of Bayeux. My main plan is to
use this for using a Ruby terminal to script multiple browsers at once
and to run automated tests. I'm not intending it for large-scale use,
although I would appreciate some help with scaling the server to multiple
Ruby processes so it can run behind Passenger. I don't really have
experience
with this sort of thing so pointers to introductory material and tools I
should
look at would be very much appreciated.
There is no server-side client yet though that's next on my to-do list. The
gem includes the obligatory chat demo, which is a Twitter-like app written
entirely in client-side JavaScript.
faye version 0.1.0 has been released!
* <http://github.com/jcoglan/faye>
Faye is an implementation of the Bayeux protocol in Ruby. It includes a
server backend and an adapter for Rack, and a self-contained JavaScript
client. Bayeux is a protocol designed to facilitate Comet, also known as
'server push' or 'Ajax push', a technique for pushing messages from the
server to the client to minimize latency.
NOTE this is not currently intended for large-scale use. It is being
developed mostly as a tool for scripting multiple browsers and automating
JavaScript testing. However, use of a well-known protocol should allow
it to be repurposed fairly easily.
I'm putting this out as a very early demo that includes just enough tested
code to implement a significant chunk of Bayeux. My main plan is to
use this for using a Ruby terminal to script multiple browsers at once
and to run automated tests. I'm not intending it for large-scale use,
although I would appreciate some help with scaling the server to multiple
Ruby processes so it can run behind Passenger. I don't really have
experience
with this sort of thing so pointers to introductory material and tools I
should
look at would be very much appreciated.
There is no server-side client yet though that's next on my to-do list. The
gem includes the obligatory chat demo, which is a Twitter-like app written
entirely in client-side JavaScript.