RJS Templates for Rails

RJS Templates for Rails

4.11 - 1251 ratings - Source

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.The only downside to the selectors support is that they will not work in Internet Explorer. Making Ajax Calls with Rails RJS wouldna#39;t be very useful if you couldna#39;t make Ajax calls from your pages. Rails offers many ways to perform Ajax calls andanbsp;...

Title:RJS Templates for Rails
Author:Cody Fauser
Publisher:"O'Reilly Media, Inc." - 2006-06-12


You Must CONTINUE and create a free account to access unlimited downloads & streaming