Skip to content
doc-single.html 270 KiB
Newer Older
Thorsten Eggeling's avatar
Thorsten Eggeling committed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <style type="text/css"><!--
  body {
    font-family: arial,helvetica;
  }

  #sidebar table {
  }
  #sidebar td {
    background-color: #eeeeff;
  }

  #sidebar p {
    margin: 0;
    padding: 0;
  }

  #sidebar div {
    margin: 0px;
    margin-bottom: 5px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    width: 100%;
  }
  #sidebar h2 {
    font-family: sans-serif;
    margin: 0px;
    width: 100%;
    font-size: 150%;
    background-color: #6622cc;
    color: white;
    text-align: center;
  }
  #sidebar h3 {
    margin: 0px;
    font-size: 130%;
  }
  #sidebar ul a {
    font-style: bold;
  }

  #sidebar ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

	.code {
	  border: 2px dotted;

	  font-family: Courier,monospace;
	  font-size: 90%;

	  background-color: #E0E0E0;
	  margin-left: 10;
	  margin-right: 10;
	  padding-left: 10;
	  padding-right: 10;
	  padding-top: 0;
	  padding-bottom: 10;
	}
    a { text-decoration: none; color: #0000cc }
    a:hover { text-decoration: underline; color: #0000cc; }
  --></style>
<title>Spyce - Python Server Pages (PSP)</title>
  <meta NAME="LANGUAGE" CONTENT="en-US">
  <meta NAME="RATING" CONTENT="GENERAL">
  <meta NAME="ROBOTS" CONTENT="ALL">
  <meta name="abstract" content="Spyce is a server-side language that supports simple and efficient Python-based dynamic HTML generation. Those who like Python and are familiar with JSP, or PHP, or ASP, should have a look at Spyce.">
  <meta name="description" content="Spyce - Python Server Pages: a server-side language that supports simple and efficient Python-based dynamic HTML generation.">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta HTTP-EQUIV="Refresh" CONTENT="1800">
  <meta HTTP-EQUIV="Revisit-After" CONTENT="15 days">
  <link rel="icon" href="spycefav.ico" type="image/x-icon">
  <link rel="shortcut icon" href="spycefav.ico" type="image/x-icon">
</head>

<body bgcolor="#ffffff">

<table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td valign=top>

<!-- index -->
<div style="text-align:center">
<a href="http://spyce.sourceforge.net"><img src="/spyce.gif" border=0 alt="spyce" width=58 height=70></a>
</div>

<table id=sidebar width=250px>
<tr><td>

<h2>Download</h2>
<div>
  <h3>Spyce 2.1</h3>
  <center style="font-size: small">
  <a href=/docs/whats-new-2-1.html>what's new</a>
  &nbsp;&nbsp;&nbsp;
  <a href=http://svn.sourceforge.net/svnroot/spyce/branches/spyce-2.1/CHANGES>changelog</a>
  &nbsp;&nbsp;&nbsp;
  <a href=/docs/license.html>license</a>
  </center>
  <center><a href=/docs/get.html><b>DOWNLOAD</b></a></center>
</div>

<h2>Community</h2>
<div>
  <b>Discussion list signup</b>:
  <FORM name=list1 Method=POST ACTION="https://lists.sourceforge.net/lists/subscribe/spyce-users">
  <INPUT type="Text" name="email" size="30" value=""> <a href="javascript:document.list1.submit()">Go</a>
  </FORM>

  <b>Announcement list signup</b>:
  <FORM name=list2 Method=POST ACTION="https://lists.sourceforge.net/lists/subscribe/spyce-announce">
  <INPUT type="Text" name="email" size="30" value=""> <a href="javascript:document.list2.submit()">Go</a>
  </FORM>
</div>

<h2>Documentation</h2>
<div>
<ul>
  <li><a href=/docs/doc-intro.html>introduction</a>
  <li><a href=/docs/doc-lang.html>language</a>
  <li><a href=/docs/doc-runtime.html>runtime</a>
  <li><a href=/docs/doc-mod.html>modules</a>
  <li><a href=/docs/doc-tag.html>tags</a>
  <li><a href=/docs/doc-conf.html>install</a>
  <li><a href=/docs/eg.html>examples list</a>
</div>

<h2>Other</h2>
<div>
<ul>
  <li><a href=http://sourceforge.net/projects/spyce>Sourceforge project</a>
  <li><a href=/docs/mail.html>"Spyce Powered"</a>
  <li><a href=/docs/links.html>Resources</a>
  <li><a href=http://spyced.blogspot.com/>Spyced blog</a>
</ul>
</div>

</td></tr>
</table>

</td> 
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td width="100%" valign=top>

<!-- page title -->
<table border=0 width="100%"><tr>
  <td align=right nowrap valign=bottom>
    <a href=/index.html>home</a>
    &nbsp;&nbsp;&nbsp;
    <a href=/docs/doc.html>documentation</a>
    &nbsp;&nbsp;&nbsp;
    <a href=/docs/get.html>download</a>
    &nbsp;&nbsp;&nbsp;
  </td>
  <td align=right nowrap valign=bottom width=1>
    <img alt="Spyce logo" src="/spyce2.png">
  </td>
</tr></table>

<br><br>
<b><font face="arial, helvetica" size="+1"><big>Documentation</big></font></b><br clear=all>
<hr>

<!-- body -->






<center>
<big><b>Spyce - Python Server Pages (PSP) <br>
<big>User Documentation</big></b></big><p>
Release 2.1<p>
</center>
<center><b>
 [ <a href="doc.html">Multi-Page Format</a> ]
</b></center>
<p>
<font color="#ee0000"><b>TABLE OF CONTENTS</b><br></font>
<ul>

<li>1. <a href="#intro">Introduction</a></li>

<ul>

<li>1.1. <a href="#intro_rationale">Rationale / competitive analysis</a></li>

<li>1.2. <a href="#intro_design">Design Goals</a></li>

</ul>

<li>2. <a href="#lang">Language</a></li>

<ul>

<li>2.1. <a href="#lang_string">Plain HTML and Active Tags</a></li>

Lade
Blame komplett laden...