开发者

Is AMF3 protocol is good for flash/flex client server development?

I need to develop client server application that involve gaming. I have no experience in flash and I was reading about the AMF3 protocol 开发者_如何学Pythonthat is compact and fast, is it better than xml/json for data exchange? Also I need it to be on port 80.


You can use blazeDS, AMFPHP or any other AMF-ish flavor. They have one for ruby, python, different versions for php that work with zend, cakePHP. Just depends on what you are comfortable with. AMFPHP is pretty simple and what I have used in the past, the new ZendAMF is prepackaged with Flash Builder 4. AMF is the fastest way to work with data between flash and the server. It is a compressed binary. In the time it takes to send 5,000 rows of xml data you could send 20,000+ in AMF with no need to parse.


Sounds like you want to look at BlazeDS. It has built in AMF channels. We use BlazeDS in all our client/server apps and prefer it over xml/json. However, it will require a tomcat server. Fortunately, the turnkey edition comes bundled with a pre-configured tomcat setup.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜