Joel Edward Denny
School of Computing
McAdams Hall
joeldenny@joeldenny.org
SHP (Simplified Hypertext Preprocessor)

Abstract

Easy, generalized, markup-embedded, server-side programming:

You want to build web pages dyamically on the server side, but you want the readability and maintainability afforded by a markup-embedded scripting language. On the other hand, you don't want to have to learn an entirely new scripting language. Instead, you would like a generalized method for embedding scripting languages you already know, like perl, python, or sh. In some cases, you might like to embed multiple languages that can collaborate to construct your web page.

Web page templates:

You want to create reusable web page templates so that you only have to maintain a single copy of the content, layout, and style that is common among a group of web pages. You've tried CSS and Apache's SSI but found them too unnatural and restrictive for specifying layout. Even worse, CSS has few provisions for specifying common content. Static templating approaches, such as the approach employed by Dreamweaver, that require an entire web-site to be regenerated upon each template modification are just not an option. Finally, XSLT is too complex and does not interoperate easily with server-side programming.

Solution:

SHP is a simple solution for creating templated webpages with the power of a generalized method for markup-embedded server-side programming.

Supported Platforms

  • Solaris
  • GNU/Linux
  • Cygwin

Well-supported Embeddable Languages

  • Perl
  • Python (as of SHP Release 0.8)

Documentation

Downloads

  • (tar.gz) Release 0.14 Source -- 2006/07/25
  • (tar.gz) Release 0.13 Source -- 2005/08/18
  • (tar.gz) Release 0.12 Source -- 2005/01/10

Release 0.12 and above will work whether or not you have Flex and Bison.

  • (tar.gz) Release 0.11 Source -- 2004/10/25
  • (tar.gz) Release 0.11 Source with Flex and Bison source precompiled
  • (tar.gz) Release 0.10 Source -- 2004/07/23
  • (tar.gz) Release 0.10 Source with Flex and Bison source precompiled
  • (tar.gz) Release 0.9 Source -- 2004/07/07
  • (tar.gz) Release 0.9 Source with Flex and Bison source precompiled
  • (tar.gz) Release 0.8 Source -- 2004/05/10
  • (tar.gz) Release 0.8 Source with Flex and Bison source precompiled
  • (tar.gz) Release 0.7 Source -- 2004/04/26
  • (tar.gz) Release 0.7 Source with Flex and Bison source precompiled
  • (tar.gz) Release 0.6 Source -- 2004/04/12
 
Valid XHTML 1.1! Copyright © 2001-2010, Joel Edward Denny. All rights reserved.
Page last modified: 2010/03/26 02:32
Valid CSS!