One thing you get used to on appengine is that any bulk data work requires the task queue. You can use a little bit of framework and make all of these transforms (including deleting data) a question of just writing a simple task class and firing it off. You'll want a copy of the Deferred servlet: http://code.google.com/p/gaevfs/source/browse/trunk/src/com/newatlant... Fair warning: I found that I needed to change the code to make it perform base64 encoding all the time, not just on the dev instance.
Episode 10: Using the Task Queue Service « Google App Engine Java Experiments - 0 views
How to delete all entities of a kind with the datastore viewer - Google App Engine for ... - 0 views
-
One thing you get used to on appengine is that any bulk data work requires the task queue. You can use a little bit of framework and make all of these transforms (including deleting data) a question of just writing a simple task class and firing it off. You'll want a copy of the Deferred servlet: http://code.google.com/p/gaevfs/source/browse/trunk/src/com/newatlant... Fair warning: I found that I needed to change the code to make it perform base64 encoding all the time, not just on the dev instance.
Is _ah/openid_logout going to be a stable logout URL - Google App Engine | Google Groups - 0 views
-
It was one of the other ways to do it, I just wanted to avoid more code in my architecture just to do this (MVP has the disadvantage of added boilerplate for simple tasks like this one). Anyway I found a workaroud, passing the URL in an invisible div in my page and then reading and populating another field in my page using GWT RootPanel.get(id), using different ids for various parts of the page.
TaskOptions - 0 views
Feed your site with RSS and Atom - 0 views
-
This article studies the proxy technique first and then turns to the Google AJAX Feed API method, giving you a chance to intermix Java™and JavaScript coding.
-
You need a service that, when given a feed URL, connects to that site, downloads its contents, and sends them back to the caller. (For a shell-line parallel, consider the wget or curl command.) You can do this many ways, and Listing 2 shows a simple way to accomplish the task. Because I decided to call my remote proxy RemoteProxy, the server-side class had to be called RemoteProxyImpl; Impl stands for "Implementation."
-
The SOP won't let your code get data from another site, but there's an exception: You can download and execute JavaScript code using the <script ... /> tag. If the code you download happens to include data and calls a function of yours that puts the data to good use, then you have managed to bypass the SOP. Here's the idea behind the Google AJAX Feed API: It uses the <script ... /> tag to call a Google site that works as a proxy. The remote site gets the feed data and returns it in the form of JavaScript code. The downloaded JavaScript code calls your function so you can process the incoming XML
- ...1 more annotation...
End Cursor - google-appengine-python | Google Groups - 0 views
-
An end cursor allows you to specify when you want a query to stop. A cursor represents a query start position - an end cursor is another position. This lets you take, say, 10k entities, break them up into 100 "chunks", then do task queue or other background operations on them. Unlike using an offset (cursor +100), this method solves the case of new Entities being inserted, since you're not working with a cursor +100 Entities. You're working with all the Entities between startCursor and endCursor.
‹ Previous
21 - 31 of 31
Showing 20▼ items per page