开发者

How to pass XML from Cakephp using helper to the iPhone app

I'm stuck here...

Is there a way we can get results from MySQL database transform to XML with the option of sending as JSON to iPhone App using Cakephp XML helper?

If someone c开发者_如何学Could kindly help me with some answer, that would be much appreciated!

Thank you. Jae


What you are trying to do is expose the functionality of the server to other applications, in this case a mobile phone app. I would suggest that you do it using REST which is detailed here - Create a REST-style API with CakePHP and XML.

You can change it as need to return JSON as well.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜