Blog Notes

11 AM August 1, 2004

The new version of my bloging software, KangaPy is built with:

  • Cheetah – Python based templating system that used to build HTML output. It is somewhat akin to Velocity although, with Python-style expressions and some other nice features, Cheetah is easier to use.
  • SQLite – Lightweight embedded database.

The CherryPy version took about forty hours to put together, though much of the code – including the entire database layer – was recycled from the previous version, based on Twisted. The code base shrank, partly due to using HTML templates instead of putting it into the Python code, and partly because programming with Twisted’s deferreds is naturally verbose.

Since the end of April, the Twisted version of KangaPy has worked very nicely indeed. At one point it had served well over 250,000 hits on about 150 minutes of CPU time – not bad for my first Python web application, and a testament to Twisted’s inate robustness. I certainly hope CherryPy performs similarly.

By alang | # | Comments (6)
(Posted to Python)

Comments

At 03:30, 02 Aug 2004 Keith Pitty wrote:

Well done! Out of curiosity, how widespread is the use of CherryPy and Cheetah? Are there any notable sites built with them (apart, of course, from Cardboard Nu)?

(#)
At 17:48, 02 Aug 2004 Remi wrote:

Among others: waypath.com, python-hosting.com, aufeinander.de, curtisthompson.com
For some reason, it also seems to be used a lot for intranet sites (including the backoffice of a big cinema chain that I've been working on for more than a year) although it can be used for any web application.

CherryPy is currently undergoing major changes (basically, we'll get rid of the compilation phase) so it will become similar to Quixote, only fully object-oriented.
This new CherryPy will be called "CherryPy-2" and will be to CherryPy what Zope-3 is to Zope-2 ;-))

(#)
At 06:49, 03 Aug 2004 Florian wrote:

Cheetah is a blast. I did two small web-applications with it in combination with mod_python, saved me a lot of time.

(#)
At 19:44, 06 Aug 2004 Steve wrote:

Are you thinking of releasing KangaPy into the wild? I won't speak for the rest of the CherryPy users, but I'd be interested in giving it a spin.

(#)
At 19:46, 09 Aug 2004 Carlos Ribeiro wrote:

I'm also working on my own personal web engine, in Python (for now I'm still limited to BlogSpot to host my blog(s), but this is going to end pretty sone, I hope). It's not a true blog; it's a crossover between a blog and a wiki. I'm interested in discussions regarding these themes. If you are interested, please drop me a note. I'll be following you blog, too - I would pretty much like to check your blog engine code, maybe we can share a few ideas... Thanks in advance...

(#)
At 00:19, 10 Jan 2005 Ted Landis wrote:

I too am interested as to whether you are planning an eventual release of KangaPy. I would even be up to paying a shareware fee if that would help.

Thanks,
Ted

(#)

Add Comment




(Not displayed)






(Leave blank line between paragraphs. URLs converted to links. HTML stripped. Indented source code will be formatted with <pre> tags.)




© 2003-2006 Alan Green