36 sites, 9,577 entries and counting...     Get a free blog; Join a Weblog Network!
Top

Rails 1.1 and RJS Templates for Easily Ajaxifying your Webapp

April 6, 2006

Well, as you probably know, Ruby on Rails 1.1 has been released.

One of the major new features of 1.1 is the RJS templating language. (hint: it’s really just Ruby!)

RJS is a templating language that allows you to write JavaScript in a native Ruby style.

Some Good RJS Links

Cody Fauser’s Intro to Rails’ RJS
More on RJS and some of its advanced features
Rails JavaScript Generator Methods

Now, here’s an absolute Must-Have RJS Debugging Snippet to drop into your rhtml page when you’re playing around with this stuff:
[ruby]


[/ruby]

(via techno-weenie)

Cross-blogged at sablog.com.

Comments

One Response to “Rails 1.1 and RJS Templates for Easily Ajaxifying your Webapp”

  1. False Positives » Blog Archive » DemoCamp 5 : More Geek Show and Tell in Toronto on April 26th, 2006 9:38 pm

    […] As mentioned, Chris did a demo of the new feature in RubyOnRails 1.1 of RJS Templates : Rails JavaScript, a way to have your Ruby generate Javascript, particular all those fine Ajax’y things. (see Rails 1.1 and RJS Templates for Easily Ajaxifying your Webapp. He also had a big shout out for the firefox extension FireBug for your javascript debugging needs. […]

Got something to say?





Bottom