Download pulse

Creating and manipulating the pulse layout templates

The layout templates for pulse are written in XSLT (a declarative, XML-based language used for the transformation of XML documents into other XML documents such as XHTML).

Your main point of entry when adjusting or creating a new layout will be WEB-INF/xsl/main.xsl. If you want to see the source XML used for the transformations, take a look at WEB-INF/xsl/globals.xsl:

<!-- debug area in demo layout -->
<xsl:variable name="">false</xsl:variable>

If you turn this setting to "true", the complete XML source for the transformation will be added at the bottom of the page.

If you already know XSLT, we are pretty sure that you will find your way around. More documentation on customising the layout will follow.

An Introduction to customising the layout

The pulse web application framework uses a template system for generating HTML-output. These templates can easily be customised or simply overridden in order to create more advanced and custom layouts. This article will give an introduction to the templates of the demo layout as it comes bundled with the binary distribution of the pulse framework.

babelfish.xsl - a concept for template localisation in XSL

With the "babelfish" concept we are providing a simple, yet convenient and highly structured concept for easy localisation of XSL-templates.

The versioning prefix - influence client caching

With the versioning prefix the pulse web application framework provides an easy way of influencing the resources cached by the client. This allows to deliver content with far future expiration headers - recurring visitors will profit of cached resources - while it still offers the possiblity to force the reload of resources (i.e. CSS-files, JavaScript...) should you require it.