What is AMF mode? Solution

Source: Internet
Author: User
What is AMF mode? Today, ThinkPHP has an AMF mode. what is AMF mode ?, To read this reply, log on to or register CSDN! What is AMF mode?
Today, ThinkPHP has an AMF mode. what is AMF mode?

------ Solution --------------------
What is AMF?

AMF (Action Message Format) is a binary format data type. the flash data is encoded by AMF over HTTP and sent back to the server, after the remoting adaptor of the server receives the data, it decodes the correct native object and submits it to the correct program for processing.
In addition to Flash remoting, AMF is also widely used for Local Connection and Flash communication server. its biggest feature is that it can directly convert flash native objects, such as object, Array, Date, XML, return to the server and automatically translate it into appropriate objects on the server. for example, when flash Array is returned to PHP, it is automatically converted to Associative Array; the biggest benefit of this feature for developers is that they do not need to manually process the complicated work of serialization and deserialization, which not only improves accuracy, but also saves time for development.
Because AMF is binary format and is highly compressed during encoding, it is very suitable for transmitting a large amount of data. according to the flashorb website Test (mainly for web service and flash remoting ), the higher the data volume, the higher the transmission efficiency of flash remoting, which far exceeds the performance of web services. Therefore, we can also learn the xml, loadVars, loadVariables and other transmission methods using plaine text format are naturally incomparable

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.