Signals is a project mainly written in Ruby, based on the MIT license.
A rails plugin engine to use signals events between ajax-driven web client and your web server.
BE CAREFUL in Beta yet!!
in application layout add, after javascripts include tag :
<%= activeSignalsJavascript %>
or if you don't want default timeout
<%= activeSignalsJavascript {:timeActive => XX, :timeInactive => XXXX} %>
After you can send event in your code with :
SignalEvent.emit(target, paramsevent);
MORE DOCUMENTATION must be provided later!!!
to configure the plugin you must provide an initializer like this :
SignalsEvent.backend = 'mongoid' # or 'ar' for activerecord SignalsEvent.default_end_in = 10.seconds # default is 5 minutes if not changed here
require 'lib/signals_lib' #if you provide your own SignalsLib Checker load them here
Copyright (c) 2009-2010 Florent Ruard-Dumaine, released under the MIT license