简体   繁体   English

将 GAE Blobstore API 与 Flex 一起使用

[英]Using GAE Blobstore API with Flex

I'm developing a Flex application that should run on Google App Engine.我正在开发一个应该在 Google App Engine 上运行的 Flex 应用程序。 This app should be able to load larg- ish XML files (1 to 50MB) from GAE and save them again.这个应用程序应该能够从 GAE 加载较大的XML文件(1 到 50MB)并再次保存它们。

[UPDATE] [更新]

I'm using Java.我正在使用 Java。 The Flex app is already running on GAE - but can't yet load/save files. Flex 应用程序已经在 GAE 上运行 - 但还不能加载/保存文件。 The Blobstore API documentation talks about using a multipart POST - how would I do this in Flex? Blobstore API 文档讨论了使用多部分 POST - 我将如何在 Flex 中执行此操作?

Which language are you using in GAE, java or python?您在 GAE 中使用哪种语言,java 或 python?

What is your problem?你有什么问题? You don't know how to use the Blobstore API?您不知道如何使用 Blobstore API? Or you don't know how to use flex with GAE?或者你不知道如何在 GAE 中使用 flex?

If you are using python Gae and do not have any idea about Gae with flex, you may have a look on the following:如果您使用的是 python Gae 并且对 Gae 和 flex 不了解,您可以查看以下内容:

http://aralbalkan.com/1333 http://aralbalkan.com/1333

http://fernandoacorreia.wordpress.com/2008/07/15/flex-and-python-project/ http://fernandoacorreia.wordpress.com/2008/07/15/flex-and-python-project/

A little bite old, but very userful.有点旧,但非常有用。

Update:更新:

You can use the UploadPostHelper library to send the multipart/form-data in flex.您可以使用 UploadPostHelper 库在 flex 中发送 multipart/form-data。 Please refer to the following site to get the idea on how to use this library: http://marstonstudio.com/2007/10/19/how-to-take-a-snapshot-of-a-flash-movie-and-automatically-upload-the-jpg-to-a-server-in-three-easy-steps/请参阅以下站点以了解如何使用此库: http://marstonstudio.com/2007/10/19/how-to-take-a-snapshot-of-a-flash-movie-and -自动上传-jpg-to-a-server-in-three-easy-steps/

Wish this can help.希望这能有所帮助。

you want to load a 50MB XML file to the client?您想将 50MB XML 文件加载到客户端吗? Why?为什么?

I have a fast internet connection but still 50Mb is a lot...我有一个快速的互联网连接,但仍然 50Mb 很多......

You can use PyAMF: http://www.pyamf.org/tutorials/gateways/appengine.html您可以使用 PyAMF: http://www.pyamf.org/tutorials/gateways/appengine.html

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

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