One of the nice things relational databases support are the aggregate functions like count, sum, avg etc. But it seems that if you are using GAE, when inserting or updating a record you must calculate and store the count, sum, avg, etc. values of the whole table. But what if you have many conditional groupings? Given a Person:
class Per...
We want to collect usage statistics with our app.
Therefore, we want to track user actions somewhere on the server side.
Which option is more suitable, performance-wise:
Track user actions in the App Engine Request Log. i.e. write a log entry for each user action.
Track user actions in a table in the Datastore. Write an entry for ...
I have a BerkeleyDB key/value datastore embedded in my Google App Engine project, which does not use the Google Datastore.
When I upload the application to Google App Engine, the database will be less than 1MB.
But is it possible that, as it grows, over time it will eventually exceed an App Engine file-size limitation?
What would be ...
I have a simple table in Google App Engine with a date field. I want to query all the rows with the date field valued between now and 6 hours ago. How do I form this query?
...
Pros and Cons of choosing JDO or JPA for a Grails Application that will run on Google AppEngine
...
I need to add few more options for login and therefor need to customize create_login_url with some html code. Is there a way to add on your code in default login screen of google?
ENvironment - python-google app engine.
I want to continue having the default google ext class Users behavior to conntinue to be in place.
...
I've a security constraint on my app:
<security-constraint>
<display-name>users</display-name>
<web-resource-collection>
<web-resource-name>all</web-resource-name>
<description/>
<url-pattern>/secured</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
<htt...
I've installed the Google Plugin for Eclipse 3.4 and it seems to work fine.
But when I start a new Web Application Project, it wants me to configure the Google App Engine SDK. I click on Add App Engine SDK, but it doesn't recognize my (valid) GAE SDK. It comes back with "Failed to initialize App Engine SDK at %path", no matter what pa...
I'm using the low-level API in Google App Engine for Java and want to get all the child entities of a particular parent entity:
Given the following graph:
Parent (1)
|
+ --- Child A (2)
| |
| + --- Child B (3)
|
+ --- Child A (4)
I want a list like the following
[Child A (2), Child B (3), Child A (4)]
Here is my best attempt...
I am not able to set cookies using following statements
self.request.headers['Cookie'] = 'uniqueid = ',unique_identifier
self.request.headers['Cookie'] = 'nickname = ',nickname
as
self.request.cookies
is returning null dictionary in another request.
environment is python on google app engine
...
i am trying to use set function in appengine, to prepare a list with unique elements. I hit a snag when i wrote a python code which works fine in the python shell but not in appengine + django
This is what i intend to do(ran this script in IDLE):
import re
value=' [email protected], dash@ben,, , [email protected] '
value = value...
Hi,
I am new to web programming, coming from a video game development background (c++), and am really starting to feel information overload. There are so many competing libraries which all pick something they don't like in some other library, and build an entirely new way of doing the same thing! I am sure there there are good reasons...
Reading: http://code.google.com/appengine/docs/python/datastore/gqlreference.html
I want to use:
:= IN
but am unsure how to make it work. Let's assume the following
class User(db.Model):
name = db.StringProperty()
class UniqueListOfSavedItems(db.Model):
str = db.StringPropery()
datesaved = db.DateTimeProperty()
clas...
Looking for something simple (like Smarty for PHP or erb in Rails), but that will allow nesting templates inside each other. Does App Engine have anything built-in, or will I need to look into something separate (like Velocity?)?
Thanks.
...
application = webapp.WSGIApplication(
[('/', DefaultPage),
('/ClearDataPage', ClearDataPage),
('/DeleteTweets', DeleteTweets),
('/DeleteLinks', DeleteLinks),
('/awesome', Awesome),
('/RunScriptPage', RunScriptPage)],
debug=...
I am randomly getting an org.datanucleus.exceptions.ClassNotPersistableException when I try to perform a query on the local JDO data store of my GWT/App Engine application. This only happens when I run the application on Hosted mode. When I deploy it to the Google App Engine everything works perfectly.
Stack Trace:
org.datanucleus.exce...
how does stackoverflow manage permalinks. For example an arbitary qn like: http://stackoverflow.com/questions/1002230/asp-net-jquery-dynamically-created-hyperlink-controls In this case what happens if the same user posts another qn with the same title. I think the number before- /1002230/ is the key but on what basis is that created. Is ...
Is it possible to use Django serializer without a Model?
How it is done?
Will it work with google-app-engine?
I don't use Django framework, but since it is available, I would want to use its resources here and there.
Here is the code I tried:
from django.core import serializers
obj = {'a':42,'q':'meaning of life'}
serialised = seri...
Applications on Google App Engine must have web requests that return response data within 30 seconds. When this time is exceeded, a DeadlineExceededException exception is thrown:
/time.jsp
java.lang.ClassCastException: com.google.apphosting.api.DeadlineExceededException cannot be cast to javax.servlet.ServletException
at org.apache....
Is it possible to map a URL pattern (regular expression or some other mapping) to a single RequestHandler? If so how can I accomplish this?
Ideally I'd like to do something like this:
application=WSGIApplication([('/*',MyRequestHandler),])
So that MyRequestHandler handles all requests made. Note that I'm working on a proof of concep...