HTML Generator Approved for Open Source Release Under the MIT License

| 1 TrackBack
After a long review process with HP's Open Source Review Board, a colleague and I have been given permission to release the source code for our HTML Generator project under the MIT License.  What is this HTML Generator I speak of?  Well, continue reading to find out.
"The HTML Generator is a set of Java classes that allow developers to easily and dynamically build well-formed HTML in web or non-web Java applications. The HTML Generator is especially useful when traditional HTML generation engines such as Java Server Pages (JSP's) are unavailable.

Under the hood, the HTML Generator uses Java Objects to represent each HTML element, or tag. For example, a <div> element is represented using a Div object. Similarly, developers can set attributes on these nodes using a setAttribute() method for each object. An HTML page, or hierarchy, is built by creating a set of element objects and appending them to each other in the correct order. To convert an HTML Generator object hierarchy into a String which can be sent to a web-browser, the developer should call the write() method on the top-level element. The resulting String is well-formed HTML."

Eventually, we expect to enhance the HTML Generator engine to strictly adhere to the HTML 4 Document Type Definition (DTD).  I'm looking forward to finally submitting this project to Google Code or Sourceforge; we haven't decided yet which source management tool to use.  Either way, it's going to be great to get this Java code out there and then add support for other languages like PHP and Perl.

Did You Find this Helpful?

Did you find this post helpful, or at least, interesting?

  

Send Mark a Direct Message

If you'd like to send me a direct message regarding this post or my blog, please feel free to do so below. Note that I do not publicly post comments or messages submitted directly to me.

200 characters remaining

Error

1 TrackBack

TrackBack URL: http://mark.kolich.com/mt-tb.cgi/54

This is a follow-up post to the HTML Generator Approved for Open Source Release Under the MIT License.  This morning, a colleague and I launched the Gagawa Project live on Google Code!  Gagawa (formerly the HTML Generator) is a set... Read More

Twitter (@markkolich)

Loading Twitter stream...

Translate

About this Entry

This page contains a single entry by Mark Kolich published on November 27, 2008 10:43 PM.

Use Java to Watch Your Axis Network Camera (Java Axis Viewer) was the previous entry in this blog.

HOWTO: Block China, Taiwan, etc. By IP Address With iptables on Linux is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.