An open API service indexing awesome lists of open source software.

https://github.com/krisleech/pushy

Demonstrates the use of long lived HTTP connections to allow the server (Sinatra) to *push* data to the client (JQuery)
https://github.com/krisleech/pushy

Last synced: 11 months ago
JSON representation

Demonstrates the use of long lived HTTP connections to allow the server (Sinatra) to *push* data to the client (JQuery)

Awesome Lists containing this project

README

          

Pushy
=====

== Description

Demonstrates the use of long lived HTTP connections to allow the server (Sinatra) to *push* data to the client (JQuery).

Author: Kris Leech ("moc.tcenokretni@hceel.sirk".reverse)
Copyright: (c) 2009 Interkonect Services UK Limited
License: GNU

== Bootstrapping

CREATE TABLE `messages` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`body` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=137 DEFAULT CHARSET=utf8;

Using Rackup as the server works but the code is not reloaded even in development mode so use shotgun instead.

./shotgun

== License

This library is licensed under the GNU General Public License (GPL)
[http://dev.perl.org/licenses/gpl1.html]