开发者

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

开发者 https://www.devze.com 2023-03-21 14:21 出处:网络
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?

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

精彩评论

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

关注公众号