home *** CD-ROM | disk | FTP | other *** search
- [[.compact]]
- [[.import name=include]]
- [[include.spyce('inc/head.spi', {'pagename': 'Spyce Home', 'page': 'index.html'})]]
-
- [[ def includeCode(filename): { ]]
- [[.compact mode=off]]
- <table style="border: 1px dashed #AAAAAA; width: 85%;"><tr><td style="font-face:courier;">
- <pre>[[=include.spycecode(filename)]]</pre>
- </td></tr></table>
- [[.compact]]
- [[ } ]]
-
- [[ import spyce ]]
- [[=spyce.__doc__]] <p>
-
- <b>Updates</b><br>
-
- The latest released version of Spyce is: <b>[[=spyce.__version__]]</b>
- (<a href="get.html">download</a>).
- <br>
- Please refer to the
- <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/spyce/spyce/CHANGES?rev=HEAD">change log</a>
- or the
- <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/spyce/">CVS repository</a>
- for details.
- <p>
-
- <b>30-seconds sales pitch</b><br>
-
- <ul>
-
- <li> Spyce is about embedding Python in HTML to create dynamic web pages. If
- you like Python and you need to create web pages, you'll like Spyce.
-
- <li> Spyce is intuitive. Here are a few "<font face=courier>Hello world!</font>"
- examples written in Spyce: <p> [[includeCode('examples/hello.spy') ]] </p>
- <p> [[includeCode('examples/ex2hello.spy') ]] </p> </li>
-
- <li> Spyce inherits the syntactic power of Python as well as its rich
- standard library. All the standard Python modules can be used directly
- within Spyce scripts. </li>
-
- <li> Spyce is modular and extensible. The standard modules include: request,
- response, redirect, error, debug, include, cookie, session, template,
- transform, compress, and others. You can write your own, if you like. </li>
-
- <li> Spyce supports active tags, i.e. tags that can execute code. They are
- similar in spirit and functionality to JSP tags, but significantly easier to
- write. Use the standard tags provided, or write your own custom active tag
- libraries. </li>
-
- <li> Spyce scripts are first-order members of the Spyce language, a useful
- feature not present in other server page languages. This allows Spyce
- scripts to be turned into functions, useful for templating,
- internationalization, polymorphic component rendering, etc. </li>
-
- <li> Spyce performs well. It can easily serve hundreds of requests per
- second, and is comparable with JSP, PHP and other languages in its class.
- </li>
-
- <li>And, we're out of time... You'll have to read the <a
- href="doc.html">docs</a> for the rest.
-
- </ul> <p>
-
- <b>Site index</b><br>
-
- <ul>
-
- <li><a href="index.html">Home</a>:
- Brief introduction (this page)</li>
-
- <li><a href="get.html">Download</a>:
- Get a copy of Spyce</li>
-
- <li><a href="doc.html">Documentation</a>:
- User manual </li>
-
- <ul>
-
- <li><a href="doc-intro.html">introduction</a> and getting started </li>
-
- <li><a href="doc-lang.html">language</a> reference </li>
-
- <li>standard <a href="doc-mod.html">module</a> library </li>
-
- <li>standard <a href="doc-tag.html">tag</a> library </li>
-
- <li><a href="doc-conf.html">installation</a> instructions </li>
-
- <li><a href="eg.html">examples</a> </li>
-
- </ul>
-
- <li><a href="mail.html">Community</a>:
- Mailing lists, help and publicity </li>
-
- <li><a href="mail.html">CVS</a>:
- Open source </li>
-
- <li><a href="wishlist.html">Wishlist</a>:
- Future work and ideas </li>
-
- </ul>
-
- [[include.spyce('inc/tail.spi') ]]
-