Reverse Ajax with RoR - what is the best option?

Hi,

I would like to introduce reverse ajax to one of my projects.
Anyone has any opinions on what is the best approach for a serious
deployment? Comet, Juggernaut, orbitd, cometd, …?

I would appreciate opinions on this issue.

Thanks!

comopasta Gr wrote:

I would like to introduce reverse ajax to one of my projects.
Anyone has any opinions on what is the best approach for a serious
deployment? Comet, Juggernaut, orbitd, cometd, …?

I would appreciate opinions on this issue.

Client-polling is easy enough with periodically_call_remote. I don’t
believe that Rails’ architecture would support Server-pushing. Maybe
somebody will correct me though.

HTH,
Bill

On Tue, Sep 16, 2008 at 3:44 PM, Bill W. [email protected]
wrote:

believe that Rails’ architecture would support Server-pushing. Maybe
somebody will correct me though.

HTH,
Bill

I’ve used juggernaut in a few places now and it works great. Very
simple to setup and run.

I’d recommend staying away from any library that does this via
persistent HTTP connections, as those are known to be quite resource
heavy on both web browsers and web servers.

Jason

Hi Jason,

Jason R. wrote:

On Tue, Sep 16, 2008 at 3:44 PM, Bill W. [email protected]
wrote:

I don’t believe that Rails’ architecture would support Server-pushing.
Maybe somebody will correct me though.

I’ve used juggernaut in a few places now and it works great. Very
simple to setup and run.

Thanks for correcting me! This looks very interesting.

Best regards,
Bill

Hi,

Does anyone have any opinion on the approach described here?
http://www.danielcadenas.com/2008/08/reverse-ajax-and-prototype.html

Cheers.

Thanks guys!

This requires extra investigation (from my side at least :slight_smile:

Comparison between juggernaut and comet

Juggernaut is good:

Juggernaut is bad:
http://orbited.org/blog/2007/08/juggernaut-is-a-bad-idea/

There is also this cometd stuff:
http://cometdproject.dojotoolkit.org/

Any thoughts will be helpfull!

Cheers.

On 20 Sep 2008, at 20:41, Pod C. wrote:

Does anyone have any opinion on the approach described here?
http://www.danielcadenas.com/2008/08/reverse-ajax-and-prototype.html

You could also consider Juggernaut: http://juggernaut.rubyforge.org/

Best regards

Peter De Berdt