5 Passing Data with AMF
This chapter shows you how to pass data to and from Flex and Rails using a slightly different method than XML: Adobe’s binary AMF protocol with the RubyAMF Rails plug-in.
What Is AMF?
AMF stands for Action Message Format. This standard format is for encoding data to use in ActionScript. Macromedia created AMF as a way to make connecting a Flash interface with a “back-end” service a lot easier. As long as the service understands how to encode and decode AMF messages, applications written in ActionScript can communicate with the service as if it were a part of the running program, at least as far as the type of the objects is concerned.
This concept enables very powerful Remote Procedure Call (RPC) or ...
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.