alfred westerveld's Library tagged → View Popular
Google App Engine Blog: 10 things you (probably) didn't know about App Engine
-
for entity in MyModel.all().filter("color =",
old_favorite).fetch(100):
entity.color = new_favorite
entity.put()Doing the update this way requires one datastore round trip for the query, plus one additional round trip for each updated entity - for a total of up to 101 round trips! In comparison, take a look at this example:
updated = []
for entity in MyModel.all().filter("color =",
old_favorite).fetch(100):
entity.color = new_favorite
updated.append(entity)
db.put(updated)
21 Oct 09
App Engine Fan: Unit tests for Google App Engine apps
-
import unittest
import sys
import os.path
# Change the following line to reflect wherever your
# app engine installation and the mocker library are
APPENGINE_PATH = '../google_appengine'
MOCKER_PATH = '../mocker-0.10.1'
# Add app-engine related libraries to your path
paths = [
APPENGINE_PATH,
os.path.join(APPENGINE_PATH, 'lib', 'django'),
os.path.join(APPENGINE_PATH, 'lib', 'webob'),
os.path.join(APPENGINE_PATH, 'lib', 'yaml', 'lib'),
MOCKER_PATH,
]
for path in paths:
if not os.path.exists(path):
raise 'Path does not exist: %s' % path
sys.path = paths + sys.path
import mocker
11 Oct 09
Showing the weather with PHP and Google Weather API | KomunitasWeb
"http://www.google.com/ig/api?weather="
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in google
Related Lists on Diigo
-
IBP_overview
iBusinessPromoter (IBP) is ...
Items: 13 | Visits: 310
Created by: nmstrategies _
-
Credibility-search
ask google "should we have ...
Items: 8 | Visits: 188
Created by: tony curzon price
-
Learning google analytics
Resources for understanding...
Items: 12 | Visits: 161
Created by: Joel Liu
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
