I am working on a RESTish server project that responds to HTTP requests in various formats. This allows us to write applications that appeal to the user and retrieve any format that was most convenient at that time. For example, to find out if there is a logged in user, we can send:
http://serverurl/Authentication?command=whoami&format=xml
As you can imagine, this returns an XML that contains information about the registered user (if any). We can get the same information in json:
http://serverurl/Authentication?command=whoami&format=json
Recently, we have been discussing adding yaml support, as it is popular with some ruby and python developers. At the same time, we are talking about writing a prototype client application in Flex (which, if you cannot say from my question, will be our first foray into Flex development). I understand that we can use one of our existing formats to communicate with the Flex application, but if we decided to add support for these additional formats “just because we can,” is there anything that would make using amf especially difficult or other than xml or json output?
source
share