So, if you're reading this, the DNS has updated and you're reading my blog from a new site. Things probably look more or less the same, although I took the chance to make a few changes. I haven't copied over the old comments yet, just the blog entries themselves, but rest assured I'm finding a way to automate that process (I entered in the posts manually... not fun.)
The new site is written in a framework that I cobbled together out of a bunch of WSGI components, plus a couple of my own.
My main reason for using a home-rolled stack was to learn more about WSGI, and I definitely have. However, my second purpose was to see if I could get Django-style model definitions, and a similarly auto-generated admin interface, using loosely-coupled components.
Well, see for yourself. This model is used for the blog entry you're reading right now:

And that generates the following admin form (in addition to instance lists, edit pages, and so on):

So the site now contains a few more parts that I added for fun:
And a couple other things which I haven't finalized yet.
Unfortunately, the change means that a bunch of links are broken. About a year ago I ran my site on PHP in shared hosting; I kept those pages around, although at this point it's pretty much just bots crawling it. I might put the old site up under a different domain, but not right now.
Anyway, there was some talk on Django-dev about SQLAlchemy in early October. There is now a FormAlchemy project, Elixir, and DjangoAlchemy. My stuff just duplicates their work, so I'm not planning to start projects for the model-definition syntax, although I'll keep running this site on them. I mostly needed to build a declarative layer to learn how they work, and likewise with the admin interface.
But now that's done, so I've been putting together applications in earnest. What's coming down the pipeline:
- LifeUnit testing. It's like unit testing... but for life.
- A to-do app. Because I have things to do. Like build a to-do app. Doh! Infinite recursion.
- A source code snippet repo for me to post samples (instead of inline on this blog).
That's all. Feel free to comment or email me if there are problems with the site.
Comments
73 spam comments omitted.
I am no longer accepting new comments.
Adam Gomaa
#1196, 2007-12-10T07:18:58Z
I've restored the comments! Yay.