hi,

I'm trying to build a filesystem like folder tree on appengine python but I'm 
not sure about the architecture of the app.

lets say i have folders and images. folders can contain other folders and 
images. building the relationship is not the problem
because every entity will have a StringListProperty with all the keys to the 
folders it belongs.

the folders will have a path which lets me know which folder contents to show 
on the site. like in a filesystem i would like to be
able to rename a folder. if i rename a folder all child folders of that folder 
will have to change path too.

is it possible to know a folders path based on its ancestors without writing 
the path into the folder entity and of course without fetching all folders in 
the path?

i would like to avoid this because if i change a folders name on the root level 
i will need to do an update operation on all subfolders to change 
this path and if there will be for example 500+ subfolders in the tree it wont 
be an easy and quick operation.

would love to hear your suggestions.

thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
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.

Reply via email to