[dev] Video and uploadprogress

Chuck Hagenbuch chuck at horde.org
Wed Sep 5 23:09:19 UTC 2007


Quoting Duck <duck at obala.net>:

> IMO looking from a different point of view, share is wrapper around  
> a piece of
> data, extending it with the user permission. But if you separate the data
> from the permission check you can globally cache data from SQL and check only
> the permission inside PHP in a page request. This would be faster and save
> memory since you data will not be stored in each user session but in a
> central cache storage.

I agree; in every app except Ansel and Trean now Shares are _just_ the  
permissions. And we've moved away from them as also including data in  
Ansel/Trean also.

-chuck


More information about the dev mailing list