简体   繁体   English

在Google App Engine上存储和返回数据的最简单方法

[英]Simplest way to store and return data on google app engine

I have created an app to enable users to manually log data for their use of phytosanitary products in their fields. 我创建了一个应用程序,使用户可以手动记录数据,以供他们在其领域中使用植物检疫产品。 I would like to store all of this data one the app engine. 我想将所有这些数据存储在应用程序引擎中。

I thought of storing it as entities on the google app datastore but then is there a way to gather all that data afterwards and make it downloadable as an XML file for example? 我曾想将其作为实体存储在google app数据存储区中,但是之后是否有一种方法可以收集所有这些数据并使其可作为XML文件下载呢?

The only data that will be stored each time will be the following: 每次将仅存储以下数据: 在此处输入图片说明

I am using Vaadin to handle the whole application 我正在使用Vaadin处理整个应用程序

AFAIK, you will need to write code to read data you want from Datastore and convert it to the form you need - XML or something else. AFAIK,您将需要编写代码以从数据存储中读取所需的数据,并将其转换为所需的形式-XML或其他形式。 Then you can trigger above functionality at a specific URL (click of a button) or as a scheduled job that emails you the XML or stores it in a Cloud storage bucket. 然后,您可以在特定的URL(单击按钮)或作为计划的作业(通过电子邮件将XML发送给您或将其存储在Cloud存储桶中)中触发上述功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM