简体   繁体   English

AMF调用与Java调用Facebook

[英]AMF call vs Javascript call to facebook

I have a flash application which would be on Facebook . 我有一个Facebook上的Flash应用程序。 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. 我想知道当前我面前有两个选择,要么进行javascript调用,然后进行AJAX调用,然后将数据返回到Flash;要么直接进行AMFPHP调用,然后将数据获取到Flash。

Which would be more faster? 哪个会更快? more importantly a better approach? 更重要的是更好的方法?

amfphp is very compact and will likely be faster "in transit" than ajax calls, it'll also save you the round trip to javascript. amfphp非常紧凑,与ajax调用相比,“传输中”的速度可能更快,它还会为您节省往返javascript的时间。

What is the better choice really depends on what you're more comfortable with. 更好的选择实际上取决于您更喜欢什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM