> Actually, interestingly... device detection is primarily using regex > right now; wurfl/terrawurfl/deviceatlas/browscap are for reporting > _features_, or capabilities, of the detected mobile device. This allows > finer-grained decision-making. That said, you can simply choose not to > use the features detection at all, and typehint on the device type > returned (mobile, desktop, bot, etc.).
We actually are doing this internally right now by using some more simplistic rules and then caching the results (mostly via session). It is actually working out extremely well since there is not as much of a performance hit with the smaller regex. I would be interested to learn more about the browscap features portion - off to the documentation! Regards, Mike -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
