Search Books

RJS Templates for Rails

Author Cody Fauser
Publisher O'Reilly Media, Inc.
📄 Viewing lite version Full site ›
🌎 Shop on Amazon — choose country
9.99 USD
🛒 Buy New on Amazon 🇺🇸

✓ Available for download now

Share:
Book Details
Author(s)Cody Fauser
ISBN / ASINB001O7HEQQ
ISBN-13978B001O7HEQ4
AvailabilityAvailable for download now
Sales Rank10,432,860
MarketplaceUnited States 🇺🇸

Description

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.