Spring Python

From Wikipedia, the free encyclopedia

Spring Python
Image:Spring Python logo.png
Latest release: 0.2.0 / February 1, 2007
OS: Cross-platform
Use: Programming framework
License: Apache License
Website: springpython.python-hosting.com

Spring Python is an offshoot of the Java-based Spring Framework, targeted for Python. Spring provides many useful features, and the goal was to make the same features available when using Python.

[edit] Current Features

The following features have been implemented.

  • DatabaseTemplate - Reading from the database requires a monotonous cycle of opening cursors, reading rows, and closing cursors, along with exception handlers. With this template class, all you need is the SQL query and row-handling function. Spring Python does the rest.
  • InversionOfControl - The idea is to decouple two classes at the interface level. This lets you build many reusable parts in your software, and your whole application becomes more pluggable.
  • AspectOrientedProgramming - Spring Python provides great ways to wrap advice around objects. It is utilized for remoting. Another use is for debug tracers and performance tracing.
  • DistributedRemoting - It is easy to convert your local application into a distributed one. If you have already built your client and server pieces using the IoC container, then going from local to distributed is just a configuration change.
  • PetClinic - PetClinic is a sample application provided by the Spring Framework. Spring Python re-implements this same application from the ground up using CherryPy as the web container.
  • ApplicationSecurity - Plugin security interceptors to lock down access to your methods, utilizing both authentication and domain authorization.
  • SpringWiki - Wikis are powerful ways to store and manage content, so we created a simple one as a demo!

[edit] External Links