Web Programming


So I’m playing around with Google AppEngine (still!) trying to put together some kind of sensible use for it. AppEngine is neat-O, but it is also quite limited in what it can and can’t do. One of the most glaring problems (for my toy app) is the datastore query API, which has various restrictions, including:

Inequality Filters Are Allowed On One Property Only

Now this is pretty obviously an efficiency measure: retrieving on inequalities involves iterating along one index, and the datastore isn’t in the business of picking which one to iterate along. But its also really annoying if you actually want to do something which needs multiple inequalities.
(more…)

I’m still messing around with template languages … I’ve added a couple of new ones and here’s the revised leader board.  I tried adding ClearSilver for Perl & Python but I couldn’t get either of those to work …  pity, its an interesting approach.  As with the previous posts this is time in seconds for  1000 tables of 100 rows by 10 columns each, not counting template compilation time.  The 200x difference in performance is what makes it interesting:
(more…)

Why should Perl have all the fun?  Lets do the same thing but in Python, comparing Mako, Jinja and SimpleTAL: (more…)

I’m still wrestling with crazy Template languages, as I have been for pretty much the whole time I’ve been working with Perl for Internet Stuff.  In this article, I’m comparing four compiled Perl template engines:  Template Toolkit 2, HTML::Template, Text::Template::Simple and Petal.

(more…)