Hi All,
I have a year's experience writing client code but none with server stuff. I want to restrain the question a bit so I'll simplify what I'm trying to achieve.
I want to write server code such that two clients (Browser or iPhone / Android) can connect, when two player have connected they see a timer count down to zero. The clock ...
Looking for the least bumpy (and most productive ) ride for a web 2.0 idea...
Groovy/Grails, Scala/Lift, Groovy/Gaelyk, OR....
Please share your experience.
...
after launching your app on google app engine.
you can use the 'logs' page in the admin console to see a how many requests were made,
any http:// 404 errors etc.
It's hard to make sense of how many visitors you really got and or others.
Am I missing something here ?
Can somebody tell me how to read logs on a google app engine.
Many ...
This is a very noobish question, so I apologize in advance!
I have two time stamps for start and end of the event. They are stored in as datetime.datetime in UTC. What I need to do is figure out the duration of the event.
I tried subtracting one from the other, but receive error:
Traceback (most recent call last):
02.
File '/base/pyt...
I am trying to build a google app engine app in Java. The app is trying to get information from another site. On my computer I am behind a firewall and need to connect to the site through a proxy. Google app engine does not allow the use of java.net.proxy. Is there a way to configure eclipse so it knows that when I use URL.getContent...
For an application build on Spring MVC + Groovy + Google App Engine i need simple XML serializer/marchaller.
I'v tried:
XStream - it doesn't work on Google App Engine, because it uses restricted (at GAE) classes
Jaxb2 - it doesn't work with Groovy classes, because groovy class have additional (hidden) fields (like metaClass, etc)
Xml...
What is the preferred method of fetching a url and it's content in app-engine?
This is how I'm doing it now:
URL google = new URL("http://www.google.com");
google.openStream();
and this is the warning I get
Mar 6, 2010 4:11:50 AM org.apache.commons.httpclient.HttpMethodBase getResponseBody
WARNING: Going to buffer response body of l...
I am trying to deploy struts2 with the rest plugin onto the Google app engine...
I have copied the showcase files to a GAE project created in Eclipse. The compilation and upload works fine.
When I hit the index.jsp, which forwards me to /orders I get a 404.
When I check the logs, there is no error, just a warning (as below). The Orde...
My code worked fine when it was all in one file. Now, I'm splitting up classes into different modules. The modules have been given the same name as the classes. Perhaps this is a problem, because MainPage is failing when it is loaded. Does it think that I'm trying to inherit from a module? Can module/class namespace collisions happen?
M...
I've been slowly and a bit painfully working my way up the datastore/JDO learning curve in GAE. Recently I've found a framework called Objectify that is supposed to be somewhere between the very-simple Datastore native API and the complex JDO. I've been reading up on it and it does seem attractive.
What I want to know is, if anyone ha...
Hello, I'm a newbie in JDO. I use eclipse.
After I use (PersistenceManager) pm.close for test, now I delete this pm.close. However I still could not find a way to open or create a new one, even after I restarted the computer.
Every time, PersistenceManager show this error, Object Manager has been closed
And I could not find a way to d...
I am using GAE Java for a multi-user application. There are multiple users with different roles. Each user can login, do some operations and logout. The business restricts me from using Google User Service and I need to implement my own for authentication and session management.
Can anyone please share with me how should I go about impl...
Suppose I have
class Foo(db.Model):
bar = db.ReferenceProperty(Bar)
foo = Foo.all().get()
Is there a way for me to do foo.bar without a query being made to Datastore? The docs say that foo.bar will be an instance of Key, so I would expect to be able to do foo.bar.id() and be able to get the id of the Bar that's associated with foo...
I've heard how browsers can receive gzipped pages from the server. Can they also gzip form data that they send to the server? And if it's possible, how would I decompress this data on the server?
I'm using AppEngine's webapp module, but a general explanation / pointers to tutorials would be sufficient. I've done some googling to no avai...
I created one table in Google App Engine .I stored and retrieved data from Google App Engine.
But i don't know how to delete data from Google App Engine datastore.
...
I need to store settings for my Google App Engine project. Currently I have:
class Settings(db.Model):
rate = db.IntegerProperty(default=4)
...
And when I want to use it:
Settings.get_or_insert('settings')
This feels clumsy so is there a better way (without using Django)?
...
I need to update a record in the datastore, but instead of updated record I get always a new record.
My model:
class PageModel(db.Model):
title = db.StringProperty()
content = db.TextProperty()
reference = db.SelfReferenceProperty()
user = db.UserProperty(auto_current_user = True)
created = db.DateTimeProperty...
I am trying to create a template that will put items in a table.
Controller:
items = Item.all().order('name').fetch(10)
template_values = {'items': items,
'headers': ['Name', 'Price', 'Quantity']}
render('Views/table.html', self, template_values)
Template:
<table>
<tr>
{% for header in headers...
I can use this verb in the Python Windows SDK. But not in production. Why? What am I doing wrong?
The error message includes (only seen via firebug or fiddler)
Malformed request
or something like that
My code looks like:
from google.appengine.ext import db
from google.appengine.ext import webapp
class Handler(webapp.RequestHand...
Hello! This is my first time here so I hope I post this question at the right place. :)
I need to build flood control for my script but I'm not good at all this datetime to time conversions with UTC and stuff. I hope you can help me out.
I'm using the Google App Engine with Python. I've got a datetimeproperty at the DataStore database w...