I've done quite a bit with Rails & jQuery. It's an interesting idea
to have jQuery helpers, but in some ways there's a disconnect between
the "RJS way" and the "jQuery way." RJS tends to give you a lot of
inline javascript embedded directly within onclick event handlers on
the page. jQuery on the other hand promotes external .js files, with all your event handlers initialized in a .ready() function.
To me, the jQuery way of doing it is better -- you maintain the traditional separation of markup and javascript code in separate files, and your rendered html stays a lot cleaner.
Andre
<div><span class="gmail_quote">On 6/8/06, <b class="gmail_sendername">Jack Shedd</b> <<a href="mailto:jshedd@pjdoland.com">
jshedd@pjdoland.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ick.
Rails.
I'm sure it could be done though. Is there any real interest in it?
Rails is pretty heavily tired to Prototype. I could take a look at it.
On Jun 8, 2006, at 3:24 PM, Yehuda Katz wrote:
> To what extent does jQuery work on Rails? Has anyone written Rails
> helpers for jQuery? What about porting RJS calls to jQuery?
>
> --
> Yehuda Katz
> Web Developer
> (ph)
718.877.1325
> (fax) 718.686.4288
> _______________________________________________
> jQuery mailing list
> <a href="mailto:discuss@jquery.com">
discuss@jquery.com</a>
> <a href="http://jquery.com/discuss/">
http://jquery.com/discuss/</a>_______________________________________________
jQuery mailing list
<a href="mailto:discuss@jquery.com">
discuss@jquery.com</a>
<a href="http://jquery.com/discuss/">
http://jquery.com/discuss/</a>
</blockquote></div>
<br clear="all">
--
<a href="mailto:andre.lewis@gmail.com">
andre.lewis@gmail.com</a>
<a href="http://www.earthcode.com">www.earthcode.com</a> : Web 2.0 Tech/Rails/JavaScript/AJAX
_______________________________________________
jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/