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)
- Host: GitHub
- URL: https://github.com/krisleech/pushy
- Owner: krisleech
- Created: 2009-09-13T21:49:42.000Z (almost 17 years ago)
- Default Branch: master
- Last Pushed: 2009-09-13T21:57:58.000Z (almost 17 years ago)
- Last Synced: 2025-03-17T04:44:46.750Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://chat.interkonect.com
- Size: 93.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
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]