HTML Generator Approved for Open Source Release Under the MIT License

| No TrackBacks
UPDATE: The HTML generator, named Gagawa, is available for download here on Google Code.

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, please do so below. However, I do not publicly post comments or messages submitted directly to me. So, if you're going to try to SPAM me, or my blog, you're pretty much wasting your time.

400 characters remaining

Error

About Mark

A Silicon Valley native, Mark Kolich is a full-time Software Engineer, a casual entrepreneur, and a consultant for hire. A web technologies expert, his current focus is on building powerful and robust cloud-driven web-applications using Java, PHP, Perl, AJAX, DHTML, CSS, and JavaScript. His favorite programming languages are PHP, Java and JavaScript. He uses Linux, enjoys biking to work, loves building great software, and always writes elegant, readable, and maintainable code.

No TrackBacks

No trackbacks attached to this entry.

Twitter (@markkolich)

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.