Javascript & Rails future

Hi,

David H.H. announced recently that jquery is going to be the default in
Rails 3.1, and that Prototype helpers / RJS are going into a gem.

What does that mean for the future? Should we progressively forget about
things like javascript helpers, RJS, and all these fun parts of rails?
And start coding with jquery/json in mind?

I’m not against that at all, but I have to admit I find RJS really fun
to use…

On Mar 14, 12:19pm, Philippe L. [email protected]
wrote:

Hi,

David H.H. announced recently that jquery is going to be the default in Rails
3.1, and that Prototype helpers / RJS are going into a gem.

What does that mean for the future? Should we progressively forget about things
like javascript helpers, RJS, and all these fun parts of rails? And start coding
with jquery/json in mind?

I’m not against that at all, but I have to admit I find RJS really fun to use…

I found rjs fun to use at first, but I think it becomes a bit of a
crutch eventually. As far as the helpers go, while convenient they
encourage a nasty way of doing javascript.

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs