AMF 调用与 Javascript 调用 Facebook

发布于 2024-09-06 09:44:42 字数 158 浏览 11 评论 0原文

我有一个可以在 Facebook 上运行的 Flash 应用程序。我想知道目前我面前有两个选择,要么进行 javascript 调用,这将进行 AJAX 调用并将数据返回到 flash,要么进行直接 AMFPHP 调用并将数据获取到 flash。

哪个会更快一些?更重要的是更好的方法?

I have a flash application which would be on Facebook . I was wondering currently I have two options in front of me either make javascript calls which will make AJAX calls and return the data to flash or make direct AMFPHP calls and get data into flash.

Which would be more faster? more importantly a better approach?

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

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

发布评论

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

评论(1

变身佩奇 2024-09-13 09:44:42

amfphp 非常紧凑,“传输中”可能比 ajax 调用更快,它还可以节省您与 javascript 的往返路程。

什么是更好的选择实际上取决于您更喜欢什么。

amfphp is very compact and will likely be faster "in transit" than ajax calls, it'll also save you the round trip to javascript.

What is the better choice really depends on what you're more comfortable with.

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