Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Fauser, Cody.

Title RJS templates for Rails / by Cody Fauser. [O'Reilly electronic resource]

Imprint [Sebastopol, Calif.] : O'Reilly, 2006.
QR Code
Description 1 online resource
Series O'Reilly short cuts
O'Reilly short cuts.
Summary 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.
Bibliography Includes web resources.
Contents 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
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
Subject Ruby (Computer program language)
Web site development.
Ruby (Langage de programmation)
Sites Web -- Développement.
Ruby (Computer program language)
Web site development.
Ruby (Computer program language)
Web site development
Other Form: Print version: Fauser, Cody. RJS templates for Rails. Sebastopol, California : O'Reilly, 2006 56 pages : color illustrations. O'Reilly short cuts 0596528094 (OCoLC)85789243
ISBN 9780596528096 (electronic bk.)
0596528094 (electronic bk.)
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information