logo


This is the HAWHAW website.





HAWHAW stands for

HTML and WML hybrid adapted Webserver

and is a toolkit to create universal mobile (multimodal) web applications.



The HAWHAW toolkit comprises the following components:


<?php
  require("hawhaw.inc");
  $myPage = new HAW_deck("Welcome");
  $myText = new HAW_text("Hello WAP!");
  $myPage->add_text($myText);
  $myPage->create_page();
?>

hawhaw.inc is a PHP class library that allows fast and easy implementation of mobile web applications. PHP programmers can implement HAWHAW applications as shown above.

If you want to use the HAWHAW PHP class library you need a PHP-enabled webserver and little experience with server-sided scripting.

There is a FAQ and the HAWHAW PHP class lib reference available for getting started.

<?xml version="1.0"?>
<hawhaw>
  <deck title="Welcome">
    <text>Hello WAP</text>
  </deck>
</hawhaw>

HAWHAW XML is an XML-based Markup Language and offers an easy way to create web applications for mobile devices.

Neither XML programming skills nor special webserver support are required to use HAWHAW XML. There is a HAWHAW XML FAQ and a HAWHAW XML reference available for getting started.

The final conversion from HAWHAW XML into the markup language accepted by the requesting device is done by a HAWHAW proxy (HAWXY).

<%@ Page Language="C#" Inherits="HawhawPage" %>
<%@ Register Assembly="Hawhaw" Namespace="Hawhaw" TagPrefix="Haw" %>
<Haw:Deck runat="server">
  <Haw:Label runat="server" Text="Hello world!" />
</Haw:Deck>

HAWHAW.NET is the HAWHAW-based mobile solution for Microsoft's .NET framework. ASP.NET developers can use any .NET language of their choice (C#, Visual Basic, etc.) in order to create mobile applications for the IIS.

HAWHAW.NET is based on the hawhaw.inc PHP library, that has been compiled into a .NET assembly by means of the Phalanger compiler.

More information about HAWHAW's ASP.NET solution can be found in the FAQ.

<%@ taglib uri="/hawtags" prefix="haw" %>
<haw:haw>
  <haw:deck title="Welcome">
    <haw:text>Hello WAP!</haw:text>
  </haw:deck>
</haw:haw>

HawTags is the HAWHAW JSP custom tag library. Java developers can use this tag library within Java Server Pages as shown above.

HawTags users need a JSP web container and knowledge about Java web technologies. The HawTags implementation uses Caucho's Quercus PHP5 engine in order to run HAWHAW's PHP code in a native Java environment.

There is a FAQ and the HawTags reference available for getting started.

Features

HAWHAW creates the following markup languages for a wide range of mobile devices:

HAWHAW supports the following browsers (list is not complete):

Further characteristics:

Back to top

Demo

You can see a HAWHAW demo on both your PC and your mobile device at this address:

http://wap.hawhaw.de/

This simple demo can be implemented either with the HAWHAW class library, with HAWHAW XML, HAWHAW.NET or with the HawTags JSP tag lib. The result of all these approaches is the same. Take a look at the source code, to find your favorite solution.

To get an impression what VoiceXML is all about, you can listen to the sound files or call the HAWHAW server from your phone.

HTML/WML Link PHP Source HAWHAW XML Source HawTags HAWHAW.NET VoiceXML
http://wap.hawhaw.de/ demo.php demo_a.xml , demo_b.xml demo.jsp demo.aspx MP3 577KB
http://wap.hawhaw.de/e1.wml e1.php e1.xml e1.jsp e1.aspx MP3 for example 1 186KB
http://wap.hawhaw.de/e2.wml e2.php e2_a.xml , e2_b.xml e2.jsp e2.aspx MP3 for example 2 301KB
http://wap.hawhaw.de/e3.wml e3.php e3_a.xml , e3_b.xml e3.jsp e3.aspx MP3 for example 3 225KB
http://wap.hawhaw.de/e4.wml e4.php e4_a.xml , e4_b.xml e4.jsp e4.aspx MP3 for example 4 387KB
http://wap.hawhaw.de/e5.wml e5.php e5_a.xml , e5_b.xml , e5_c.xml e5.jsp e5.aspx MP3 for example 5 309KB
http://wap.hawhaw.de/e6.wml e6.php e6.xml e6.jsp e6.aspx MP3 for example 6 453KB
http://wap.hawhaw.de/e7.wml e7.php e7_a.xml , e7_b.xml e7.jsp e7.aspx MP3 for example 7 263KB
http://wap.hawhaw.de/e8.wml e8.php not applicable not applicable e8.aspx MP3 for example 8 321KB
http://wap.hawhaw.de/e9.wml e9.php e9.xml e9.jsp e9.aspx MP3 for example 9 271KB

Back to top

Download area

hawhaw.inc - Source code: HAWHAW PHP class library V5.25

hawxy.php - Source code: HAWHAW proxy V1.9.1

HAWHAW.NET_0.5.24.1.zip - HAWHAW.NET for ASP.NET

hawtags-0.1.9.1.1.tar.gz - HawTags JSP tag library

hawtags-0.1.9.1.1-src.tar.gz - HawTags JSP tag library (Sources)

nihao_1.1.tar.gz - Nihao - Norbert's HAWHAW Objects for the iPhone

hawhaw_ref.tar.gz - Reference: HAWHAW PHP class library V5.25

hawxydoc_ref.tar.gz - Reference: HAWHAW XML V1.9

hawtagsdoc.tar.gz - Reference: HawTags JSP tag library V0.1.9.1.1


Back to top

Reference


There is a book available at Wrox Press which contains (among many other topics):

wrox Sample chapter

Back to top

License terms

HAWHAW PHP class library (hawhaw.inc)

The HAWHAW PHP class library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU Library General Public License for more details.

If you modify this library, you have to make sure that the "Powered by HAWHAW (C)" copyright link below the display area is kept unchanged.


HAWHAW proxy (hawxy.php)

The HAWHAW proxy PHP script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This PHP script is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.


HAWHAW.NET for ASP.NET

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


HawTags JSP tag library

The HawTags JSP tag library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.


Back to top

Links

If you're interested in WAP, wireless, handheld or VoiceXML, it's not wrong to visit the following sites:

There is a HAWHAW YAHOO! Group available that you can join in order to be informed about future software releases. Feel free to start threads or ask questions of general interest.

Back to top

About HAWHAW

Mobile applications are becoming more and more important all over the world.

But for many programmers XHTML, WML, HDML, etc. are synonyms for:

Just another markup language!

To make the life of web developers easier I wrote HAWHAW.

My goal was to hide all these markup languages behind a simple API. And many developers downloaded HAWHAW, tried it and now love it.

If you are the first time here on this site, I recommend to start with these two sections:

In the demo section some (dumb) examples will give you an overview about HAWHAW's capabilities.

My name is Norbert Huffschmid and I live in Germany nearby Munich.

I write this kind of software not for commercial purposes.

Contact: Norbert.Huffschmid@hawhaw.de


Have fun with HAWHAW
and keep on laughing ...

The HAWHAW web site links to third party information providers. The HAWHAW web site has no influence on the contents or reliability of the web sites of these third party information providers. The HAWHAW web site therefore expressly distances itself from the material of all third party internet web sites, even if the HAWHAW web site links to these external sites.

Back to top