New engine installed…

Posted on | September 30, 2009

In my “real life,” I’m a programmer with a taste for Python and Django.  For years, the narrator engine that’s run most of my story site has been a hacked-up set of CGI programs, and most recently it was a collection of eruby scripts.

I’ve finally decided to bite the bullet, and convert all of it to Django.  It’s actually quite a coup; it took me less than eight hours to do the whole conversion, and the site’s a hell of a lot easier to manage.  I mean, like insanely so.  I lost a bit of sleep putting this together, which isn’t healthy, but hey.  Anything for the fans.  A consistent sidebar is always a plus.

I should probably write a script to dump a single story as text, so I can edit it in my favorite editor, and then read it back in.

We’ll see if it all actually works when the Yowler stories automagically appear Friday morning, right?  Tests say they should, but time-based controls are hard to test correctly.  The stories are showing up in the sidebar of the home page, so that’s a good sign, but that’s just PHP getting the material out of the cross-database handler.  Tricky, but not the point.  The point is to publish!

So give it a bang, see what’s borked.  The media is being served out of the NginX front-end directly, routing around the Apache handler (which runs php and wsgi for me), so the only performance holes are the WSGI daemon and its calls to the database.

Real Artists Ship. I’m totally making that my mantra.

Comments

3 Responses to “New engine installed…”

  1. Anonymous reader
    October 1st, 2009 @ 12:15 am

    Thursday Oct 1st here and it seems to be up, or at least “black tattoo” is in the list of recent stories.

  2. Elf Sternberg
    October 1st, 2009 @ 6:38 am

    Yeah, I can’t read a calendar.

  3. Gene
    November 28th, 2009 @ 2:53 pm

    Comparing the old and new engines, one disadvantage I notice is that sorting by posting date appears to be missing. I’ve often done this in order to just find the new stories.

Leave a Reply