ANN: Snakelets 1.9 (simple-to-use web app server with dynamic pages)

I

Irmen de Jong

I'm happy to say that Snakelets 1.9 is available.

Snakelets is a Python web application server, mainly for educational
purposes (but it works fine, mind you). This project provides a threaded web
server, Ypages (HTML+Python language, similar to Java's JSPs) and Snakelets:
code-centric page request handlers (similar to Java's Servlets).

Snakelet's focus is on understanding the way dynamic web sites are created
(the code is very compact and easy to understand), and make this process as
easy as possible, while still providing a rich and powerful server
environment.

It's released under the open-source MIT Software license.
You can download from http://snakelets.sourceforge.net
(go to the SF project site, and then the file section).

Changes since 1.8:

- removed disk-based pagecache, cache is now in memory (no extra overhead!)
(this means that it can run in a read-only environment)
- YpageEngine changed to use memory-based cache
- page compiler changed to return generated python code as unicode string
instead of a file
- now honors If-Modified-Since and If-None-Match HTTP headers, for cache
control. Much less reloading!
- server logs real ip adress of client instead of localhost, when proxied
- Management console now shows active sessions, and you can kill them
- fixed konqueror cookie issues
- fixed directory ending '/' redirection bug
- optimized url processing (webapp/snakelet searching)
- server can do request/header debugging
- fixed hanging browser connection when snakelet throws exception.
- webapp can specify a default page template to use for all Ypages.
- a few other small fixes and improvements

To start, just start the serv.py script, or the monitor.py script
if you want to start it as a daemon (on Unix). Enjoy!

Enjoy,
--Irmen de Jong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,255
Members
46,852
Latest member
CarlaDowle

Latest Threads

Top