Earlier today I started on a new proposal for a user agent component for the Zend Framework. You can check out the proposal here (the proposal is faaaar from ready, I just put it up there to have something to begin with). If someone out there have any ideas or whatever, don’t hesitate to leave a comment.
The component can be used to figure out what kind of client is accessing it. Lets say we have a mvc based application and we would like to make different views for different clients (mobile phones, smart phones, browsers, rss readers and so on)… This could then be done by asking Zend_UserAgent what type of device we are dealing with and present the correct view for the client.
A list of user agents can be found over at user-agents.org and that is probably the database I will use with the component.