RJS Templates for Rails

Front Cover
"O'Reilly Media, Inc.", Jun 12, 2006 - Computers - 56 pages
2 Reviews

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.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Common terms and phrases

About the author (2006)

Cody Fauser is currently CTO of Ottawa based Shopify, the best e-commerce solution on the web. He is responsible for ensuring that Shopify is a robust, world-class platform for over 5,000 online businesses. Cody is the lead author of Rails in a Nutshell, and contributed to Advanced Rails Recipes. He also wrote RJS Templates for Rails and the PeepCode ActiveMerchant PDF. Cody enjoys participating in Open Source projects and is the sole maintainer of ActiveMerchant, the most popular payment processing library for Ruby. Cody currently lives in Buenos Aires with his wife Maria and son Sim n. You can check out his blog at http: //www.codyfauser.com and follow him on Twitter at http: //twitter.com/codyfauser.

Bibliographic information