REST API app to BigTable

148 views
Skip to first unread message

beckie

unread,
Apr 8, 2008, 11:24:07 AM4/8/08
to Google App Engine
Can someone write / share a REST API for BigTable? So I don't need to
learn Python ;)

jf

unread,
Apr 8, 2008, 11:43:50 AM4/8/08
to Google App Engine
dont be so lazy.

Carlos

unread,
Apr 8, 2008, 11:44:09 AM4/8/08
to Google App Engine
Agreed! I was looking at Amazon SimpleDB, but didn't like the
limitations and workarounds needed to make it useful. The DataStore
API capabilities of AppEngine look much more useful out of the gate.

Does anyone know or have an opinion if creating a REST API, to be
called from an app running elsewhere on the Internet, would be a
violation of the terms of use? I read it and the other pages, and
didn't find anything that said that you couldn't, nor anything that
said "you must build a consumer-facing app".

To summarize, I'd like to continue running my Web app elsewhere in PHP
and hosted on my own servers, but would like to use Google AppEngine
as a persistent and reliable data store (and not necessarily for free
either).

babakm

unread,
Apr 8, 2008, 11:47:03 AM4/8/08
to Google App Engine
I have built a very flexible and powerful layer for S3 (Amazon's core
technology for EC2 and SimpleDB). I have never used SimpleDB. I'll
look at what BigTable has and see if I need to roll my layer to it. My
work is mostly on AWS now.

HG

unread,
Apr 12, 2008, 9:06:35 AM4/12/08
to Google App Engine
This seems like a pretty reasonable thing to want to do. I was
thinking backing datastore for a Flex app. But, I'm not sure I see a
quick way to do it. Here's where I am on the same problem:

1) Just to get any web service going, I tried Chandler's WSGI to
XMLRPC module. That worked great for exposing simple operations on a
class and marshalling my own classes. All in about 20 lines of code.
But, it did not work with BigTable Model classes because they are too
complex for xmlrpclib to marshal.

2) REST on the GET and DELETE side appears easy enough by using
Model.to_xml. Implementing the REST routing on the URL is the code to
write.

3) REST on PUT and POST seems much more difficult because there isn't
a way to easily unmarshal to a Model.

So, any ideas on the simplest way to create a BigTable Model instance
from the XML created from to_xml?
Reply all
Reply to author
Forward
0 new messages