Wearing dice on my head since 2008 Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart. Randomly amazed.

Weekend Project #1: MTG Utils Decklist Sharing Tool

· Read in about 2 min · (255 Words)
Categories: Software Development | Tags:

I’ve been meaning to write a nontrivial app using Google App Engine for a while, and here’s my first weekend project: Decklist Sharing Tool, an tool for MTG players to share decklists online.

I had the decklist parsing and autocarding code available for a while (and used on my MTG related posts), so that part was fairly easy, I got it done under 3 hours I think. The rest of the time (around 5-ish hours) was spent on glue logic, fixing minor bugs, working on HTML layout, cleaning up text, etc. It feels pretty good for a one manday effort, let’s see if it breaks down. Not the best code I’ve ever written though (until the latest upload the main class was named “hello.py”)

Some notes:

– the Django template engine included with GAE seems to be earlier than version 1, as the escapejs filter wasn’t available and I had to write it myself. Still, being familiar with the Django template engine helped a lot

– WordPress.com blogs don’t allow Javascript inside the posts, so the blog sharing code I provide won’t work there. It works on Blogger though. I’ll look for a workaround… (iframes?)

– I’ve yet to try using memcache, so the current version doesn’t cache anything, I mean to try it in a future version

– yes, I put adsense ads there. I was like, why not? 😀


Comment by Some anonymous person on 2009-10-04 11:26:11 +0000

“Posted by by roytang on Sat 03 Oct 2009 as a deck for Standard”