Postworthy Subscribe to Postworthy
Home   Search   Login   Join

Hello, welcome to Postworthy!

Postworthy is a free service for sharing the cool stuff you find on the web. We want to help you share your answer to this question: What have you found on the web? Join Now to share the cool stuff you find!

AMF: Action Message Format

Landon Key posted this on 07.03.2007 at 12:42 PM with a worthy factor of 1
More (2)   | posted in: Web 2.0  
AMF Action Message Format
Landon Key posted this comment on 07.03.2007 at 12:44 PM
AMF has been reverse engineered, and numerous open source and commercial software has been developed because of this. Some of the open source servers for Flash Remoting that communicate via AMF include:

* AMFPHP
* OpenAMF
* flashticle
* SabreAMF
* amf.net
* rubyamf
* Red5 : Open Source Flash Server
landon.key posted this comment on 08.01.2007 at 02:03 PM
From Wikipedia:

AMF is a binary format based loosely on the Simple Object Access Protocol (SOAP). It is used primarily to exchange data between a flash application and a database, using a Remote Procedure Call.

Each AMF message contains a body which holds the error or response, which will be expressed as an ActionScript Object.

Data Types

AMF includes several core data types which are always present throughout the serialization of data:

* Byte - A simple 8-bit chunk of data. This is the simples way to send AMF data.
* Int - A 16-bit number made of two consecutive bytes. The first byte is the most significant byt, and the second byte is the least significant byt.
* MediumInt - A 24-bit number, identical to the above except for the length.
* Long - A 32-bit number, same as above, but longer.
* Double - A 64-bit number made up of 8 consecutive bytes. It represents a floating point, signed number. The double is little-endian encoded.
* UTF8 - A UTF8 string longer than 2^16 bytes. It is made of a an integer (two bytes) representing the string length, followed by the UTF8-encode string.
* LongUTF8 - A UTF8 string possible longer than 2^16 bytes. It consists of a long integer (four bytes) representing the string length, followed by the UTF8 encoded string.

http://en.wikipedia.org/wiki/Action_Message_Format
* To post a link use the following syntax:
[url=http://postworthy.com]Postworthy[/url]
or
[url]http://Postworthy.com[/url]