Blue Sky On Mars

Thoughts on Building Software Products

MochiKit.Animator: fancy new animations for MochiKit

by Kevin Dangoor

So, we’ve got this book coming out this week, and it features 80+ pages on MochiKit 1.4, including the powerful Scriptaculous effects port. Karl Guertin’s new MochiKit.Animator makes the Scriptaculous port a much harder sell. I always appreciate beauty in an API, and this is a very attractive API indeed. It’s based on Bernard Sumption’s work, and this really looks like a solid choice if you’re using MochiKit.

Genshi – beautiful *and* fast?

by Kevin Dangoor

While I’m a big fan of his programming (and a certain other of his projects, I’m not of a fan of Mike Bayer’s Myghty template language. The original language itself was invented in Perl-land and Mike adapted and extended it in Python. I just don’t enjoy the syntax. Admittedly, though, Myghty and other Python template languages are faster than my favorite, Genshi. So , you can imagine my delight to read that Mike is working on speeding up Genshi! Thanks Mike!

(By the way, it’s unlikely that Genshi will ever be as fast as a purely non-structural template language. My choice of Python over Java or C shows that I’m willing to trade in a little speed to use a better language, and this case is no different. With appropriate caching, I’m sure that the speed of Genshi will be just fine even on very heavily trafficked sites/apps.)