[dev] More Ansel share stuff...
Michael Rubinsky
mike at theupstairsroom.com
Mon Aug 7 10:44:52 PDT 2006
All the talk about the share driver reminded me of a problem I was
having with the Ansel api again. Actually, not really a big problem,
more of an observation really. I know that we were saying that we
really should only be dealing with Datatree_Ids as the only way to get
Ansel shares...and to really only think of them as gallery_ids. That
works great, and I understand the performance reasons for doing so.
There is still one case, however where this will not work as far as I
can tell.
If accessing Ansel strictly through the api, it is impossible to list
shares of only a certain parent share by using the $parent parameter
of the Ansel::listGalleries() method - unless we already have the
unique share_name of the parent...which would be unlikely since there
is currently no way to retrieve it through the Ansel api. I guess the
only real solution (unless this functionality isn't seen as that
important) would be to add another new method to the api to retrieve
the share_name by datatree_id. I really don't like the idea of having
to access the same data by two different keys though...
Thoughts?
Thanks,
Mike
More information about the dev
mailing list