A
A
Andrey Prokopyuk2012-04-24 10:48:29
PHP
Andrey Prokopyuk, 2012-04-24 10:48:29

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

3 answer(s)
M
Mikhail Osher, 2012-04-24
@Andre_487

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)

A
anycolor, 2012-04-24
@anycolor

REST -> XML & JSON - the answer suggests itself.

A
Alexander Lozovyuk, 2012-04-24
@aleks_raiden

I see AMF or JSON

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question