Hi all,
I am working on a google app engine project using python. I want to know where does google app engine stores the datastore for the projects. I have tried but could not find it.
Can anyone please help me? I am using windows.
Thanks in advance.
...
Hi all,
wondering if the GAE keys (com.google.appengine.api.datastore.Key) can be used with local mysql apps? I presume it's not possible, so if I define my primary keys in my models as longs, do I lose too much of the key functionality, like the KeyService and querying using keys ?
Thanks
...
Can anyone give examples of large sites running on Google App Engine at the moment?
If you can please give rough estimate of traffic and how long it has been live for.
And any significant periods of downtime if any.
Thanks
Ron
...
Hello,
I just started with Google App Engine using python and I was following a tutorial and writing my own little app to get familiar the webapp framework. Now I just noticed the tutorial does the following self.redirect('/'). So that got me wondering: is there a way to redirect to a handler instead of a hardcoded path? Thought that mi...
How does EmailProperty differ from StringProperty? Consider these two examples:
# example 1: store an e-mail address in an EmailProperty
class MyModel(db.Model):
email_address = db.EmailProperty()
m = MyModel()
m.email_address = db.Email("[email protected]")
# example 2: store an e-mail address in a StringProperty
class MyModel(db.M...
I did a db.get([356 keys]) and it took 8 seconds. Here is an excerpt of the AppStats graph for this operation:
http://vvcap.net/db/iXvU5LtfG6tp04-kjqvp.htp
Is 8 seconds normal for 356 keys? And why is the CPU time be bigger than the API CPU time? If anything I would expect the API CPU time to be bigger, since entities are fetched in par...
How can I copy an entity created from my Geo model:
class Geo(db.Model):
title = db.StringProperty()
link = db.StringProperty()
updated = db.DateTimeProperty(auto_now =True)
author = db.ReferenceProperty(MyUser)
id = db.StringProperty()
entry = db.ListProperty(db.Key)
...
Hi,
I'm using the python poster library to try to upload a form containing including an image to a servlet. Locally, it runs fine, but when I deploy to app engine, it doesn't recognize it as multipart content.
ServletFileUpload.isMultipartContent(request) returns false
Here's how I'm using the poster library:
register_openers()
da...
I would like to capture an image from the camera on Android, and send it to Google App Engine, which will store the image in the blob store. Sounds simple enough, and I can get the multi-part POST to GAE happening, but storing to the Blob store requires the servlet return an HTTP redirect (302). So, I need a connection that can follow re...
I am just learning JDO and GAE, and have gotten myself very stuck on this.
I have gone from having just
public class Article {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
...
}
To now also having a parent:
public class ArticleCollection {
@PrimaryKey
@Persistent(valu...
I have a class Event and a dependent class Entry, which instances are only valid in the context of an event.
What would be the best way to model this in JDO? Acutally I don't want to query for Entries only for Events and their entries. So do I need a key on Entry?
My current solution is:
@PersistenceCapable
public class Event {
@P...
http://127.0.0.1:8888/socialnetwork/contactsService
That's the current URL for one of my servlets. My question is, how do I change it?
In my web.xml file, altering
<servlet-mapping>
<servlet-name>contactsServiceServlet</servlet-name>
<url-pattern>/socialnetwork/contactsService</url-pattern>
</servlet-mapping>
to
<serv...
Theoretically speaking, is such a thing possible?
I know that Google App Engine can't make socket connections, so I figured using XMPP to send messages to the clients would work.
Is XMPP on Google App engine low-latency enough to work for a realtime game?
I was looking into multiplayer game servers like Smartfox and the like, but I fi...
so lets say I have a simple class Final and I want to filter the results for the past 2 days by the created field, how do I do this? When I populate the final class it has a utc created time, but I need the difference of that time and currently this is along the line of what I want done below, but I am unsure on how to get a difference i...
this is my model:
class Geo(db.Model):
entry = db.ListProperty(db.Key)
geo=Geo()
geo.entry.append(otherModel.key())
and the html is :
{% for i in geo.entry %}
<p><a href="{{ i.link }}">{{ i.title }}</a></p>
{% endfor%}
but it show nothing,
i think maybe should :
class Geo(db.Model):
entry = db.ListProperty(db.Mod...
Hello, we wrote in C++ a screen sharing application based on sending screenshots.
It works by establishing a TCP connection btw the server and client, where the server forwards every new screenshot received for a user through the connection, and this is popped-up by the client.
Now, we are trying to host this on google app engine, and...
I have two objects a user and a role which I make persistant using JDO and googles app engine. The two datatypes are related to each other as unowned many to many relationship. I tried to model that much as in the gae-tutorial desribed as sets holding the key of the corresponding object. By the time I create my objects, those keys are nu...
like one forum has many topic ,
ths specific is : forum and topic has the same model :
class Geo(db.Model):
#self = db.SelfReferenceProperty()
title = db.StringProperty()
link = db.StringProperty()
updated = db.DateTimeProperty(auto_now =True)
author = db.ReferenceProperty(MyUser)
id = db.StringProperty()
e...
Hi,
I am making a P2P Media sharing feature where users can share Files (images, mp3 etc) with others. When a User shares a file with the other I simply send them the link to that file. The links looks like:
http://www.domain.com/file?q=unique_key
Now, the unique_key must be alpha-numeric and not easily guessable, so i plan to use the...
Hi,
Once a user is logged in, I create a Java session and store their userid and sessionid (sid) in the session, these two parameters are sent to GWT client and they are stored there in a base GWT client presenter (not as cookies). I am using MVP Architecture.
Every call made to sever there after is sent with these two parameters userI...