google-app-engine

one to many relation on appengine with Grails/GORM

Hi, does anyone know how to handle a "one to many" relationship with Grails/GORM on the google appengine? I do understand how relationships get handled with Gorm, and there is also a good series of articles about it: http://blog.springsource.com/2010/06/23/gorm-gotchas-part-1/ http://blog.springsource.com/2010/07/02/gorm-gotchas-part-...

What language (Java or Python) + framework for mid sized web project?

I plan to start a mid sized web project, what language + framework would you recommend? I know Java and Python. I am looking for something simple. Is App Engine a good option? I like the overall simplicity and free hosting, but I am worried about the datastore (how difficult is it to make it similarly fast as a standard SQL solution? + ...

Performance with multiple OR operators

Hi, Does anyone have an idea how the use of multiple ORs impacts performance in app engine (cpu time use maybe?). Something like: select from users where username = 'bob' or username = 'jane' or username = 'greg' or username = 'Nth user'; I think we can only layer 30 of these in at once. I'm curious if this operation woul...

Can I use SWF file to import in Python web application

Hey all i develop one project on python and upload on google app can i use swf file to import in python web application??? if u have any link or idea give me some suggestions please. ...

Howto import a function with python

I'm developing a Python application for the GAE. The application consists of a bunch of classes and functions which are at the moment all in the same file main.py. The application is running without problems. Now, I want to refactor the application and outsource all the classes. Every class should be in her own file. The files shall ...

JSP, Google app in hosted mode, static variables

When I launch my site in hosted mode all variables that are declared as static preserves it's values among different requests. It works fine(?) when I upload it to google app servers. I.e. I have public static String action = "index"; and if I set its value to "someval" in another request it appears "someval" instead of "index". Is it...

Google App Engine JDO queries referring to other tables

I have entity project that has list of task entities. I know project entity id and now I need to get list of project tasks (tasks contain project id). How can I make that kind of query in GAE with JDO? ...

Installable Google App Engine Apps

When an app is designed with the intention of being made as an Installable App in the App Marketplace for GAE, are there any extra steps the developer should take concerning security? For instance, if Company A installs the app, and Company B installs the app, do they each have their own datastore? If not, how do I, as the developer, s...

Exception thrown on creation of Google App Engine Google Web Tools initial project

The following log file is created when I create a GAE GWT project: java.lang.RuntimeException: Unexpected exception at com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:59) at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:60) at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:...

How to get the size of a python object in bytes on Google AppEngine?

Hello, I need to compute the sizes of some python objects so I can break them up and store them in memcache without hitting size limits. 'sizeof()' doesn't seem to be present on python objects in the GAE environment and sys.getsizeof() is also unavailable. GAE itself is clearly checking sizes behind the scenes to enforce the limits. A...

db.get() vs db.get_by_key_name() performance (GAE BIgtable/Datastore)

How does the performance of db.get() compare with that of db.get_by_key_name()? ...

in app engine how to specify column order of export (download) from datastore

When I download my datastore (in localhost), the column order does not seem to match the order I defined them in the bulkloader.yaml, nor does it match the column order which i specified when i uploaded. Should the order match the ordering in bulkloader.yaml? ...

App Engine query.fetch() timing out on large database?

def get(self): links = Link.all().order("author") response = "" links.fetch(10) for link in links: response += "[link][/link]" For some reason, that code is taking up an obnoxious amount of CPU, and is eventually just timing out, when run on a database of over 8,000 entries. Isn't App Engine supposed to be able ...

did the attribute 'border-style:hidden' adversely affect seo ?

Hi, i have to know this issue. Thank you. ...

App Engine BadValueError On Bulk Data Upload - TextProperty being construed as StringProperty

bulkoader.yaml: transformers: - kind: ExampleModel connector: csv property_map: - property: __key__ external_name: key export_transform: transform.key_id_or_name_as_string - property: data external_name: data - property: type external_name: type ...

Explosive indices ?

Hi, I have a class like: class Test { String id1; String id2; List<String> stuff; } if I need to run this query: select from Test where id1='a' && id2='b' && stuff='foo'; am I going to get exploding indices? Thanks ...

App Engine Bulk Data Upload URLError: "Connection reset by peer"

Hi. I'm trying to upload some records to my local data store using appcfg.py Only a small number of records are actually inserted and I get the following output (with a ton of errors): $ appcfg.py upload_data --config_file=bulkloader.yaml --filename=/output.csv --kind=AutoCompleteIndex --url=http://localhost:8084/remote_api . ...

Google app engine: best practices for file structure

Google app engine: best practices for file structure Im making a new app engine web application and i would like to know the best practices for strcturing and organizing files. The app doesn't need any support for html views, as is all done in flex. this application is ajax only(flex) thanks ...

App Engine Bulk Data Upload- Authentication Error

Hi guys. When I try to upload data using appcfg.py I get an authentication error regardless of my login details being completely correct. appcfg.py upload_data --config_file=bulkloader.yaml --filename=/output.csv --kind=AutoCompleteIndex . Application: qwertifyy; version: dev. Uploading data records. [INFO ] Logging to bulkloader...

Any suggestion for a Java web MVC framework that does not affect server startup

Hi, I'd like to know if there are any suggestions for a Java web development framework that does not add startup overhead. The reason for asking is that I'm planning to deploy on Google App Engine and I do not want to increase the cold start time for the server. So any framework with minimum configuration overhead, or possibly deferred...