google-app-engine

How do I delete all entities from my local Google App-engine datastore?

How can I remove all entities or reset the local datastore on my dev_appserver? I accidentally recursively called a function to create an entity when testing. I am using the Google App-engine SDK on Vista with Python. ...

how to include css/javascript in django 0.96 for appengine project

I am using django 0.96 for the appengine project. I wanted to use javascript and css in my html files unfortunately i am unable to do it via django... One solution(which i don't like) is to make my app.yaml something like this: handlers: - url: /media static_dir: static/media But i want it to do with django itself so i avoided using...

POJO to an XML string in Google App Engine?

I would like to create a REST interface for my Java Google App Engine program. I figured I would start by generating some XML from my POJOS. However, it seems that XStream is bitten by GAE's restrictions. What can I use to generate an XML string in Google App Engine? Thanks. Edit 1: Here is the beginning of the exception: javax.servl...

Django on Google App Engine

How much of a pain is it to run a Django App on App Engine? Also, does the Datastore work as-is with Django? ...

Storing hierarchical data in Google App Engine Datastore?

Can someone illustrate how I can store and easily query hierarchical data in google app engine datastore? ...

How to get around File Upload Exception for Grails on Google App Engine?

I am writing an application on Google App Engine using Grails. Everything works great on my local dev environment. However on live server, I get exception when trying to upload file. When Grails runtime tries to parse controller params, it uses Apache.Commons.FileUpload, which writes temp file and Google doesn't like it. What is the be...

RESTful application on Google App Engine Java?

I would like to create a RESTful app on Google App Engine. I would like to provide XML and JSON services. I have briefly experimented with Restlet, Resteasy, and Jersey. I haven't had much success with any of them, other than some simple examples in Restlet. Could you share your experiences creating a Restful web application on Google A...

Send objects from/to Java using GWT

To learn GWT and Google AppEngine (GAE) I'm trying to create a simple application using GWT with two or three objects (entities). In this application one object, let's say Student, encapsulates ArrayList of other objects, say Classes and Books. Then it creates list of Students and sends it to Java code on GAE and stores it to the data st...

What are some Google-App-Engine based statistics in terms of cost per traffic/resources?

I have been curious to what other developers with popular and somewhat to highly optimized apps have been paying with relation to the amount traffic generated in general. I am aware of the unit cost for the resources and that resource requirements per app vary. What is your insight into the cost/traffic/resources of yours or others App...

How to get the current server URL of appengine app?

Hi all, I'm trying to get the server URL of a currently running appengine java app from code. That is, if the app is running on my local dev machine I would like to somehow get returned "http://localhost:8080" but if it is running in prod I'd like to be returned "http://myappid.appspot.com". Are there any java or appengine API's that ca...

How to turn off DataNucleus Enhancer while working with Google App Engine

I am working in Eclipse on a Google AppEngine Java code. Every time I save a java file, the DataNucleus Enchancer starts off "Enhancement of Classes". Its quite irritating since it takes away focus when you are in full screen mode. Anybody knows how I can turn it off? If I turn it off, will it affect my ability to deploy my application ...

Algorithm for updating a list from a list

I've got a data source that provides a list of objects and their properties (a CSV file, but that doesn't matter). Each time my program runs, it needs to pull a new copy of the list of objects, compare it to the list of objects (and their properties) stored in the database, and update the database as needed. Dealing with new objects is ...

Custom authentication in google app engine (python)

Does anyone know or know of somewhere I can learn how to create a custom authentication process using python and google app engine? I don't want to use google accounts for authentication and want to be able to create my own users. If not specifically for google app engine, any resource on how to implement authentication using python an...

Package for creating and validating HTML forms in Python? - to be used in Google Appengine

Is there a well maintained package available in Python for creating and validating HTML forms? I will deploying it finally on Google Appengine. ...

GAE For Java: Mail API

Dear all , I have developed an application that sends out mails and SMS. My question is How to send well formatted mails using Google App Engine for Java, Please suggest me anyone. Thanks, Abhijit ...

Complete CMS (or framework for CMS) with i18n support

We are looking for a way to publish articles in different languages, including differences in writing direction (RTL/LTR) and of course character sets. The maintainer of the current site works with Mambo/Joomla, but has already found severe restrictions in terms of extensibility. A similar question has already been asked, but I will add...

Google App Engine & Amazon Cloud,which is better?

I'm going to deploy my application on one of them, and have no idea which is better. ...

How to set dynamic subdomain cross server or in DNS setting

I have www.did5.com point to google appengine server I want to have anyname.did5.com point to www.did5.com/anyname And the url in address bar still anyname.did5.com I can't find the way to do by using dns setting (host records) Can anyone do ? Please help.. ...

StringListProperty in GAE

Hi! Is there any way to edit StringListProperty fields via Google's Data Viewer, or some other clever approach? The last I want to do is to modify my application in such way that it provides special throwaway page for just that reason - I don't feel like it's the optimal solution. Cheers, MH ...

Question on Google Appengine Datastore Optimization

I have hierarchical data stored in the datastore using a model which looks like this: class ToolCategories(db.Model): name = db.StringProperty() parentKey = db.SelfReferenceProperty(collection_name="parent_category") ... ... I want to print all the category names preserving the hierarchy, say in some form like this : --I...