You're talking about json responces so I suppose as an overall service
pattern you are using REST?
1. For the redirects
Well in that case, REST dictates that you need to use HTTP's facilities. I
am saying this especially for the redirects.
You don't need to send redirects as information in JSON
I'll try to answer some of your questions
*.*
>
> *- When I do a check for $this->request->isMobile() the result is false;
> is that because we are using the simulator?*
>
I don't know, but I think yes.
*- What part does the RequestHandler component play in this? I have
> included it in AppCont
Try using extension for Google Chrome, Chrome UA Spoofer, for simulation
iOS user agent in your browser.
Regards.
2014-04-03 7:28 GMT-03:00 Jeremy Burns :
> We're developing an iOS app alongside a CakePHP web app. At this point the
> iOS developer is using the XCode simulator. I have some quest
We're developing an iOS app alongside a CakePHP web app. At this point the
iOS developer is using the XCode simulator. I have some questions about how
the PHP code should be altered to handle requests from iOS. We are learning
as we go along...
- When I do a check for $this->request->isMobile()