Book 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.
Product information
- Title: RJS Templates for Rails
- Author(s):
- Release date: June 2006
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 0596528094
You might also like
book
Ajax on Rails
Learn to build dynamic, interactive web applications using the two most important approaches to web development …
book
Rails 5 Test Prescriptions
Does your Rails code suffer from bloat, brittleness, or inaccuracy? Cure these problems with the regular …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Rails Cookbook
Rails Cookbook is packed with the solutions you need to be aproficient developer with Rails, the …