Beneath-the-Page Application Development with Rails
David Heinemeier Hansson
But there's a better way: Forget about all that pure data nonsense and pass the browser complete interface fragments generated in the language of your choice on the server side. Build your full scale web pages and user interfaces from the self-same code used to generate these AJAX UI components using Ruby on Rails and a little thing called "partials." Partials works like sub-routines for HTML and have their own local scope. It is the use of these partials that allows us to reuse the same HTML routines for both the initial render and subsequent AJAX updates. It's the partials that keeps you DRY ("Don't Repeat Yourself"). This is AJAX for the rest of us. (Of course masochistic rocket surgeons are welcome too!)
For sponsorship opportunities, contact us at
Download the ETech Sponsor/Exhibitor Prospectus
© 2007, O'Reilly Media, Inc.