Chapter 12: Using Device Detection to Target iPhone and iPad Designs
In This Chapter
Understanding device detection
Detecting and directing content to an iPhone or iPad
Setting up simple browser detection with PHP
Using open source detection scripts
A restaurant must get the right meal to the right table while the food is still hot, or else it won’t stay in business long. To meet this goal, well-informed wait staff must first write the order correctly and staff members in a well-organized kitchen must prepare variations of the same meal quickly, without compromising quality.
Similarly, if you want to deliver tailored versions of your website to the iPhone/iPad or another device, you must properly determine the kind of device each visitor is using (device detection, similar to turning in the right order) and then deliver the best version of your site for each of these devices (content ...