WNG is a JSP tag-library, what tags really do is to build "components", i.e. to create Java objects which you can connect like Lego bricks to build a mobile page programmatically. The actual rendering is postponed to a later stage, i.e. when the programmer is ready. Of course, the rendering can be
... [More] made follow the JSP life-cycle (and this will be the most common usage, I suspect), but nothing prevents you, the programmer, from having the object model generate mobile mark-ups in situations I cannot think of at the moment. [Less]
It is a WURFL Shared Library used to match the HTTP request to obtain the mobile device capabilities.
It can be used to build Ruby, PHP, Python module once it is installed on the system.
The WURLF file format (http://wurfl.sourceforge.net/) is not well adapted to the parsing of the user
agent strings. It is useful to manage a database of mobile features.
Mobile::Wurfl is a perl module that provides an interface to mobile device information represented in wurfl (http://wurfl.sourceforge.net/). The Mobile::Wurfl module works by saving this device information in a database (preferably mysql).
It offers an interface to create the relevant database
... [More] tables from a SQL file containing "CREATE TABLE" statements (a sample is provided with the distribution). It also provides a method for updating the data in the database from the wurfl.xml file hosted at http://www.nusho.it/wurfl/dl.php?t=d&f=wurfl.xml.
It provides methods to query the database for lists of capabilities, and groups of capabilities. It also provides a method for generating a "canonical" user agent string (see "canonical_ua").
Finally, it provides a method for looking up values for particular capability / user agent combinations. By default, this makes use of the hierarchical "fallback" structure of wurfl to lookup capabilities fallback devices if these capabilities are not defined for the requested device. [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy