Wall4PHP is one of the framework that I recommend to mobile web application developer for the number of useful information that you may find inside it and related to different models of mobile phones.
WALL4PHP is implementation of WALL, Wireless Abstraction Library, originally created by Luca Passani for the Java platform; for PHP. The main purpose of Wall is to generate a generalized markup language which help the web application to be compatible with most available model in the market.
Wall is used like a template engine, the sample below for example will show your user agent :
<wall:head>
<wall:title enforce_title="true">My Document</wall:title>
<!--sent to all devices as it is -->
<meta name="value" content="value" />
</wall:head>
<wall:body>
<wall:block>
UA :
<wall:marquee>
<?php echo getenv('HTTP_USER_AGENT'); ?>
</wall:marquee>
<wall:br />
Body part 2
</wall:block>
</wall:body>
</wall:document>
0 comments:
Post a Comment