October 2011
2 posts
3 tags
App Engine: How to do an efficient OR query?
Let’s say you want to find all of the current user’s facebook friends who are using your app. You’ve stored the facebook id of each connected user on a User entity and the Facebook API returns to you a large list of facebook ids of the friends of the current user. To look them up in your datastore you basically need a giant OR or IN query on the User entity. Here’s a...
Oct 11th
1 note
3 tags
The Most Important Page In All App Engine Land
http://code.google.com/appengine/docs/python/datastore/functions.html For my first post I’ll talk about what I think is a very useful docs page that is sort of buried in the Python App Engine docs. It’s a page that describes all of the functions available in the google.appengine.ext.db package. These are extremely useful functions that I find most App Engine beginners never discover...
Oct 4th
3 notes
September 2011
1 post
Dropping Knowledge, Whether it's accurate or not.
I’ve been working on Android and App Engine development for a while now and I feel like a lot of the answers I was looking for on the web weren’t there. So I’m going to start writing Android and Google App Engine tips here. Hopefully it will save at least someone a lot of time. I’m a terrible writer so hopefully that doesn’t get in the way. I’m not claiming to...
Sep 30th