PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Oliver John Tibi's Blog: Mobile-ize Your CakePHP Application

Note: This article was originally published at PHPDeveloper on 17 April 3870.
PHPDeveloper

In a new post to his blog, Oliver John Tibi has the first part of a series looking at mobile-izing your CakePHP application, making it mobile friendly when a mobile browser is detected.

I'll be writing a short series of posts on how to create a mobile version of your CakePHP app. I've always been bragging to my peers how awesome CakePHP is, and so now I'm writing a short tutorial on how to create a mobile-friendly version of a CakePHP app. I promise to make this as easy as possible.

In this first part of the series he helps you do two things - set up some custom routes for the mobile version of the site ("/m") and add in browser detection using the RequestHandler's "isMobile()" method.