Package com.revusky.niggle.templates

The base Niggle API's that abstract away your web app's interaction with page templates.

See:
          Description

Interface Summary
Page An abstract encapsulation of a page template.
PageFactory An abstract base class for an object that vends Page instances
 

Class Summary
PresentationWrapper  
 

Package com.revusky.niggle.templates Description

The base Niggle API's that abstract away your web app's interaction with page templates. The construct that will be of most interest to the application programmer is the Page interface. Page is an interface that encapsulates the idea of an HTML page template in which you can embed dynamic data. In particular, via the expose methods, one can drop an arbitrarily complex data structure onto the page, consisting of hash, list, and scalar variables. Note that a Niggle data record is converted into a hash-type variable.

The design goal of these classes was that it would be possible to wrap up various page template solutions in this API. However, as of this writing, there is only one concrete implementation, that leverages the open-source Freemarker template engine.