AS3:比 AMFPHP 更新/更好

发布于 2024-08-13 09:24:24 字数 85 浏览 7 评论 0原文

我知道 AMFPHP 长期以来一直用于连接 php 和 flex。我记得我在某处读到现在有更好的东西,但我没有记下来,当然现在我忘了。有谁知道那可能是什么?

I'm aware that AMFPHP has long been used to connect php with flex. I remember I read somewhere that there's something better now, but I didn't take a note of it, and of course now I forgot. Does anyone know what that could be?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

烈酒灼喉 2024-08-20 09:24:24

我不确定是否还有更好的东西。您可能对 Zend Framework 的 AMF 组件 感兴趣,该组件由以下人员贡献阿多比。

I'm not sure if there's anything better. You might be interested in Zend Framework's AMF component, which was contributed by Adobe.

惯饮孤独 2024-08-20 09:24:24

您正在寻找 ZendAMF。 Wade Arnold 是 AMFPHP 的开发者,他基本上停止了该项目以开发 AMFPHP,这是一个官方支持的实现,或多或少做同样的事情。

ZendAMF 确实需要在服务器端进行更多设置 - 您需要安装 Zend,至少部分安装,并且您需要对文件结构等有很好的了解。好处是您可以执行诸如动态打字之类的操作,它允许您将类型化对象从 PHP 返回到 AS3 - 只要您在两端定义了类型并将其链接在一起。

这是一项很酷的技术!

You're looking for ZendAMF. Wade Arnold is the guy who developed AMFPHP and he basically discontinued that project in order to develop AMFPHP, which is an officially supported implementation that does more or less the same thing.

ZendAMF does tend to require a bit more setup on the server-side - you need to install Zend, at least partially, and you need to have a decent understanding of file structure etc. The payoff is that you can do things like Dynamic Typing, which allows you to return Typed objects from PHP into AS3 - as long as you have the type defined on both ends and linked together.

It's a cool bit of technology!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文