Greg Donald wrote: > On Thu, Feb 11, 2010 at 12:42 PM, Marnen Laibow-Koser > <[email protected]> wrote: >>> Why the war on RJS? >> >> What war? �It doesn't seem to be serving the OP well. > > And since by your own admission you know little to nothing about RJS > templates, what makes you an authority to dismiss them as "useless"? >
I don't claim to be one. I'm no RJS expert, and I do plan to look at RJS in more detail the next time I need significant amounts of JavaScript in a project. But I *am* an expert JavaScript programmer, and I really do not see the advantage of *not* writing my JavaScript directly. Why do you prefer RJS to writing JavaScript? >>> �It's been working great for me since Rails 0.8. >> >> How do you keep the generated JavaScript out of your HTML? > > Partials. > > Wouldn't that still put the JavaScript into your HTML files? > -- > Greg Donald > destiney.com | gregdonald.com Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- 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.

