Posts tagged as:

appengine

Tagging with Appengine DataStore

November 7, 2009

I’ve been looking into how to implement a tagging mechanism with Appengine (Python). By using a StringListProperty, you can associate a list of tags with an entity. The model would look something like this:

from google.appengine.ext import db

class Sample(db.Model):
name = db.StringProperty(required=True)
tags = db.StringListProperty()

Now, assuming we want to find the entities tagged with [...]

Read the full article →

No module named _multiprocessing

October 26, 2009

I’m getting back into appengine at the moment, and I came across this error:
No module named _multiprocessing
A google search turned up this error report:
http://code.google.com/p/googleappengine/issues/detail?id=1504
which lead to this post:
http://code.google.com/p/soc/wiki/GettingStarted

The problem was of-course, that I was using Python 2.6 instead of 2.5.
I love Linux, the solution is trivial:
The workaround for this is to install Python 2.5 [...]

Read the full article →

Built with AppEngine and Groovy

September 17, 2008

I’ve just released http://blogs.morehappydogs.com/ - this is a AppEngine/Groovy blend - the application aggregates blog posts about dogs. If you are interested in dogs, check it out.
The web tier is build with AppEngine in Python. AppEngine supplies the database via Datastore. Since you can’t run jobs within appengine, I wrote services in Groovy which process [...]

Read the full article →

MyOnlineProfile.net launches

August 22, 2008

MyOnlineProfile.net has launched - as a Google AppEngine application.
MyOnlineProfile lets you catalog your public online profiles in one place - leaving you with just one link to give your friends and one link in your email signature.
I first wrote MyOnlineProfile as a Grails application - its a small application at the moment, so it didn’t [...]

Read the full article →

Prototype, JSON and Appengine

August 7, 2008

I am using prototype in a Google Appengine project, and while it worked on my development machine, after deploying it onto the Google infrastructure prototype wasn’t parsing the JSON responses anymore.
In my code, I was returning the JSON in the response text (as opposed to using X-JSON response header). The Content-Type response header was set [...]

Read the full article →