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.
Sorry, comments are closed for this article.
June 14th, 2006 at 09:30 AM Congratulations, Cody!
June 14th, 2006 at 02:50 PM Thanks! I'm glad to finally release it.
June 14th, 2006 at 09:46 PM Just bought the PDF !! It's great !! Can I email you any questions ?? Thanks.
June 14th, 2006 at 10:00 PM Congratulations Cody!
June 15th, 2006 at 01:10 AM VASU: Sure, you can send me any questions or comments. kasuma2: Thanks mom :)
June 15th, 2006 at 04:46 PM 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!
June 15th, 2006 at 08:27 PM Thanks for this book, it's great and very timely!
June 15th, 2006 at 08:39 PM 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.
June 15th, 2006 at 08:40 PM 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.
June 16th, 2006 at 11:05 PM that's ma boy!