[google-appengine] Re: Some design Issues in appengine datastore

2009-05-05 Thread vijay
Thanks all for your suggestions,I am trying different ways and reading about various design patterns that can be used, I will update the thread once i am done with some more work on this. On Sun, May 3, 2009 at 11:17 PM, ryan > wrote: > > also take a look at polymodel: > > http://code.google.com

[google-appengine] Re: Some design Issues in appengine datastore

2009-05-03 Thread ryan
also take a look at polymodel: http://code.google.com/appengine/docs/python/datastore/polymodelclass.html On May 1, 12:54 pm, adelevie wrote: > try readinghttp://bret.appspot.com/entry/how-friendfeed-uses-mysql > > one pitfall to avoid is to rely on a recursive function to iterate > through a t

[google-appengine] Re: Some design Issues in appengine datastore

2009-05-01 Thread adelevie
try reading http://bret.appspot.com/entry/how-friendfeed-uses-mysql one pitfall to avoid is to rely on a recursive function to iterate through a tree. On May 1, 9:24 am, Ted wrote: > > 1# > > class Food(db.Model): >     category = db.StringListProperty() >     [other properties] > > apple = Foo

[google-appengine] Re: Some design Issues in appengine datastore

2009-05-01 Thread Ted
> 1# class Food(db.Model): category = db.StringListProperty() [other properties] apple = Food(category=['fruit','red','iron','apple']) greenfruit = Food(category=['fruit','green']) veg3 = Food(category= ['vegetable','category1','category2','category3']) If you query category='fruit', you

[google-appengine] Re: Some design Issues in appengine datastore

2009-04-30 Thread vijay
Ping!! On Thu, Apr 30, 2009 at 5:03 PM, vijay wrote: > Hello All,I am working on an application and got stuck in design phase I > hope you guyz can help me out. I have several doubts related to performance > and modelling. > > 1# > In my application i store some hierarchical data and not sure ho