Skip to content

Design Doc: Native SiteMesh and Ports

joewalnes edited this page Sep 13, 2010 · 1 revision

Overview

SiteMesh was originally written in Java. Over the years there have been a few ports, but they haven’t really got far. At the same time, there is demand for SiteMesh beyond the Java world. This is a proposed approach for creating a high performance native port of SiteMesh, server integrations and bindings for various languages.

Design

Main components:

  1. High performance HTML Content Processor. Implemented in C
  2. API: Runtime bindings (Ruby, Python, PHP, .NET) for configuration, rules and extensions
  3. Server integration: Web server modules (Apache 2, IIS, nginx, Lighttpd) and framework middleware (Ruby Rack, Python WSGI).