What is AMF mode? Workaround

Source: Internet
Author: User
What is AMF mode?
Today I look at the day thinkphp inside there is a AMF mode, what is the AMF mode?

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

The AMF (Action Message format) is a binary format data type that encodes the flash end data into the server,server end of the remoting by using the AMF over HTTP method. Adaptor received the data will be decoded back to the correct native object, handed to the correct program processing.
In addition to Flash remoting, AMF is also widely used in the Local Connection and Flash Communication Server, and its biggest feature is that it can directly flash native object, such as Object, Array, Date, XML, returns to the server side, and automatically translates to the appropriate object on the server side, for example, when the flash array is passed back to PHP, it is automatically converted to associative array The biggest benefit for developers is that they do not need to manually handle serialization and deserialization, not only more accurate, but also more time-consuming to develop.
Since AMF is binary format and is highly compressed during encoding, it is ideal for transmitting a large amount of data, based on the testing of the Flashorb website (primarily for Web service and Flash remoting), when the data volume is larger, the flash Remoting transmission efficiency is higher, far more than the performance of Web service, so the same truth can be learned that XML, Loadvars, Loadvariables and other uses of Plaine text format of the transmission of natural and 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.