Hi.

I'd recommend you have a look at www.amfphp.com - a very fast and easy
to use, here's a snippet from the website :

AMFPHP is a free open-source PHP implementation of the Action Message
Format(AMF). AMF allows for binary serialization of Action Script
(AS2, AS3) native types and objects to be sent to server side
services. AMFPHP is challenged with implementing the entire AMF
protocol to be an alternative to Flex Data Services (AMF3) and Flash
Remoting (AMF0). AMFPHP allows thin client applications built in
languages such as Flash, Flex, and AIR to communicate directly with
PHP class objects on the server.

Also, have a look at WebOrb, same thing as above, is comes in all
flavours, PHP, .Net, Java - have a go at
http://www.themidnightcoders.com/weborb/

Personally I'm using AMFPHP and it works perfect, using it on shared
hosts as well with no problems. Have it on 3 servers now and I think
it is fast as a bat out of hell. Havent tried WebOrb though.

WebOrb on the other hand, has code helpers etc. to get you through the
day, also... they have commercial support, AMF don't, and support for
AMFPHP dont come easy, but hey, if you know PHP you'll be allright.

The best thing about these systems, is that you can have data in/out
very very quickly. Basicly you just set up a mysql connection and off
you go, as easy as :

function getUsers () {
   return mysql_query("SELECT id,login FROM users ORDER BY login;");
}

This is actually valid code, in Flex you get the result back and have
a ArrayCollection in 1 line of code - no need for all that messy (and
slow) XML.

If you need any help to get started, feel free :-D


// Mark



Reply via email to