W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

HtmlGenerator will improve in next version?

From: Alexandre Rafalovitch <alex@access.com.au>
Date: Thu, 15 Aug 1996 16:59:51 +1000
Message-Id: <v02140b02ae3875234194@[]>
To: www-jigsaw@w3.org

I was thinking what non-obvious areas could be in Jigsaw that (IMHO) should
be improved and I came up with one, nobody mentioned anything about before.

Currently, generation of HTML is very primitive, program has to supply all
tags and content, so creating of structured page on the fly is a bit of a
pain and even where there is some code for creating a page as a collection
of elements (in w3c.jigsaw.forms), those elements are not reusable or

I am perfectly aware, that nice facilities for HTML creation is by far not
the most important area of WebServer. However, I was thinking :-}.

Jigsaw is very dynamic and there would be a number of resources soon
generating complex html on the fly a probably some filters, that would like
to parse that html and/or add some content/metas/etc... Currently, the only
way to do is to openStream, reparse it into new HtmlGenerator and setStream
back. IMHO, it would be much easier if is was possible to modify html page
in place while it is still kept as a collection of objects. Conversion of
the tree representing the html page into the text stream which is the final
html page would be done by Reply when it is emitted.

A simple example. A postable resource would be able to keep some half built
form as a collection of elements and, depending on interaction with a
client, set or reset some fields.

All of this is just my thinking and I hope somebody can add arguments for
or against this. I know that complexity of the code to write may not be
worth number of times this code would be needed :-{, but I hope advantages
would be prevailing :-}.


Ps. As my subject line shows, I am actually hoping that maybe some of the
work is already planned into coming release, but even if it is, it would be
good idea to discuss possibilities and problems on this list.

Received on Thursday, 15 August 1996 03:00:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:29 UTC