Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

www.sitemesh.homeip.net is a proposal to replace the current SiteMesh website with emphasis on,

  • Tutorial Based Learning (Trail, Live Demos)
  • Updating the documentation
  • Modernizing the site for community feedback

At this stage I am putting together some sample content. Once there is enough content, the SiteMesh team will be contacted to determine if they want to endorse this wiki.

Summary

SiteMesh is a web-page layout system that can be used to abstract common look and feel from the functionality of a web-application and to assemble large
webpages from smaller components. Pages and components can have meta-data extracted from them (such as body, title and meta-tags) which can be used by decorators (skins) that are applied.

SiteMesh won't tread on your toes or force you to work in a certain way (except for cleaner) - you install and carry on working as before. It seamlessly fits in with existing frameworks.

Forget the hype - just try it! You'll be impressed with how it can simplify things.

Warning

Contents of this page are still being written.

Diagram showing simple content decorated into multiple sites...

Pitch,

  1. Reduce application code by
  2. Truly segregate look and feel from

Proposed Reorganization of Sections

  • Download
  • Getting Started with SiteMesh (Tutorials with live demos)
    • Setup SiteMesh
    • Start Using SiteMesh in 10 minutes
    • SiteMesh Patterns
  • Production Grade Meshing
    • Understanding Paths for Decorator Files
    • UTF-8
    • Error Page Considerations
  • Advanced SiteMesh
    • Allow Pages to Specify Decorators
    • Decorating with Parameters and Sessions
    • Nested Decorators
    • API Reference
  • FAQ
  • Bug Tracker
  • Discussion
  • About SiteMesh
    • Contributors
    • Sites Using SiteMesh
    • License
    • Donate

What is SiteMesh?

Tip

SiteMesh 3 has been officially released.

 

SiteMesh is a lightweight and flexible Java web application framework that applies the Gang of Four decorator pattern to allow a clean separation of content from presentation.

Work with the content of your website and have the appropriate look and feel applied (decorated) just before delivery to a PC or Mobile device.

At the same time, SiteMesh has many advanced features and works with popular frameworks such as Spring and Struts.

Why Use SiteMesh

Write your content once and present it in many different ways,

Gliffy Diagram
nameFigure 1 with Mobile
version9

Let's Hear Some More

SiteMesh uses Filters introduced since Java Servlet version 2.3.

  • SiteMesh intercepts responses to generated HTML and merges it with decorator(s) to build the final result.
  • SiteMesh can be used in Java based web-applications, or applied to content as an offline job.
  • Enterprise class web applications and products such as Atlasssian Confluence use SiteMesh.

For a good overview, see Mike Cannon-Brookes' PowerPoint presented at the Vegas Server Side Symposium.

Download

Download SiteMesh 2.4.2, a stable, rock solid and Production proven release or check out SiteMesh 3 Alpha.