Will the response timer on google app engine start upon submitting the web page's form?
If I'm going to upload a file that is greater than 1MB, I could split the files to 1MB to fit in the limitation of the Google App Engine Datastore. Now, my concern is if the client's internet connection is slow, it would eat up the 30 seconds timer r...
I do not think there's a way to do this but I thought I'd ask to see what workarounds people are using to avoid polling on Heroku and/or GAE.
How are you sending out notifications in somewhat real-time from these apps?
...
Is there any way to query GAE datastore with filter similar to SQL LIKE statement? For example, if a class has a string field, and I want to find all classes that have some specific keyword in that string, how can I do that?
It looks like JDOQL's matches() don't work... Am I missing something?
Any comments, links or code fragments are ...
I am trying to make a website using Java on google app-engine. Can you suggest any good readups to get me up to speed on this?
...
Google App Engine supports both Python and Java application development.
Can I have both in the same application?
...
I found this example in the App Engine documentation.
1 <%
2 UserService userService = UserServiceFactory.getUserService();
3 if (!userService.isUserLoggedIn()) {
4 %>
5 Please <a href="<%=userService.createLoginURL("/newlogin.jsp")>">log in</a>>
6 <% } else { %>
7 Welcome, <%= userService.getCurrentUser().getNi...
I recently configured my app to use the new AppStats feature of GAE. However, while debugging it, the extremely verbose logging from AppStats is annoying & I'd like to disable it while I'm debugging and then turn it back on later. Surely there is a single line I can add to or modify in a config file that will let me do this.
...
I'm working with DataNucleus as part of a Google App Engine project and I'm having a bit of trouble with columns in persistence.
@PrimaryKey(column = "user_id")
@Column(name = "user_id")
@Persistent(name = "user_id", column = "user_id", valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key m_id;
@Column(name = "user_name")
@Persist...
I have a Python Facebook project hosted on Google App Engine and use the following code to handle initialization of the Facebook API using PyFacebook.
# Facebook Initialization
def initialize_facebook(f):
# Redirection handler
def redirect(self, url):
logger.info('Redirecting the user to: ' + url)
self.response....
I am using GAE(Java) with JDO for persistence.
I have an entity with a Enum field which is marked as @Persistent and gets saved correctly into the datastore (As observed from the Datastore viewer in Development Console). But when I query these entities putting a filter based on the Enum value, it is always returning me all the entities ...
Can you refer me to a good starting place for learning GAE from what I already know? I plan to make a fairly elaborate application, and I'm not completely certain on where to start or how far I'll need to go (JavaEE?). I'd rather hear from someone who already knows what's involved than start off by guessing and stumbling.
...
I'm lazy! And I just want to store one single string value. That's all!
Can I jump over any kind of Modeling and just store a value?
...
In App Engine, according to the JavaDoc, the getTypeRank method has this signature:
public static int getTypeRank(java.lang.Class<? extends java.lang.Comparable> datastoreType)
In the method signature there is a question mark inside the angle brackets:
<? extends java.lang.Comparable>
What does it signify?
...
Is there a way to measure or monitor how much of the server's CPU my app will be using for a particular task/query, etc? In many tutorials you see people talking about optimization, and that some operations are CPU 'expensive'. Thanks
...
I use Google Appengine for Java (GAE/J).
On top, I use the Jersey REST-framework.
Now i want to run local JUnit tests. The test
sets up the local GAE development environment ( http://code.google.com/appengine/docs/java/tools/localunittesting.html ),
launches an embedded Jetty server,
and then fires requests to the server via HTTP a...
Background
So let's say I'm making app for GAE, and I want to use API Hooks.
BIG EDIT: In the original version of this question, I described my use case, but some folks correctly pointed out that it was not really suited for API Hooks. Granted! Consider me helped. But now my issue is academic: I still don't know how to use hooks in ...
I'm trying to test the efficiency of the Google App Engine Datastore database. I want to know how fast it will query over a large dataset. And by large, I mean like 5-10mil entities of the same kind.
The devserver only lets me input 1000 entities of the same kind. Is there a way to up this limit? Thanks
...
I'm really new to database object design so please forgive any weirdness in my question. Basically, I am use Google AppEngine (Python) and contructing an object to track user info. One of these pieces of data is 40 Achievement scores. Do I make a list of ints in the User object for this? Or do I make a separate entity with my user id...
I am writing client-side Python unit tests to verify whether the HTTP 302 redirects on my Google App Engine site are pointing to the right pages. So far, I have been calling urllib2.urlopen(my_url).geturl(). However, I have encountered 2 issues:
the URL returned by geturl() does not appear to include URL query strings like ?k1=v1&k2=v2...
I've tried adding the following line to my handler script (main.py), but it doesn't seem to work:
sys.path.append('subdir')
subdir lives in the my root directory (i.e. the one containing app.yaml).
This doesn't seem to work, because when I try to import modules that live in subdir, my app explodes.
...