8000 GitHub - fz3n/ajaxdemo: A small AJAX demo using node.js and jQuery
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fz3n/ajaxdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

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

No packages published
0