Hey folks,

I'm very new to Cake and couldn't find this satisfactorily addressed
elsewhere:

I'm developing an application for both mobile and desktop browsers. On
the user end, I'd like this to be seamless, so no "/mobile" etc. Just
curious as to be best practice for accomplishing this.

First, I'm assuming I should use the the Request Handler's isMobile()
function, and then use beforeRender()  to set the layout to the mobile
version. But what about the actual view? Should I use switches inside
each view? Is it, perhaps, better practice to use render() to change
the view altogether to a separate mobile version?

In addition, just how unreliable is the isMobile() function? Is it
really worthwhile to setup a WURFL-based browser checker as a vendor?

Thanks in advance for your help!

-David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to