[Zope] non-undoable storage

Milos Prudek prudek at bvx.cz
Mon Apr 18 12:29:49 EDT 2005


> from ZODB import PersistentList

Interesting. I'll look at this idea. I never heard of this class.

> You could then have NumberOfProperties become a ComputedAttribute

> But AFAIK, ComputedAttributes don't support write methods.

Um, are you saying that the solution would actually not work for my use 
case?

> So client code can't write "someArticle.NumberOfReaders += 1".
> But then, you wouldn't be able to do that with a SQL-based
> solution either.

Why not? It's easy to write ZSQL method to update data. Probably we do 
not understand each other.


-- 
Milos Prudek


More information about the Zope mailing list