google-app-engine

Google App Engine

What is the difference between google apps and google app engine? ...

Difference between Kind and Entity in GAE datastore?

What is the difference between Kind and Entity in Google App Engine datastore? ...

Specifying custom URL schema in appengine using app.yaml?

I am trying to have a custom URL which looks like this: example.com/site/yahoo.com which would hit this script like this= example.com/details?domain=yahoo.com can this be done using app.yaml? the basic idea is to call "details" with the input "yahoo.com" ...

KindError: Property r must be an instance of SecondModel, why ?

class FirstModel(db.Model): p = db.StringProperty() r=db.ReferenceProperty(SecondModel) class SecondModel(db.Model): r = db.ReferenceProperty(FirstModel) class sss(webapp.RequestHandler): def get(self): a=FirstModel() a.p='sss' a.put() b=SecondModel() b.r=a b.put() a.r=b a.put() self.r...

how to confine to write a string in specific list ,on google-app-engine

class FirstModel(db.Model): p = db.StringProperty({option:['aa','bb','cc']}) the error is : NameError: name 'option' is not defined what should i do ,thanks ...

Sessions not persisting between requests

My session objects are only stored within the request scope on google app engine and I can't figure out how to persist objects between requests. The docs are next to useless on this matter and I can't find anyone who's experienced a similar problem. Please help. When I store session objects in the servlet and forward the request to a JS...

Does Google app engine supports JDBC?

I have heard the Google App Engine[java] do not support JDBC and Hibernate. Is it true? If yes then how do we access the database in Google App Engine. Also, is there any [basic] sample application which can help me understand how to perform CRUD operations in GAE. ...

Appengine Datastore Record Cannot be deleted or changed

This one is probably an appengine fluke and a bug, but I'd love to hear if anyone has any suggestions. I discovered that a single datastore record is behaving strangely by showing up at the beginning of a query on a datetime field sorted by oldest to newest, although the date was newer than all of the other records. On closer inspection...

Using localtime in a where clause for GqlQuery

I'm trying to understand how I can use the local server time to quickly filter results on google appengine. It seems to me that there should be a simple way of doing this using DATETIME(time.localtime()). For example (where 'timestamp' is of type db.DateTimeProperty)... q = db.GqlQuery("SELECT * FROM LiveData WHERE timestamp > DATETIME...

Efficient way to store tuples in the datastore

If I have a pair of floats, is it any more efficient (computationally or storage-wise) to store them as a GeoPtProperty than it would be pickle the tuple and store it as a BlobProperty? If GeoPt is doing something more clever to keep multiple values in a single property, can it be leveraged for arbitrary data? Can I store the tuple ("Jo...

JODA time in Java Appengine

Has anyone gotten JODA time classes to work on Google Appengine? I'm using 1.3.4 of the java sdk and I get the following error when trying: java.lang.NoClassDefFoundError: com/google/appengine/repackaged/org/joda/time/DateTimeZone I've imported it as well: import com.google.appengine.repackaged.org.joda.time.DateTime; ...

Lua on Google App Engine

Is it possible to use Lua with Google App Engine? I recognize that there will be a lot of Java glue, but I would like to use Lua for most of the logic. ...

Any simple frameworks for pagination in App Engine?

I want to find a framework for pagination in Google App Engine. Do you know of one? ...

how to make a chat room on gae ,has any audio python-framework to do this ?

i want to make a chat room on gae ,(audio chat) has any framework to do this ? thanks ...

How to expose a web appication via API ?

Hi , we have create a web application on top of google app engine and python. which is almost about to complete it web front phase. I would also like to make it available almost all part of it to external applications. { via , xml , json , http , as many as possible. } . what's the best way to do it ? any library either for python or dja...

Django authentication in django nonrel on GAE

I'm using the Django nonrel project on a google app engine project running locally in development. I've created my own models and these are fine when they are saved and retrieved in the datastore. I'm hoping to use django.contrib.auth to provide the user functionality. I can use the shell to create users and these get assigned an ID. Wh...

Pagination in Google App Engine with Java

I need to create simple pagination of objects, but when I read manual I found out that query.setRange(5, 10); will fetch 10 objects, even when only 5 objects are needed. Is there anyway to fetch just needed objects? EDIT: I started bounty, so fi you can show me simple example code in Java that works, then I will accept you answer. ...

How to instert child entities in JDO (Google App Engine) ?

How do i add a record to a child entity in the example below ? For example i have a Employee Record which is name is "Sam". how do i add 2 street adress for sam ? Guess i have a The Parent entity is Employee import java.util.List; // ... @Persistent(mappedBy = "employee") private List<ContactInfo> contactInfoSets; The Child key is ...

Add persistent field to an App Engine Datastore class?

So if I have a class of which I have a number saved in a datastore, and then seek to add a field later, how can I prevent all my previous objects breaking? Is there a way to retroactively set those fields so they're not null? I'm using JDO. ...

how to import the parent model on gae-python

main:. ├─a │ ├─__init__.py │ └─aa.py ├─b │ ├─__init__.py │ └─bb.py └─cc.py if i am in aa.py , how to import cc.py ? this is my code ,but it is error : from main import cc what should i do . thanks updated in normal python file (not on gae),i can use this code : import os,sys dirname=os.path.dirname path=os.path....