So after I used middleware to make browsers work with RESTful URLs in GAE I started to write more than simple little methods and I’m trying to write a test application. Upon doing so, I ran into a defect with how request parameters are returned for a PUT request To be fair, this is more of a problem with webob than with GAE, but I hope that this gets fixed because my attempts at monkey patching the problem have not worked out too well.
So there was much talk and whathave you about Google’s new App Engine and after viewing the tutorials and reading the documentation, I thought it was pretty rad too. Because I was using rack for some previous stuff, WSGI felt right at home (probably because rack was modeled after WSGI). There was one thing that bothered me however. When writing a class using their webapp framework there isn’t any magic param name, like
_method, that I could use to mock requests methods like
PUT since the browser doesn’t support those HTTP methods.
Well my friends, fear not. If you enjoy the sweet freedom of RESTful urls, I’m here to help. Since this is all built on top of WSGI, we can create a some new Middleware to sit before the application to resolve this little issue.
Google has released another beta product called Google Image Labeler The premise is you and a random partner have 90 seconds to get a match on as many pictures as you can. A match is a label or tag that you give to the image is the same as one your partner has given. So it’s a little game you can play in your off-time, and if you sign in, you can use a display name.
This is just genius. By creating a game out of it, Google is having the users of the internet help them find better ways for users to search for images. The other brilliant part is that it only lasts 90 seconds, so you are forced to think quick, and thus you have more of a stream of conscious going on and you are less likly to filter your response.