[google-appengine] Testers for a Sports team website
I created (using GAE) a website for a friend to manage his sports teams (baseball, hockey, soccer). It has everything he needed, including detailed player stats, player availability, photo sharing, mailing lists, etc. And recently, I've generalized it so others can use it to manage their sports teams. http://Sportsit.es I'm looking for people that are on a sports team to test out the website and give me feedback on it. In exchange, they get to have a team website that's customized to their needs and the features they would like to have. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Performance related to ReferenceProperty and datastore API calls
Thank you! Nicks article was very useful On Jun 3, 4:37 pm, djidjadji djidja...@gmail.com wrote: Why not denormalize the model and put just StringProperties in the class Employee? You could give the Type and Status key names that are the same as the name property. You can then get the name with emp = Employee.all().get() typeName = Employee.type.get_value_from_datastore(emp).name() Or use the method in Nicks article http://blog.notdot.net/2010/01/ReferenceProperty-prefetching-in-App-E... 2010/6/3 ae gappengin...@gmail.com: If I have a data model like this... class Type(db.Model): name = db.StringProperty() class Status(db.Model): name = db.StringProperty() class Employee(db.Model): name = db.StringProperty() type = db.ReferenceProperty(Type) status = db.ReferenceProperty(Status) ... and I want to display a list of employees along with type.name and status.name the performance seems to be really impacted by the number of employees because I'm making 2 X (no. of employees) datastore API calls. (e.g. for 100 employees, I'm making 200 datastore API calls) my question is how can I improve this without limiting the number of employees I display or flattening my data model? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Datastore API calls
Is there a programmatic way to measure how many datastore API calls a function makes in the dev environment? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Datastore API calls
Yes, thank you! On Jun 3, 11:23 am, Robert Kluin robert.kl...@gmail.com wrote: Try AppStats. It is a wonderful tool. Pythonhttp://code.google.com/appengine/docs/python/tools/appstats.html Javahttp://code.google.com/appengine/docs/java/tools/appstats.html Robert On Thu, Jun 3, 2010 at 12:33 PM, ae gappengin...@gmail.com wrote: Is there a programmatic way to measure how many datastore API calls a function makes in the dev environment? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Performance related to ReferenceProperty and datastore API calls
If I have a data model like this... class Type(db.Model): name = db.StringProperty() class Status(db.Model): name = db.StringProperty() class Employee(db.Model): name = db.StringProperty() type = db.ReferenceProperty(Type) status = db.ReferenceProperty(Status) ... and I want to display a list of employees along with type.name and status.name the performance seems to be really impacted by the number of employees because I'm making 2 X (no. of employees) datastore API calls. (e.g. for 100 employees, I'm making 200 datastore API calls) my question is how can I improve this without limiting the number of employees I display or flattening my data model? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Retrieving Source from GAE
Hi, I had a couple of hard drives die one after the other in a shot period of time so I lost all my source code. Can someone from Google please PLEASE help me retrieve the source from GAE? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Transactions - Entity Groups
Does anybody else find transactions very restricting? How do I solve this problem? Here is my data model... Team(db.Model): name = db.StringProperty() Game(db.Model): team1 = db.ReferenceProperty(Team, collection_name='game1_set') team2 = db.ReferenceProperty(Team, collection_name='game2_set') ... if I delete a team, I want to delete all the games associated with it as well so I need to put the delete operation in a transaction. But how would I setup the entity group? setup 1) Team as parent of Game - but there can be only 1 parent and team1 and team2 should both be parents - DOESN'T WORK setup 2) Game as parent of Team - then that would mean each team can only play 1 game? DOESN'T WORK setup 3) create a 3rd entity and let that be the parent of both Team and Game - but then all teams and games would be in the same entity group - is this my only option? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: page not refreshing properly
no, i'm not using cookies. On Oct 10, 2:49 pm, Roy Leban [EMAIL PROTECTED] wrote: Are you using cookies? There's a bug related to this. There is a workaround with a meta expires tag (search for that) On Oct 10, 2:00 pm, Jeff S [EMAIL PROTECTED] wrote: Hi ae, When you say that the page does not refresh properly, could you be more specific? Is it that the redirect doesn't happen, or the page content is not what you expect?... Cheers, Jeff On Oct 9, 7:17 pm, ae [EMAIL PROTECTED] wrote: I have a Sign Out link that signs somebody out and redirects them back to where they were (same url but with slightly different content)... but the page doesn't seem to refresh properly all the time. What's the best way to solve this? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] page not refreshing properly
I have a Sign Out link that signs somebody out and redirects them back to where they were (same url but with slightly different content)... but the page doesn't seem to refresh properly all the time. What's the best way to solve this? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Datastore Key IDs
Hi, just wondering, do the datastore key ids get recycled for an entity? or are they guaranteed to by unique for an entity? e.g. if key id 7 to 10 gets deleted, do those key id ever get used again? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Generic Guestbook Service
I created this generic guestbook service where any Google Apps user can add it to their web site by simply adding the GAE service subdomainservices and naming their web address guestbook.yourdomain.com you can check it out at http://www.SubdomainServices.com But my question is, how do I make the Sign In to be like Google's other services? If you're signed in to Gmail, you don't need to resign in to use Calendar, Docs, etc. Can I make it so that people don't have to sign in if they're already signed in to Google's other services? Any suggestions on how that's done? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Catch All Error Handler
Thanks Alex :) On Sep 4, 3:35 pm, Alexander Kojevnikov [EMAIL PROTECTED] wrote: http://groups.google.com/group/google-appengine/msg/4bba646d86a0d80d On Sep 5, 2:18 am, ae [EMAIL PROTECTED] wrote: Hi, Are there any suggestions on how to implement a catch all error handler in the webapp framework? I want to display a custom web page on any unhandled errors in my app. Thanks, ae --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Catch All Error Handler
Hi, Are there any suggestions on how to implement a catch all error handler in the webapp framework? I want to display a custom web page on any unhandled errors in my app. Thanks, ae --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---