2 Passing Data with XML

Stunning Flex applications can be built on top of Ruby on Rails using XML as data transport. As this book shows, XML is not the only mechanism available for building a Flex application that interfaces with Rails, but XML will be the first choice for many who pass data between Flex and Rails because both environments provide incredible facilities to generate and consume XML. Since Rails embraced the RESTful approach, it has never been easier to get XML data in and out of a Rails application. Since ActionScript 3.0 embraced XML as a native data type with powerful binding and manipulation functions, it has never been easier to consume and generate XML with Flex. Flex can also easily connect to a Rails application ...

Get Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.