RJS templates for 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 pag...

Full description

Bibliographic Details
Main Author: Fauser, Cody
Format: eBook
Language:English
Published: [Sebastopol, Calif.] O'Reilly 2006
Series:O'Reilly short cuts
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 03081nmm a2200397 u 4500
001 EB001943328
003 EBX01000000000000001106230
005 00000000000000.0
007 cr|||||||||||||||||||||
008 210123 ||| eng
020 |a 9780596528096 
050 4 |a QA76.73.R72 
100 1 |a Fauser, Cody 
245 0 0 |a RJS templates for Rails  |c by Cody Fauser 
260 |a [Sebastopol, Calif.]  |b O'Reilly  |c 2006 
300 |a 1 online resource 
505 0 |a Introduction; What Is RJS?; Who Should Read this Document?; Rails Version; Acknowledgments; Getting Started with a Simple Application; RJS and Rails; Debugging; Development Mode Debugging; Monitoring the Logfile; ActionController; Default View; Layouts; Rendering; Inline Rendering; Browser Redirection; ActionView; Element, Class, and Collection Proxies; Element Proxies; Class Proxies; Collection Proxies; Making Ajax Calls with Rails; Helpers; RJS in Practice: The Expense Tracker; Creating the Models; Defining the Controllers; Setting Up a Route; Creating an Application Layout 
505 0 |a Entering Some DataCreating the Views; What We Have So Far; FireBug: Awesome JavaScript Utility; What Is FireBug?; Installation; A Brief Tour; Enhancing the Expense Tracker; Ajax Activity Indicator; Ajax Global Responders; Model Validations; Adding Some Calculations; Refactoring with RJS Helpers; A Look Ahead; RJS Reference; JavaScriptGenerator; JavaScriptElementProxy; JavaScriptCollectionProxy; Block Variables and the Enumerable methods; Inspecting the Results of the Enumerations; Method Reference; Visual Effects; Appendix; Bibliography; Online Resources; Prototype; Scriptaculous; RJS 
505 0 |a Includes web resources 
653 |a Ruby (Computer program language) / fast 
653 |a Ruby (Langage de programmation) 
653 |a Ruby (Computer program language) / http://id.loc.gov/authorities/subjects/sh00000128 
653 |a Ruby (Computer program language) / blmlsh 
653 |a Web site development / http://id.loc.gov/authorities/subjects/sh98004795 
653 |a Sites Web / Développement 
653 |a COMPUTERS / General / bisacsh 
653 |a Web site development / fast 
653 |a Web site development / blmlsh 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
490 0 |a O'Reilly short cuts 
776 |z 0596528094 
776 |z 9780596528096 
856 4 0 |u https://learning.oreilly.com/library/view/~/0596528094/?ar  |x Verlag  |3 Volltext 
082 0 |a 006 
520 |a 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