JavaScriptSearch Friday, June 30, 2006; 08:59 AM
Building a Ruby on Rails web site? Then you'll want to hear what one
satisfied reader said: "For the price of two burritos and a day of code
copying and testing, you can skip five days or two weeks of digging for
details." And he's not the only one singing praises of the new PDF
offerings from O'Reilly. Another reader of ,RJS Templates for Rails
calls it, "A must have for any rails developer…This book shows the most
painless and innovate way to develop modern AJAX UIs for web
applications."
Whether you're working with Rails or trying to keep your latest
software project from being derailed by the misplaced guidance of a
well meaning manager, you'll find the answers in the
latest PDF offerings from O'Reilly. They're part of a commitment to
delivering vital technology information to people who need it, when
they need it. Readers purchase and download the PDFs through the
O'Reilly online store, with no restrictions on the ability to save,
copy, or print these documents. RJS templates are an exciting and powerful new type of template added
to Rails 1.1. Unlike conventional Rails templates that generate HTML or
XML, RJS templates generate JavaScript code that is executed when it is
returned to the browser. This JavaScript generation allows you to
perform multiple page updates in-place without a page reload using
Ajax. All the JavaScript you need is generated from simple templates
written in Ruby. This document helps you get acquainted with how RJS
templates fit into the Rails framework and gets you started with a few
easy-to-follow examples.
|