RJS Templates for Rails

时间:2012-05-12 10:19:53
【文件属性】:

文件名称:RJS Templates for Rails

文件大小:104KB

文件格式:CHM

更新时间:2012-05-12 10:19:53

AJAX, javascript, Rails

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.


网友评论