Mailing List Archive

Re: - cDocumentTemplate & Bobo
John Eikenberry wrote:
>
> Hey,
>
> To use cDocumentTemplate with Bobo, would it just be a matter of replacing
> the regular DocumentTemplate package (w/o cDT) with the contents of the DT
> directory that comes with Zope?

Yes, but if you want the optional C speedups, you need to make sure
and include the compiled extension (.so file on Linux, .pyd file
on Win32) *and* you need to make sure that the ExtensionClass
extension is somewhere in the path.

The C speedups are provided by a C mix-in class that implements
key computations in C.

Jim

--
Jim Fulton mailto:jim@digicool.com
Technical Director (540) 371-6909 Python Powered!
Digital Creations http://www.digicool.com http://www.python.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.
Re: - cDocumentTemplate & Bobo [ In reply to ]
Amos Latteier wrote:
>
> At 05:47 PM 12/4/98 -0800, John Eikenberry wrote:
>
> >To use cDocumentTemplate with Bobo, would it just be a matter of replacing
> >the regular DocumentTemplate package (w/o cDT) with the contents of the DT
> >directory that comes with Zope? I already have it in place, and it seems
> >to work fine... I just wanted to ask to make sure I wouldn't run across
> >some unexpected snags.
>
> I don't believe you should have any problems. In general you can pull your
> old favorite packages from Zope and use them like you used to use Bobo
> packages. We will probably make this more convenient by releasing some
> components like DocumentTemplate separately, so you don't have to download
> the whole thing to get just one package.
>
> I'm not caught up on all the changes in various packages, but I'll hazard
> this:
>
> DocumentTemplate and BoboPOS are essentially similar to the last Bobo
> versions of these packages, only the Zope ones contain optional parts in c.

This is essentially correct. Note that to use the C extensions,
you also need ExtensionClass on which they are based.

Also, the Zope BoboPOS has an additional module, TJar that implements
long-running transactions, which are the basis of Zope sessions.
(Don't look too closely at this. It, like the rest of BoboPOS 2,
is pretty crufty. Look for a major cleanup in Z Object Database,
formally known as BoboPOS3. :)

Jim

--
Jim Fulton mailto:jim@digicool.com
Technical Director (540) 371-6909 Python Powered!
Digital Creations http://www.digicool.com http://www.python.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.