|
Build Dynamic Web Applications with Ruby Ajax on Rails teaches you how to build dynamic, interactive web applications using the two most important approaches to web development today: Ajax, and the phenomenally produc¬tive Ruby on Rails platform.
This book demonstrates how to use both Ajax and Rails to quickly build high-performance, scalable applications without having to write reams of difficult-to-maintain JavaScript code. It gives you a thorough, low-level understanding of what’s under the hood, with a high-level understanding of how to use Ajax techniques effectively.
Topics covered include:
Getting past the client-server round trip with XMLHttpRequest, and other Ajax basics Using the Prototype and script.aculo.us libraries to simplify your code, eliminate browser depen¬dencies, and create powerful visual effects Using RJS to generate JavaScript in your Ruby templates, simplifying Ajax development even further Debugging Ajax applications, using everything from standard logfiles and the Rails console to the Routing Navigator plug-in and the Firebug Firefox extension Developing functional tests and integration tests for Ajax applications; using ARTS to test RJS; unit-testing your JavaScript Building applications that are genuinely easy to use, and other design practices for Ajax usability Building secure web applications: common attacks against Ajax applications, and hardening your applications against them Building fast applications: choosing session stores and using caches to improve performance; pack¬aging static files so browsers don’t waste time downloading lots of files; and using BackgroundDRb with Ajax to provide responsive interfaces even with long-running tasks Ajax on Rails includes complete references to Prototype 1.5 and script.aculo.us 1.6.1, which can be used even outside of the Rails platform. Three fully worked out applications—a quiz program, a photo gal¬lery, and a workgroup collaboration tool—show you how everything fits together in practice.
Ruby on Rails and Ajax have both revolutionized web development, but in different ways. Ajax on Rails shows you how to put them together. If you’re tired of writing run-of-the-mill applications and want to take the next step, this book shows you the way.
Scott Raymond is a Ruby on Rails developer living in Kansas City. His work has been highlighted on the Rails web site and the Wall Street Journal Online. Besides participating in the framework’s development, he has led international Rails training sessions and was a presenter at RailsConf 2006 ISBN : 9788184042610
|
|
Pages : 364
|