SiteMesh

From HandWiki - Reading time: 4 min

Short description: Java web framework

SiteMesh is a Java web application development framework originally developed by now-defunct open source project OpenSymphony. The code is now hosted on GitHub[1] however there have been no changes to it since 2015.

According to the SiteMesh Wiki, Sitemesh:

  • Is a web-page layout and decoration framework and web- application integration framework to aid in creating sites consisting of pages for which a consistent look/feel, navigation and layout scheme is required
  • Intercepts requests to any static or dynamically generated HTML page requested through the web-server, processes the content and then merges it with one or more decorators to build the final result.
  • Can be used in Java based web-applications, or applied to content as an offline job

License

SiteMesh version 3 uses the Apache Software License.[2]

SiteMesh version 2 uses the OpenSymphony Software License which is modified from, and fully compatible with the Apache Software License.

How it works

SiteMesh acts as Servlet Filter that intercepts the HTML being returned to the web browser, extracting the relevant content and merging it into a template known as the decorator. The filter places the content of any html, jsp, or other web framework page into a pre-defined template called a decorator.[3]

History

SiteMesh was originally developed in 1999 by Joe Walnes. At the time it used Servlet Chains, a feature not part of the standard Servlet specification but supported by some Servlet containers such as Orion Application Server.

In 2000, the first public review of version 2.3 of the Servlet Specification was released, which contained the addition of Servlet Filters. These provided a standardized alternatives to Servlet Chains and SiteMesh was adapted to make use of these instead.

Shortly after this, the decision was made to release SiteMesh as open source software. Joe Walnes and Mike Cannon-Brookes formed the OpenSymphony project to provide a source of Java EE components - the first two consisting of SiteMesh and OSCache.

At this time, SiteMesh had a very small set of users, many of whom got involved in the development of the project. Not long after SiteMesh was originally open sourced, Victor Salaman rewrote the internal HTML parser to produce a 1200% performance increase.

As of June 2011, OpenSymphony shut down as a project.[4] SiteMesh lived on at its own site http://sitemesh.org until June 2012, when documentation was moved to a Confluence wiki.[5] The code was maintained on the GitHub repository until 2015.

References

External links





Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Software:SiteMesh
8 views | Status: cached on September 19 2024 18:09:53
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF