I assume you mean Zend_Amf_Server if you're speaking of Zend?
This might be helpul:
https://framework.zend.com/manual/1.12/en/zend.amf.server.html

I had used Zend_Amf_Server for a long time in the past and remember that
there could be some pitfalls.
E.g. you have to take care of the VO mapping, the class registration and of
course the services-config itself.
I've never used the FlashBuilder code generation/data-centric tools but to
avoid issues with it I recommed to implement the services by yourself.
As Jeffrey said it would be helpful if you provide some more details.

However, if it's an option for you to replace AMF by JSON (or XML) it makes
much sense to replace the Zend_Amf_Server by a REST server.
Building a REST server with PHP is easy using the awesome Slim framework:
http://www.slimframework.com/

Using this option you'll get a reusable API that could be consumed by any
http client.
If you combine SLIM with JSON Web Token (JWT) you be able to build real
stateless services (no state on the server side):
https://github.com/tuupola/slim-jwt-auth

I'd like to publish a tutorial using SLIM/JWT with Flex, but unfortunately
time is always not enough...we'll see...

HTH,
Olaf








--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Connect-AIR-to-a-Remote-Server-tp13379p13382.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to