tags:

views:

133

answers:

3

Hi. I'm new to python w/o WSGI, but I have a C/C++ and PHP background.

Do you know any blogging software written as a WSGI application on top of spawning, eventually by using werkzeug?

Analysing such a code would give me a better understanding of how things work and/or should work. Thanks.

Addendum: SQLAlchemy changed its API since 0.6. If it uses SQLAlchemy, it has to support that version (since I'm new, I want to start future-oriented).

+1  A: 

Zine

Ignacio Vazquez-Abrams
Sorry for the confusion, but as I said, it has to be future-oriented. The INSTALL file says: "SQLAlchemy 0.5"
Flavius
The web page says "or higher". I don't know which one is accurate. http://zine.pocoo.org/about/requirements
Ignacio Vazquez-Abrams
+1  A: 

Unfortunately there aren't many blogging softwares written in Python. You might find quite a lot using django etc., but i think Zine is the only blog which builds on top of the werkzeug+sqlalchemy stack. Another problem with Zine might be, that it ships its own database-module build on top of sqlalchemy, which abstracts quite a lot of the sqlalchemy API usage.

If you are new, I would suggest you to look at some werkzeug example applications. They are all straight-forward and therefore, the code might a bit easier to understand.

PS: And don't be afraid if the SQLAlchemy isn't up to date. SQLAlchemy is developed very rapidly and there are often some smaller API changes. You probably won't notice any difference between all the versions on the first look, but there might be a class which was moved to another package, or an argument which was removed or added... Unfortunately those changes might break your code, but i am quite sure that you will understand it without any problems (if you even notice the difference).

When you once start your own application, I would suggest you to open the latest reference manual page of sqlalchemy and use the techniques described there.

tux21b
Thanks for the input!
Flavius
+1  A: 

There's a guy over at code365.info who is writing a blog engine using Pylons, a WSGI framework. The engine is getting to look quite nice, and is called ScribeEngine.

https://launchpad.net/scribeengine

GothAlice