-
Notifications
You must be signed in to change notification settings - Fork 0
fz3n/ajaxdemo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a small AJAX demo. It runs on a node.js server. (http://nodejs.org) Tested on node v0.6.9, but there's very little going on here, so it will probably run on earlier versions. Type this command in the terminal of a computer with node installed, while in the src directory: > node index.js Then visit localhost:8000 in a browser. New features: - Several entries are displayed, timestamped. - Better explanation on website. Recently fixed: - No longer hangs after several submissions (was caused by not sending proper response to browser in request.js/submit) - Stopped using filesystem, code was leftover from the start of the project when this was a bit more ambitious in scope - longPoll responds based on emitters now - On a timeout, server is polled appropriately and longPoll restarts - Set cache to off, allowing longPoll to work across multiple tabs of the same session.
About
A small AJAX demo using node.js and jQuery
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published