[Rails] preferring json to other ajax approaches...
Hi,
After experience with some really ugly RJS code I developed to handle
a very involved ajax-updating page that shows the result of various
numeric calculations, I'm tempted to drop RJS in favor of jQuery and
JSON. This way, I figure, my client side script can decide what to do
with response data -- many variables of which are the same across
different ajax methods -- and leave the server out of that.
Before I embark on this new approach with JSON, however, I wondered
whether anyone who has done this type of work -- multiple layers of
client-side dependencies -- would recommend any other basis for Ajax?
Thanks,
Lille
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home