Detecting Mobile Browsers in Zend 1.11

This blog post will explain, with a semblence of detail, how to detect if your zend application is being viewed on a mobile device. There are a number of tutorials out there that describe multiple ways of getting the mobile brower and making it available within your application, I tried just about all of them but the only way that worked, for my needs, was using Zend_Http_Useragent and WURFL 1.1.

This post will explain the following:

1. How to setup your application to use WURFL
2. How to configure Zend with WURFL
3. How to actually use WURFL with Zend

Health Warning: I’m not the most experienced at Zend development, in fact, i’ve only recently started using it, so what i’m explaining might not be the most solution, but it should at least work, i’m trying to write this so you can simply copy and paste and everything else will be ok.

Now that’s out of the way, prepare to be amazed. Or if you’re like me, frustrated.

Pages: 1 2 3 4

This entry was posted on Saturday, March 19th, 2011 at 14:39 and is filed under zend. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.