Adobe Air 和 PHP
我不完全理解如何在adobe air(使用flex3)和php之间进行通信。我确实知道很多人使用 AMFPHP 和 Zend AMF。
然而,AMFPHP 似乎已经过时了,Zend AMF(据我所知)只能与 Zend 框架一起使用(我不使用它,也不喜欢恕我直言)。
我的问题是: 除了这些还有其他的沟通方式吗?我知道可以使用 xml 来做到这一点,但是它有效吗?我可以使用 xml 插入 mysql 表吗?
还有其他方法吗?
i do not fully understand how to communicate between adobe air (using flex3) and php. i do understand that many use AMFPHP and Zend AMF.
However, AMFPHP seems to be outdated and Zend AMF (from what i understand) only works with the Zend framework (something I dont use, nor like IMHO).
My Question Is:
Are there other ways of communication besides these. I know that one can use xml to do this, but is it efficient? can i use xml to INSERT INTO mysql tables?
Are there other ways?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
AMFPHP 可能很“老”,但它的功能非常强大,并且工作出色。它不更新的原因是因为它实际上不需要更新。 WebORB 是另一种选择。 WebORB 太糟糕了。强烈建议您检查一下。
其他一些选项:
AMF 远远优于这两种解决方案。它速度更快,传输大小更小,而且您不必在任何一方的转换上苦苦挣扎。服务器和客户端使用本机类型对象,而不是通用 ASCII 数据类型。
AMFPHP might be 'old' but it is incredibly functional and does its job well. The reason it isn't updated is because it doesn't really need to be. WebORB is another option. WebORB is badass. Highly recommend you check it out.
Some other options:
AMF is far and away superior to either of these solutions. It is faster, smaller transfer sizes, and you don't have to dink around with conversions on either side. The server and the client speak in native typed objects, not generic ASCII data types.
你说:
事实并非如此:
Zend_Amf
可以作为独立包下载和使用,而无需处理 Zend Framework 的其余部分。请参阅:Zend Amf 下载
You say :
That is not true :
Zend_Amf
can be downloaded, and used, as a standalone package, without having to deal with the rest of Zend Framework.See : Zend Amf Download