December 2008
Intermediate to advanced
360 pages
8h 21m
English
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.
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 ...
Read now
Unlock full access