Spyce (software) explained

Spyce
Engines:-->
Licence:-->

Spyce is technology similar to PHP that can be used to embed Python code into webpages. Spyce is free software, distributed under a BSD-style licence, with some additional restrictions about documentation notices.[1] [2] [3] [4] [5] [6]

Common Spyce embedding methods

Since Python uses indentation to determine the beginning and end of a block, Spyce includes several ways to embed Python code. Shown below are the three most common ways. Spyce supports ASP/JSP-style delimiters (<% and %>) as well as double braces ([[ and ]])The techniques above can be freely mixed and embedded in any HTML document.

Any legal Python code can be embedded and any Python module can be imported, which makes it especially suited for writing very robust applications (using exception handling and unit testing single modules individually).

Features

Some other features include custom tags (ala JSP), spyce lambdas and active handlers (reminiscent of ASP).

Requirements

Spyce brings Python's standard library and the programming language itself to the web. The minimum requirement is a working Python installation (it ships with a standalone web server written in Python that can be used during development), although it can be used in conjunction with several web servers such as Apache and IIS in a variety of ways.

Configuration is done using Python modules that are imported by the web server during initialization, so all that is really required to get started with Spyce is basic knowledge of Python.

See also

Notes and References

  1. http://spyce.sourceforge.net/docs/license.html Spyce - Python Server Pages (PSP)
  2. Web site: Petreley. Nicholas. 2002-11-11. PHP and Python Hit Prime Time. 2021-10-03. Computerworld. en.
  3. Web site: Release (#25976) - Spyce - Python Server Pages - OSDN. 2021-10-03. osdn.net. en.
  4. Web site: SPYCE - Python Server Pages. 2021-10-03. www.onworks.net.
  5. Web site: Spyce Development Tips and Techniques. 2021-10-03. Neotitans Technologies Inc..
  6. Book: Lutz. Mark. Learning Python. Ascher. David. 2003-12-23. "O'Reilly Media, Inc.". 978-0-596-55193-3. en.