Answer the question
In order to leave comments, you need to log in
Data exchange between ActionScript3 client and PHP server
The issue of data exchange between the ActionScript 3 client and the server has been discussed a lot, but I would like to dot the e once and for all.
I don’t want to talk about “flash is dead or not”, we’ll just take it for granted that development is being done in ActionScript 3.
As far as I know, there are three classic approaches for exchanging data between a client and a web service: REST, SOAP, and a bike on your own drawings.
When using REST and the bicycle method, you can use different ways of structuring data: textual XML and JSON, binary AMF.
There is also the still exotic Protocol Buffers and other lesser known tools.
I would like to know which method of data exchange is more successful? Implementation in PHP is also important: existing libraries and the possibility of incorporation into an existing project.
Answer the question
In order to leave comments, you need to log in
Participated in the development of such games. We used amfphp. There was some kind of simple library, but the developers themselves wrote it, but I didn’t find it similar.
these two do not need to be introduced:
AMFPHP
Zend AMF
and you can look at these:
SabreAMF
PHP AMF3 extension (these are the sources)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question