Hamlets
Simplicity and Speed.
Description
Hamlets (previously known as IBM Servlet-based Content Creation Framework) is an open source system for generating dynamic web-pages developed by René Pawlitzek at IBM. A Hamlet is a servlet extension that reads XHTML template files containing presentation using SAX (the Simple API for XML) and dynamically adds content on the fly to those places in the template which are marked with special tags and IDs using a small set of callback functions. A template compiler can be used to accelerate Hamlets.

Hamlets provide an easy-to-use, easy-to-understand, lightweight, small-footprint, servlet-based content creation framework that facilitates the development of Web-based applications. The Hamlets framework not only supports but also enforces the complete separation of content and presentation. It is the result of a radical software simplification effort.
Specs
Current Version
: Hamlets 1.5 NEW!
License
: BSD
Programming Language
: Java 1.5
Lines of source code
: 1405
Number of source files
: 12
Source code size
: 40'087 bytes
Binary code size
: 22'476 bytes (hamlet-1.5.jar)
Learning time
: 20-30 minutes
Download
Click here to visit the download section.
Dependencies
The Hamlets framework depends on log4j for logging and Xerces (which contains SAX) for XML parsing.
Documentation
The following publications are currently available:

Starting Hamlets [English] NEW!
This article explains how to write your first web-based application in Java using Eclipse. 44 pages.


Introducing Hamlets
This article introduces the basic ideas behind Hamlets and describes the very first implementation. 13 pages.


Programming Hamlets
This tutorial illustrates various aspects of Hamlet programming as it provides a number of practical Hamlet examples. 73 pages.


Compiling Hamlets [Japanese]
This article introduces a method of compiling Hamlet templates to improve application performance. 16 pages.


Implementing Hamlets [Japanese] [Russian]
This article explains the current implementation of the Hamlets framework. 15 pages.


Embedding Hamlets [Chinese]
This article shows how to write web-based user interface for embedded devices running OSGi. 21 pages.


Need help?
Check out the Help Forum in case you get stuck.
Comments