google-app-engine

Sure Google Appengine scales, but is it also fast?

I want to know if responsetimes are good, not just if it scales. Anyone with experiences? ...

Is Google App Engine a worthy platform for a Lifestreaming app?

I'm building a Lifestreaming app that will involve pulling down lots of feeds for lots of users, and performing data-mining, and machine learning algorithms on the results. GAE's load balanced and scalable hosting sounds like a good fit for a system that could eventually be moving around a LOT of data, but it's lack of cron jobs is a nui...

How do I get the key value of a db.ReferenceProperty without a database hit?

Is there a way to get the key (or id) value of a db.ReferenceProperty, without dereferencing the actual entity it points to? I have been digging around - it looks like the key is stored as the property name preceeded with an _, but I have been unable to get any code working. Examples would be much appreciated. Thanks. EDIT: Here is ...

cron jobs on google appengine

How can I use cron on Google Appengine? ...

.html() jQuery method bizzare bug -   resolves to empty space locally, but not on production.

I'm making a simple jquery command: element.html("                 "); using the attributes/html method: http://docs.jquery.com/Attributes/html It works on my local app engine server, but it doesn't work once i push to the google server. The element empties, but doesn't fill with spac...

Background tasks on appengine

How to run background tasks on appengine ? ...

What alternatives are there to Google App Engine?

What alternatives are there to GAE, given that I already have a good bit of code working that I would like to keep. In other words, I'm digging python. However, my use case is more of a low number of requests, higher CPU usage type use case, and I'm worried that I may not be able to stay with App Engine forever. I have heard a lot of ...

How do I break up high-cpu requests on Google App Engine?

To give an example of the kind of request that I can't figure out what else to do for: The application is a bowling score/stat tracker. When someone enters their scores in advanced mode, a number of stats are calculated, as well as their score. The data is modeled as: Game - members like name, user, reference to the bowling alley, sc...

Uploading images along with Google app engine?

I'm working on a google app engine project. My app is working and looking correct locally, but when I try to upload images in an image directory, they're not being displayed at appspot. as a little trouble-shoot, I put an html page in "/images/page2.html" and I can load that page at the appspot, but my pages don't display my images. S...

How are people using Google App-Engine apps with their own domains?

I've been fooling around with the Google App Engine for a few days and I have a little hobby application that I want to write and deploy. However I'd like to set it up so that users are not directly accessing the app via appspot.com. Is hosting it through Google Apps and then pointing it at my own domain the only way to go? I looked a...

Google App Engine and 404 error

I've setup a static website on GAE using hints found elsewhere, but can't figure out how to return a 404 error. My app.yaml file looks like - url: (.*)/ static_files: static\1/index.html upload: static/index.html - url: / static_dir: static with all the static html/jpg files stored under the static directory. The above works fo...

Read colors of image with Python (GAE)

How can I read the colors of an image with python using google app engine? Example: I like to build a function to determine the most striking colors of an image to set a harmonic background color for it. ...

How to best prevent CSRF attacks in a GAE app?

So, what is the best way to prevent an XSRF attack for a GAE application? Imagine the following: Anyone can see a user's public object, and the db.Model id is used in the request to figure out which object to show. Malicious user now has the id. Malicious user creates their own object and checks out the delete form. They now know ho...

Django @ Google App Engine - Site Map Framework

Hi Folks, has anybody managed to get Djangos site map framework to run on Google App Engine? I receive the following exception: ImproperlyConfigured at /sitemap.xml You haven't set the DATABASE_ENGINE setting yet. Request Method: GET Request URL: http://127.0.0.1:8080/sitemap.xml Exception Type: ImproperlyConfigured Exception Valu...

Django template with jquery: Ajax update on existing page

I have a Google App Engine that has a form. When the user clicks on the submit button, AJAX operation will be called, and the server will output something to append to the end of the very page where it comes from. How, I have a Django template, and I intend to use jquery. I have the following view: <html> <head> <title></title> <script...

Building Ajax Form in Google App Engine

I have a form, when I click on submit button, I want to communicate with the server and get something from the server to be displayed on the same page. Everything must be done in AJAX manner. How to do it in Google App Engine? If possible, I want to do it in JQuery. Edit: The example in code.google.com/appengine/articles/rpc.html doesn'...

Turning a GqlQuery result set into a python dictionary

Let's say I have a model like this class Foo(db.Model): id = db.StringProperty() bar = db.StringProperty() baz = db.StringProperty() And I'm going a GqlQuery like this foos = db.GqlQuery("SELECT * FROM Foo") I want to take the results of the GqlQuery and turn into some sort of JSON string that I can manipulate from diff...

How do you enable auto-completion for WebOb response/request objects in Pydev for Eclipse?

I've been using Pydev/Eclipse to develop Google App Engine (GAE) applications but I've been unable to get the response/request objects from WebOb to have auto-completion. I used a widely recommended tutorial to get everything configured; auto-completion is working for everything else I've run into. As an example: if I type in "self." I ...

What's the difference between a parent and a reference property in Google App Engine?

From what I understand, the parent attribute of a db.Model (typically defined/passed in the constructor call) allows you to define hierarchies in your data models. As a result, this increases the size of the entity group. However, it's not very clear to me why we would want to do that. Is this strictly for ACID compliance? I would like t...

How to effectively implement sessions in GAE?

I was wondering about implementing my own sessions (more for an exercise than anything else) for a GAE app I'm working ... at first I was thinking of using the datastore to store the session data. However, every time something needs to be added to the session 'bucket', it would require saving to the datastore. Obviously that's bad since ...