I am loving just about everything in rails right now. I find a lot of
things faster than java and it's a pleasure to work with.

One area though that I am not sure how to proceed with is ajax/
javascript.

For those of you using rails and a lot of ajax, what are your thoughts
on the built-in functionality for javascript? What about jquery-rails?
Do you go with it? Do you fight against it? Do you start from scratch?

With 3.1 having so many changes when it comes to Javascript, does it
make sense to setup your 3.0.7 project in a certain way to make it
easier to upgrade later?

There are also a lot of possibilities with other libraries on top of
jquery. For example, some people recommend using something like
backbone.

I have found on my last java program that require.js was really handy,
but I'm not sure if that was the 'best' way to structure large
applications. It was definitely better than doing it ad-hoc and just
sprinkling 10 script tags on every page.

I'd like this project to have some cohesion and structure when it
comes to how I lay out my javascript this time around. The javascript
features are going to be really intense, and I don't want to run into
any pitfalls.

What would you suggest? While I am really experienced in developing
applications, I am not the most experienced when it comes to ajax-
specific ones. I am also pretty new to rails... so if there's common
conventions and common library setups that everyone "just uses", I
won't be aware of it right now.

Thanks for the help.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to