作者:mobiledu2502873617 | 来源:互联网 | 2023-08-25 21:29
Iamlookingtodevelopbasicclientserverdataapplicationtoaddvaluetoawebsite.我期待开发基本的客户端服
I am looking to develop basic client server data application to add value to a website.
我期待开发基本的客户端服务器数据应用程序,以增加网站的价值。
The website is .net based and opening an api such as asmx web service, json or xml would be simple.
该网站基于.net并打开api,如asmx web服务,json或xml会很简单。
Can anyone tell me what are the limitations - technically, what is possible with flash and also what Apple consider to be good practice.
任何人都可以告诉我有什么限制 - 从技术上讲,闪存有什么可能,以及Apple认为是好的做法。
Does anyone have any Actionscript code examples?
有没有人有任何Actionscript代码示例?
1 个解决方案
1
I don't think anything with Flash involved is considered "good practice" by Apple...
我不认为涉及Flash的任何内容被Apple视为“良好做法”......
Kidding aside, I would go with JSON, it fits ActionScript well, since ActionScript is based on ECMAscript. That JSON has less overhead than XML can also be a good thing on a phone (less bandwidth).
除了开玩笑,我会使用JSON,它很适合ActionScript,因为ActionScript基于ECMAscript。 JSON的开销比XML少,在手机上也是一件好事(带宽更少)。
Working with XML is easy in ActionScript since it has E4X, but if you should at a later stage switch to Objective-C/Cocoa, I believe JSON is betters suited than parsing XML.
在ActionScript中使用XML很容易,因为它有E4X,但是如果你应该在稍后阶段切换到Objective-C / Cocoa,我相信JSON比解析XML更合适。
What you should probably avoid is setting up a SOAP web service. In my experience, it may look as a tempting option on the .Net server side, but is cumbersome to work with on the client side, in scripting languages like ActionScript (and SOAP has a lot of overhead).
您应该避免的是设置SOAP Web服务。根据我的经验,它可能看起来像.Net服务器端的诱人选项,但在客户端使用脚本语言(如ActionScript)(和SOAP有很多开销)很麻烦。
All this said with reservation for that I haven't done any development for the iPhone using Adobe's Flash CS5 packager for iPhone.
所有这一切都有所保留,我没有使用Adobe的Flash CS5打包机iPhone为iPhone做任何开发。