JSON compatible with Ry Dahl's Ajax.Pull + example
commitb5419dc0e819550b5db0bc18579d8243477c53f2
authorEric Wong <normalperson@yhbt.net>
Fri, 13 Nov 2009 03:32:46 +0000 (12 19:32 -0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 13 Nov 2009 03:32:46 +0000 (12 19:32 -0800)
tree6abaca5ea13b00bf936572812996c9c0480a1158
parent701405d00364c63c0efbf11a39368dd2cbee0053
JSON compatible with Ry Dahl's Ajax.Pull + example

Ry posted about it here:
  http://rubyforge.org/pipermail/mongrel-users/2007-July/003747.html

This is technically superior compared to all the existing interfaces
since it only requires only one, long-running client-side HTTP request.
I would imagine it's possible for a JavaScript programmer to be capable
of even removing the need for an extra request entirely, I'm not that
programmer...
examples/rails_app-2.3.4/app/controllers/files_controller.rb
examples/rails_app-2.3.4/app/views/files/pull.html.erb [new file with mode: 0644]
examples/rails_app-2.3.4/public/javascripts/ajax_pull/ajax_pull.js [new file with mode: 0644]
examples/rails_app-2.3.4/public/javascripts/ajax_pull/prototype-1_5_1.js [new file with mode: 0644]
examples/rails_app-2.3.4/public/javascripts/ajax_pull/upload_progress.js [new file with mode: 0644]
examples/rails_app-2.3.4/public/stylesheets/site.css [new file with mode: 0644]
lib/upr/json.rb