Book description
Flexible Rails is a book about how to use Ruby on Rails and Adobe Flex to build next-generation rich Internet applications (RIAs). The book takes you to the leading edge of RIA development, presenting examples in Flex 3 and Rails 2.
This book is not an exhaustive Ruby on Rails tutorial, nor a Flex reference manual. (Adobe ships over 3000 pages of PDF reference documentation with Flex.) Instead, it's an extensive tutorial, developed iteratively, how to build an RIA using Flex and Rails together. You learn both the specific techniques you need to use Flex and Rails together as well as the development practices that make the combination especially powerful.
The example application built in the book is MIT-licensed, so readers can use it as the basis for their own applications. In fact, one reader has already built an agile project management tool based on the book example!
About the Technology
Rails is a fantastic tool for web application development, but its Ajax-driven interfaces stop short of the richness you gain with a tool like Adobe Flex. Simply put, Flex is the most productive way to build the UI of rich Internet applications, and Rails is the most productive way to rapidly build a database-backed CRUD application. Together, they're an amazing combination.
About the Book
With this book, you learn Flex by osmosis. You can read the book and follow along even if you have never used Flex before. Consider it "Flex Immersion." You absorb the key concepts of Flex as you go through the process of building the application.
You will also learn how Flex and Rails integrate with HTTPService and XML, and see how RESTful Rails controller design gracefully supports using the same controller actions for Flex and HTML clients. The author will show you how Cairngorm can be used to architect larger Flex applications, including tips to use Cairngorm in a less verbose way with HTTPService to talk to Rails.
What's Inside
- Flex 3 and Ruby on Rails 2 integrated with HTTPService and XML
- RESTful Rails controllers that support Flex and HTML clients
- Coverage of how to use Cairngorm to architect larger Flex applications
- A full application--not just a toy--developed and refactored iteratively
About the Reader
Flexible Rails is for both Rails developers who are interested in Flex, and Flex developers who are interested in Rails. For a Rails developer, Flex allows for more dynamic and engaging user interfaces than are possible with Ajax. For a Flex developer, Rails provides a way to rapidly build the ORM and services layer of the application.
About the Author
Peter Armstrong has been developing rich client applications for over 7 years. He worked with Flex full-time from July 2004 (since Flex 1.0) to October 2007 for a Silicon Valley startup, and was part of the team that won the 2006 Adobe MAX Award for RIA/Web Development. Before that, he was a Java Swing developer for over 4 years for another Silicon Valley startup. On the Rails side, Peter has been tracking Ruby on Rails since mid-2005 (since before Rails 1.0) and is the organizer of The Vancouver Ruby/Rails Meetup group. Peter is also a frequent speaker on using Flex and Rails together, including presentations at The Vancouver Flash/Flex Meetup, a RailsConf 2007 BOF, The Vancouver RIA Developer Camp and Rails to Italy in Pisa. Peter lives in the Vancouver, BC area and works as a Flex/AIR/Flash developer, writer (www.flexiblerails.com) and independent consultant (www.ruboss.com).
Quotes
... a first class learning experience that is tough to quantify but easy to qualify: Don't miss it.
- Louis F. Springer, Sun Microsystems
"Flexible Rails" changes the face of web application development.
- Robert Dempsey, Atlantic Dominion Solutions
Well Done! ... a thorough job of blending two of the best technologies!
- Christopher Bailey, Bring Light
Flex 3 on Rails 2 is much more than the sum of it's parts—and this book is the key.
- Arne Pfeilsticker, Pfeilsticker Software + Services
A really nice book that covers all about Flex and Rails working together.
- Paulo Fernando Larini, Benner Health Systems
Table of contents
- Copyright
- Dedication
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the Cover Illustration
- Part 1. Getting started
- Chapter 1. Why are we here? Where are we going?
- Chapter 2. Hello World
- Chapter 3. Getting started
- Part 2. Building the application
- Chapter 4. Creating the main Flex UI
- Chapter 5. Expanding the Rails code, RESTfully
- Chapter 6. Flex on Rails
- Chapter 7. Validation
- Part 3. Refactoring
- Chapter 8. Refactoring to Cairngorm
- Chapter 9. Holding state on the client properly
- Part 4. Finishing up
- Chapter 10. Finishing the application
- Chapter 11. Refactoring to RubyAMF
- Chapter 12. Rails on AIR (Adobe Integrated Runtime)
- Appendix A. How to use Subversion with Flex + Rails
- Appendix B. Handwaving at omitted topics
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Flexible Rails
- Author(s):
- Release date: December 2007
- Publisher(s): Manning Publications
- ISBN: 9781933988504
You might also like
book
Rails 4 in Action
GET MORE WITH MANNING An eBook copy of the previous edition, Rails 3 in Action, is …
book
Learning Rails 5
If you’re a web developer or designer ready to learn Ruby on Rails, this hands-on guide …
book
Learning Rails
While most books written about Rails cater to programmers looking for information on data structures, Learning …
book
Rails Pocket Reference
Rails 2.1 brings a new level of stability and power to thisacclaimed web development framework, but …