Looking at Category it seems that it is basically a String. I fail to see any advantages of using Category over String.
What is the difference, and why would I use Category instead of String?
...
I am creating an application with google app engine and grails. I have a Controller set up for my Flex application to call. The Controller calls a service to get a list back and send it back to Flex.
The Flex client is able to get the data back one time. Also If I call the action in the browser I can call the action and get data back as...
Hello,
I'm trying to migrate my app from PHP and RDBMS (MySQL) to Google App Engine and have a hard time figuring out data model and relationships in JDO. In my current app I use a lot of JOIN queries like:
SELECT users.name, comments.comment
FROM users, comments
WHERE users.user_id = comments.user_id
AND users.email = '[email protected]...
I am using GWT and Google App Engine Java for my application. I have a profile screen where
user enters profile information like name, age and address, saves it and gets success or failure message. I developed this initial application using GWT-RPC and it worked fine. I had a new requirement where I have to store image of the user. I am ...
I'm using Django with Google's App Engine.
I want to send information to the server with percent encoded slashes. A request like http:/localhost/turtle/waxy%2Fsmooth that would match against a URL like r'^/turtle/(?P<type>([A-Za-z]|%2F)+)$'. The request gets to the server intact, but sometime before it is compared against the regex th...
class Person(db.Model):
first_name=db.StringProperty()
middle_name=db.StringProperty()
last_name=db.StringProperty()
p1=Person(first_name='john', last_name='smith')
p2=Person(first_name='john',middle_name=None,last_name='smith')
p3=Person(first_name='john',middle_name='', last_name='smith')
p1 and p2 is the same...
Is there an easy way to calculate the size of an entity stored in App Engine? I would like to know how close a particular entity is to hitting the 1 MB upper limit on entity size.
...
I googled a lot but i find crap documentation about jpa.
I had to implement a domain model like cat and dog inherit from animal, and animal has a one to many and a many to many relation.
How to do that?
...
Hi SO, I could use a little help in AppEngine land...
Using the [Python] API I create relationships like this example from the docs:
class Author(db.Model):
name = db.StringProperty()
class Story(db.Model):
author = db.ReferenceProperty(Author)
story = db.get(story_key)
author_name = story.author.name
As I understand it, t...
I just wanted to ask if we can access an external MySQL server from Google App Engine...
...
I need to replace all the white(ish) pixels in a PNG image with alpha transparency.
I'm using Python in AppEngine and so do not have access to libraries like PIL, imagemagick etc. AppEngine does have an image library, but is pitched mainly at image resizing.
I found the excellent little pyPNG module and managed to knock up a little fun...
Hi
I am writing a GWT app running on App Engine, which needs to modify a XML File serverside. As far as I know there is no way to modify a XML file in the WAR directory or any subdirectories. What other possibilities do I have to store that data? Can I use the Data Store somehow or should I look for storage space somewhere else and acce...
Possible Duplicates:
Ajax Highscores security
Is Flash/Actionscript any safer than Javascript for persistent online game?
I have a google appengine high score board for a chrome extension game written in javascript. I'm currently submitting high scores with an xmlhttprequest, so anyone can write a little bit of javascript an...
I need a simple application in GAE:
I have users:
public User {
private @Id Long id;
private String name;
}
and messages
private Message {
private @Id Long id;
private Key sender;
private Key reciever;
private Date sendDate;
}
The problem is:
I need to fetch all messages sended and recieved by given user s...
I've followed the GAE docs on setting up one-to-many relationship in JDO but I'm still having trouble in retrieving the collection data back. I have no problem getting the other non-collection fields back. Here are my classes:
@PersistenceCapable
public class User{
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDE...
Is there one? It's crucial for us to use SOAP and we don't want to have to attempt written this application in python, so we are looking for alternatives to the Google App Engine that is free.
...
I just started exploring Java Servlets and JSP and am a little confused about the sessions object. Inside a servlet I have this:
public class SampleServlet extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws IOException {
HttpSession session = request.getSession(tru...
I am having trouble setting up JUnit with App Engine in Eclipse. I have JUnit set up correctly, that is, I can run tests that don't involve the datastore or other services. However, when I try to use the datastore in my tests they fail. The code I am trying right now is from the App Engine site (see below):
http://code.google.com/appen...
I have these entity kinds:
Molecule
Atom
MoleculeAtom
Given a list(molecule_ids) whose lengths is in the hundreds, I need to get a dict of the form {molecule_id: list(atom_ids)}. Likewise, given a list(atom_ids) whose length is in the hunreds, I need to get a dict of the form {atom_id: list(molecule_ids)}.
Both of these bulk lookups...
Using Google app engine, is it possible to initialize a globally accessible singleton on app startup? I have a large static tree structure that I need to use on every request and want to initialize it beforehand. The tree structure is too large (20+MB) to be put into Memcache and I am trying to figure out what other alternatives I have...