[Zope] Cutting, copying and pasting products
Jim Fulton
jim@digicool.com
Mon, 05 Jul 1999 10:51:30 -0400
Paul Boddie wrote:
>
(snip)
> What I meant to ask was: could anyone give a rationale for why it
> isn't possible to move product "instances" around?
I'm afraid I'm still not understanding you.
You can copy and paste products. But products can only live
in the Products folder.
This restriction is due to the fact that Products are
more like genetics than environment. A product (currently)
affects an entire site, not just a particular part of a site.
Having said that, I can imagine having products in the future
that affect only part of a site. Functionally, this would be
useful, however, logistically, it is rather complicated.
(snip)
> Understood. Given the recent ZClasses developments, is there an overview of how
> ZClasses differ from products and when the two technologies should be applied?
Products are about packinging and defining constructors.
Classes are about defining behavior.
When you want to package a bunch of things
up or define how things get created, use a product.
When you want to define a new kind of thing, use a class.
Jim
--
Jim Fulton mailto:jim@digicool.com Python Powered!
Technical Director (888) 344-4332 http://www.python.org
Digital Creations http://www.digicool.com http://www.zope.org
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission. Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.