
petrilli at digicool
Feb 22, 2000, 2:35 PM
Post #6 of 6
(136 views)
Permalink
|
On 2/22/00 4:24 PM, Lalo Martins at lalo [at] hackandroll wrote: > Still, it would be cool to have quotas for a folder. This could > easily be done with a ZClass subclassing Folder, except that > there is no way to get the size of an object (or is there?). More importantly, you have all the revisions of an object, how do you account for that? You could easily create a 500K object (say your limit is 1MB), and then "update" it 100x and have used 50MB :-) But how do you count this? And since you can't pack just a section of the database, this is difficult to do. Not impossible mind you, just a bit harder than it looks at first glance. Chris -- | Christopher Petrilli Python Powered Digital Creations, Inc. | petrilli [at] digicool http://www.digicool.com
|