开发者

Google app engine Big table database with Python desktop applications

Just out of curiosity, do Big table can be used as back-end for data storage for DESKTOP applications(stand alone applications).

Suppose a scenario:

  1. Application start and check automatically for 开发者_运维问答Internet access.
  2. Once connection exists, we can perform CRUD operation on Big table through application.

Is this possible? If yes,is there any documents/link available on this.

Thanks, Sunil


There is nothing "out of the box" to do this for you, but in theory this is no different from having a web-based GUI performing CRUD operations against the datastore. Your desktop app will still be communicating with your appengine app via HTTP requests.

  • You would still have to decide on how to structure you data in the datastore.
  • Choose an authentication mechanism (take a look at OAuth)
  • Write an API to deal with your CRUD requests (checkout protorpc)
  • Choose a serialization format that you will be communicating with (probably JSON)
  • Write a python client to communicate with your app (protorpc makes this really easy)


You can upload and download data in CSV or XML format through the bulk loader toolhich doesn't solve your problem, w. Alternatively you could develop an API to do your remote CRUD work through.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜