> Subject: Use of tclhttpd
> Date: Tue, 11 Apr 2000 06:11:35 -0700 (PDT)
> From: "Geir Berset" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 
> I (at least) want to use it to create dynamic WML and WMLS for the
> WAP-Protocol.
> I assume this will work. But please tell me if I am whasting my time
> :)
> If you have any suggestions of how to get started I would be very
> interested.
> I have good basic knowledge about Tcl as i have just attended a
> course, but lack the insight of servers and the HTTP protocol.

I'm not completely up-to-speed on WAP/WML - but I want to be.
We and our clients also have a requirement for delivering WML content.

As I understand WAP so far, WAP is the protocol that goes over the
airwaves between the Telco and the mobile phone itself.  The protocol
between the Telco and the Web server is HTTP.  Something like:

WML -->  Web Server  -->  HTTP  -->  Base Station  -->  WAP  -->  Mobile

I am most likely completely wrong about this, if so could someone
who does please enlighten us all!

Given the above scenario, either there should be no reason why
the tclhttpd can't be used as the Web Server for the WML content
(just like other content types, such as HTML, XML, GIF, JPEG, etc),
or what you're trying to do is use tclhttpd in the Telco's base
station itself.  In the latter case, I imagine you would need a
Tcl channel interface to the WAP protocol, in which case tclhttpd
will function as normal on top of that, or if WAP simply uses a
socket then you need to implement the WAP protocol in Tcl, just
like tclhttpd does for HTTP.  What you would end up with is
'tclwapd'.

If WAP is a textual protocol, like HTTP, then this
won't be hard at all (see Brent's or my book for information and
examples on implementing server protocols in Tcl).

If WAP is a binary protocol (I suspect that it is for optimised
compression) then the 'binary' command is your friend ;-)

Whatever the case, I'm quite interested in WAP, WML and friends
and so I'll try and help out as much as I can.  My particular
interest is in creating WML docs from XML-formatted  content,
which will involve mostly XSL authoring.

Cheers,
Steve Ball

-- 
Steve Ball            |   Swish XML Editor    | Training & Seminars
Zveno Pty Ltd         |   Web Tcl Complete    |      XML XSL
http://www.zveno.com/ |    TclXML TclDOM      | Tcl, Web Development
[EMAIL PROTECTED]  +-----------------------+---------------------
Ph. +61 2 6242 4099   | Mobile (0413) 594 462 | Fax +61 2 6242 4099

Reply via email to