Tomáš Holas's Library tagged → View Popular
Google Research Publication: BigTable
-
Bigtable is a distributed storage system for managing structured data
that is designed to scale to a very large size:
petabytes of data across thousands of commodity servers.
Modeling Entity Relationships - Google App Engine - Google Code
-
mary = Contact.gql("name = 'Mary'").get()
google = Company.gql("name = 'Google'").get()
ContactCompany(contact=mary,
company=google,
title='Engineer').put()
GAE vs. Rails -
Google App Engine |
Google Groups
-
1) I rock and Google rocks.
My apps are wildly successful, scale to gazillions, and I
focus on app development not as much platform issues.
Google's pricing is a big win compared to other scalable
platforms.
2) I rock and Google sucks.
My apps are wildly successful but AppEngine fails to deliver.
Google does a worse job hosting my popular website than
other companies. If I hosted a Rails app, I could move
between multiple turn-key hosts. My python webapp needs to
be moved to a Django host with a custom datastore.
3) I suck and Google rocks.
My app is unsuccessful.
4) I suck and Google sucks.
My app is unsuccessful.
App Engine Fan: Four ways to insult a nose
-
# Enforce the "current user"
def checkCurrentUser(value):
if value != users.get_current_user():
raise db.BadValueError(
'Property must be the current user')
return value
# Data model
class SSN(db.Model):
user = db.UserProperty(validator=checkCurrentUser)
ssn = db.StringProperty(required=True)
The Property Class - Google App Engine - Google Code
-
- get_value_for_datastore(model_instance)
Returns the value that ought to be stored in the datastore for this property in the given model instance. The base implementation simply returns the Python-native value of the property in the model instance. A property class can override this to use a different data type for the datastore than for the model instance, or to perform other data conversion just prior to storing the model instance.
- make_value_from_datastore(value)
Returns the Python-native representation for the given value from the datastore. The base implementation simply returns the value. A property class can override this to use a different data type for the model instance than for the datastore.
Sponsored Links
Top Contributors
Groups interested in GAE
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
