[Zope] Zclass VS ZSQL,Which is easier!

chas panda@skinnyhippo.com
Tue, 28 Sep 1999 16:56:47 +0800


At 03:37 PM 9/28/99 +0800, Victor Zhai wrote:
>Hello: all
>      Can Zclass provider some method of it's own.

Yes. A Zclass is, wait for it, a class. 
It has properties and methods.

>Just like Products

Some products are built with Zclasses

>      Whick is more easy to operate ,Zsql or Zclass.

This is a strange question. It's like asking 'which is better -
a battle-tank or a bicycle ?' ... it all depends what you want
to do. 

ZSql and Zclasses serve different purposes. 
Your Zclass may use ZSQL methods.

>      if so,Please give me some advice about that.

I think the best thing you could right now is :

a) create a ZSQL method using the tutorial - it's very easy
b) create a simple ZClass using the tutorial - it's also easy
   
Just create basic examples of each - you'll soon see what 
the difference is.  Seriously, it will be time well invested.

>      More,Please give me some document about ZODB,and ZClass examples.

We'd all love that. But the Zclass tutorial is good.

Lots of information in the archive too. Try using the search.

chas

ps. you may wish to ask Bjorn Stabell since he works in your company and,
    judging from your time zone, is probably sat in a cubicle next to
your's :)

pps. you really shouldn't cross post something like this !