google-app-engine

Database design - google app engine

I am working with google app engine and using the low leval java api to access Big Table. I'm building a SAAS application with 4 layers: Client web browser RESTful resources layer Business layer Data access layer I'm building an application to help manage my mobile auto detailing company (and others like it). I have to represent the...

Are there any good online resources for using Google App Engine for iPhone Development?

I've searched around and I can't seem to find any good resources for Google App Engine with the iPhone. I'm using Java, but Python is also good. Thank you! ...

How do I send an email from a non-gmail account using the appengine

I have successfully sent an email using the Google App Engine. However the only email address I can get to work is the gmail address I have listed as the admin of the site. I'm running the app on my own domain (bought and maintained using Google Apps). I would like to send the email from my own domain. Here's the code (or something simil...

Google Maps not working in Django template on App Engine development server

When I add this script to a plain HTML file's HEAD section <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"&gt;&lt;/script&gt; and I run this script on the body onload, function initialize() { var latlng = new google.maps.LatLng(-34.397, 150.644); var myOptions = { zoom: 8, cent...

Calling taskqueue from multiple places on Google App Engine

I'm trying to using taskqueues in Google App Engine. I have something like class TrackBuildHandler(webapp.RequestHandler): def post(self): track_name = self.request.get('track_name') taskqueue.add(url='/runbuild/track', params={'track_name': track_name}) class TrackBuildWorker(webapp.RequestHandler): def post(se...

Optimizing appengine entity key usage

Should I care about locality of entities on the Google App Engine datastore? Should I use custom entity key names for that? For example, I could use "$article_uuid,$comment_id" as the key name of a Comment entity. Will it improve the speed of fetching all comments for an article? Or is it better to use shorter keys? Is it a good practi...

Java App Engine Get Auto Generated Key value

I have been trying to port a tomcat/mysql application over to Google App Engine. I am having a little hang up on getting key values of objects that I have just persisted. Is there a way to get the Key value of the persisted object? Does anyone have an code in Java that can show how to do this? Thanks, Eric ...

python modules appearing out of no where .

Today one peculiar thing happened to me .I was trying to get a hang of appengine and djago on www.shell.appspot.com when i entered dir(django) the o/p i got was ['VERSION', '__builtins__', '__doc__', '__file__', '__name__', '__path__', 'conf', 'core', 'template', 'utils'] but still i tried from django import forms and it wo...

appcfg.py upload_data require auth in Mac OSX

I have Google App SDK on Mac OSX 1.4.11, all python environment are OK. I try to upload data from manually generated .csv using appcfg.py. When upload directly to Google appspot.com all succeed. Just to perform upload data locally it fail for authentication reason as generated below: Application: myapplication; version: 1. Uploading dat...

how to make dynamically generated forms with one to many relationships in django

i am trying to write a quiz system to learn django where users can add quizes to the system. my models look like from google.appengine.ext import db class Quiz(db.Model): title=db.StringProperty(required=True) created_by=db.UserProperty() date_created=db.DateTimeProperty(auto_now_add=True) class Question(db.Model): question=db....

Creating simple search for Google App Engine

Is there any simple way to create search for Google App Engine for specific datastore table. Just want to create basic text search for this. ...

what can't tasks enqueued during transactions have names?

I just learnt that transactional tasks cannot be named. Why is that? It's as though naming a task is an action on a different entity group, but "unnamed" tasks are actually given api-generated names. ...

How do I write to the console in Google App Engine (JAVA)?

I am using eclipse and java sdk of app-engine. I found the link for same question here and on stackoverflow here. But both are for python. Is there a way to do it in eclipse? ...

Logging Google App Engine application?

I have made my GAE application using development server, but now when I deploy it to GAE cloud, some fetatures don't work (some elements are missing), but no exceptions are thrown. Now I'd like to have some logging to my code so I could find out why these things are working in development enviroment, but not in GAE cloud. But I haven't f...

Appointments and Line Items

I'm building a management application to help manage my mobile auto detailing company (and hopefully others). I'm struggling to figure out how to model some of the data. This question is related to a previous question that I've posted, but I've reproduced the relevant information below: http://stackoverflow.com/questions/3120192/datab...

Google App Engine: upload_data fails because "target machine actively refused it" on devserver

I'm trying to upload data from a CSV to my app using the devserver: appcfg.py upload_data --config_file="DataLoader.py" --filename="data.csv" --kind=Foo --url=http://localhost:8083/remote_api "path/to/app" The result: Application: appname; version: 1. Uploading data records. [INFO ] Logging to bulkloader-log-20100626.181045 [INFO ...

How can I GAE (Eclipse IDE) to kill previous instance of test server when I start debugging?

GAE Eclipse IDE launches test server instance when I start debugging. But the test server instance does not killed when I restart the debugging after some code modified. This annoying. I have to kill previous instance manually on each time before new instance launched because previous instance holds port. How can I make the IDE kill pre...

Is it possible to run two versions of Python side-by-side?

I've been learning Python for a couple of weeks, and although I've been successfully develop apps for Google App Engine with Python 2.6.5, it specifically requires Python 2.5. Being mindful of compatibility issues when uploading apps (it's a situation I'd rather avoid while learning Python), I wonder if it's possible to have 2.5 and 2.6...

Google App Engine/WSGIApplication: How to check debug?

In the WSGIApplication's constructor, it takes a debug argument. Is there a way to access the value set for this from the the handler classes that inherit from webapp.RequestHandler? def main(): application = webapp.WSGIApplication([('/', fooHandler) ], ...

Using GData API for your Custom domaine name on GAE

I got this code from Google Document List Data API v 3.0 http://code.google.com/intl/fr-FR/apis/documents/docs/3.0/developers_guide_java.html URL feedUri = new URL("https://docs.google.com/feeds/default/private/full/"); DocumentQuery query = new DocumentQuery(feedUri); query.setTitleQuery("Test"); query.setTitleExact(true); query.setM...