(keitai-l) Re: hawhaw

From: Curt Sampson <cjs_at_cynic.net>
Date: 02/10/02
Message-ID: <Pine.NEB.4.43.0202102029150.10732-100000@angelic.cynic.net>
On Thu, 24 Jan 2002, Nick May wrote:

> There has been much mention of open source frameworks. Would anyone who
> has played with it care to comment on HawHaw?
> http://hawhaw.de

Well, I've not programmed with it, but I looked at the examples on
my PC, i-mode keitai, and looked at the source for a few.

1. It doesn't support i-mode, except to the extent that i-mode will
display regular HTML pages, and maybe not even that. Bold/italic/etc.
just don't work. Input forms do work. The images it sent appeared
to be the full-size PC-browser versions, and were cut off for being
too large. The phone number came out as a URL of some sort, but
not the sort I could dial. (I can't figure out how to view the
source on my phone when browsing; is this even possible on i-mode
phones?)

2. Working with it looked rather clunky. I mean, do you really want
to be doing this all the time?

    $myText1 = new HAW_text( "Some text formats:");
    $myText2 = new HAW_text( "This is bold", HAW_TEXTFORMAT_BOLD);
    $myText3 = new HAW_text( "This is italic", HAW_TEXTFORMAT_ITALIC);
    ...
    $myPage->add_text($myText1);
    $myPage->add_text($myText2);
    $myPage->add_text($myText3);
    ....
    $myPage->create_page();

I personally would much rather go for writing the pages in XML and
using a transformation process (e.g., Apache Cocoon:
http://xml.apache.org/cocoon/ ) to generate the various pages for
each device. The input would be more like:
    <P> Some text formats:
    <BOLD>This is bold"</BOLD>
    <ITALIC>This is italic</ITALIC>
    </P>

3. Is it open source or not? He claims we can use and modify it
under the LGPL, but also says,

    If you modify this library according your own requirements,
    you have to make sure that the HAWHAW copyright link below the
    display area in a HTML style generated page is kept unchanged.

So which is it? The LGPL or the LGPL with this clause added?

cjs
-- 
Curt Sampson  <cjs_at_cynic.net>   +81 90 7737 2974   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC
Received on Sun Feb 10 13:52:59 2002