开发者

Accessing server-side data

开发者 https://www.devze.com 2023-02-13 09:41 出处:网络
I am a Flex developer and now I have started learning the fundamentals of iOS, Objective-C, and accessing server-side data. Most of the Flex projects I do are mainly in accessing server-side data with

I am a Flex developer and now I have started learning the fundamentals of iOS, Objective-C, and accessing server-side data. Most of the Flex projects I do are mainly in accessing server-side data with Flex from .Net, Python, and Java since we all know data access in Flex is possible only via 3 ways: Http, Web-service, and Remote Object开发者_运维技巧. Out of these 3, Remote Object is the most reliable, fast and handy.

  1. My Question is, do we have remote object concept in iOS? I mean is there any interface (like blaze DS, weborb) available on the market for serializing/deserializing Objective-C object type to C#, Java, and python or vice versa?

  2. What is the best way to communicate in PHP?


With Adobe's work to get AIR running on iOS I can say that WebORB for Java, .NET or PHP can be used to "easily" connect your Flex application running on iOS to a .NET, Java or PHP backend enabling you to do remoting and messaging. Soon, WebORB will support native iOS (Objective C).


There are many options. Some require using an external library which isn't in the base SDK. You can check stuff like: http://mobile.tutsplus.com/tutorials/iphone/restkit_ios-sdk/ I usually prefer working with PHP and a very simple REST API, but of-course it depends on what you're building and what your requirements are.

0

精彩评论

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