R. David Murray wrote:
On Sat, 17 Feb 2001, Joachim Werner wrote:
SQL or ZODB+ZCatalog, which one is better?
Any comments?
Just the obvious one: ZPatterns. <grin>.
OK, this was the standard answer, right. But what I don't really get is: How can ZPatterns help me here? If My underlying storage can't do what I want it to do (let's say very expensive queries -- which is what ZCatalog can't really do well), how can an abstraction layer on top of it solve my problems? And on the other hand, if I only have one option that does what I want (let's say using SQL) and I know that in advance, why should I use ZPatterns then? And, instead of switching back-ends in ZPatterns, I could as well just rewrite my non-ZPattern objects to work with the new back-end, which doesn't seem to be more work. I mean, if I switch from using ZClasses/ZCatalog to ZSQL in ZPatterns, I still have to rewrite all my methods that handle storage and data retrieval. ZPatterns don't do that for me. I have read and seen a lot of ZPatterns stuff, but I still haven't seen something where I really NEED ZPatterns to get a better solution for a problem. Cheers, Joachim