RJS Templates for Rails

I'm happy to announce the availability of RJS Templates for Rails published by O'Reilly. Here's the intro from the book:

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.

The book covers all aspects and features of RJS that are included in Rails 1.1. It also walks through a few examples, debugging with FireBug, and finishes off with some reference material.

I'm really happy with how the book has turned out and I think you'll really enjoy it.

10 Responses to “RJS Templates for Rails”

  1. procreate Says:
    Congratulations, Cody!
  2. Cody Fauser Says:
    Thanks! I'm glad to finally release it.
  3. VASU Says:
    Just bought the PDF !! It's great !! Can I email you any questions ?? Thanks.
  4. kasuma2 Says:
    Congratulations Cody!
  5. Cody Fauser Says:
    VASU: Sure, you can send me any questions or comments. kasuma2: Thanks mom :)
  6. Jed Hurt Says:
    Hey Cody, I just grabbed the book and have been reading through it. It's a great book; really clarifying some best practices questions I had about RJS. One thing that bummed me out, though, is that the CSS attribute selectors are not supported in IE. Have you checked out Dean Edward's IE7 library (http://dean.edwards.name/IE7/)? It is reportedly supposed to add this functionality into IE5+. Maybe a good footnote for the book? Anyways, thanks for the all the hard work!
  7. John Topley Says:
    Thanks for this book, it's great and very timely!
  8. R. Thomas Says:
    Just got the book yesterday, but i've already worked through the first half. A bargain at twice the price; The examples are well thought out and really help to highlight the concepts. I've been trying to figure out if RJS was really worth taking the time to learn. Thanks for showing that RJS has a lot of value, and for giving a great primmer on how best to start using RJS. Also - thanks for having a PDF version of the book - I've pretty much given up on books that I _can't_ get an E-Book version of.
  9. R. Thomas Says:
    Just got the book yesterday, but i've already worked through the first half. A bargain at twice the price; The examples are well thought out and really help to highlight the concepts. I've been trying to figure out if RJS was really worth taking the time to learn. Thanks for showing that RJS has a lot of value, and for giving a great primmer on how best to start using RJS. Also - thanks for having a PDF version of the book - I've pretty much given up on books that I _can't_ get an E-Book version of.
  10. billy mathew james Says:
    that's ma boy!

Sorry, comments are closed for this article.