Richard Jones wrote:
That's only during parsing - the result of the ZPT parse is a highly
optimised rendering structure.
Not highly optimised enough if what Martijn says is true ;-)
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
Hi all,
Is it possible to use cursors and their functions (dictfetchall,
fetchone...) with zpsycopg connection ?
Easy stupid :) :
conn = getattr(self, self.connection_id)
db = conn().db
curs = db.cursor()
curs.execute(select * from support limit 2)
return %s %
Il ven, 2002-02-08 alle 12:47, de ZORZI Frederic ha scritto:
Hi all,
Is it possible to use cursors and their functions (dictfetchall,
fetchone...) with zpsycopg connection ?
Easy stupid :) :
conn = getattr(self, self.connection_id)
db = conn().db
curs =
Hi,
PUT_factory's are cool, but you always have to write them as external methods,
which sucks.
What would people feel if I made an enhancement to Hookable_PUT.py that let you
return either an object _or_ a metatype?
cheers,
Chris
___
Zope-Dev
On Fri, Feb 08, 2002 at 11:29:39AM +, seb bacon wrote:
Well, I just ran a very naive test and it suggests that zpt may be about
twice as slow as dtml.
I made a DTML Method, and a ZPT, identical to each other, containing
only HTML:
html
Test
/html
Then I ran the ab
seb bacon wrote:
Well, I just ran a very naive test and it suggests that zpt may be about
twice as slow as dtml.
I made a DTML Method, and a ZPT, identical to each other, containing
only HTML:
html
Test
/html
Then I ran the ab benchmarking tool against each method, thus:
Martijn Faassen wrote:
Hey,
I'm running into a weird problem I'm not sure how to tackle. I've
noticed that under some circumstances it takes a long time to copy
and paste a ParsedXML object. This seems to happen in a clean Zope,
at least in the Zope root, though it doesn't seem to happen in
Martijn Faassen wrote:
Another data point. Copy paste of ParsedXML documents is normal
and fast when the object is in a folder not surrounded by too
many other folders (or objects in general, not sure yet). If I create
a bunch of very large folders sitting next to the ParsedXML document
Hi,
You shouldn't be messing with locale in a Zope product. In a threaded
Python app, setting locale affects all threads, and there are a number
of parts in Zope which depend on correct locale information. You should
respect whatever locale was set in Zope initialization (by environment
vars or
On Tue, 5 Feb 2002, John Hall wrote:
1. How do I format an object to use in a dtml-in loop? (I'm thinking
it needs to be a list of dict's).
dtml-in will accept four differen formats: a list of objects with
attributes, a list of values, a list of dicts, or a list of pairs.
A list of
Hi I am a zope newbie getting started by using external methods. I am
importing modules from another package in my external methods and having
some problems. When I change code in the external method, I see thos
changes take right away when I call the method from the browser. But when I
Joachim Werner writes:
Has anyone done any performance comparisons between DTML and ZPT yet? The
reason I'm asking is that we did some first(completely unscientific) tests
and had the impression that ZPT were actually quite a bit SLOWER than DTML -
and I just can't believe that ...
While
Scott Burton writes:
I keep getting a transaction error which renders my entire ODB unwritable on
Zopesite.com just about everyday.
This may happen when there is an exception during the second
step of the two phase commit. We had such a problem with an
old version of FSSession (fixed long
On Fri, 8 Feb 2002, Ted Skolnick wrote:
Hi I am a zope newbie getting started by using external methods. I am
importing modules from another package in my external methods and having
some problems. When I change code in the external method, I see thos
changes take right away when I call
I'm please to announce the release of StandaloneZODB, the Python
object persistency system also known as the Z Object Database. ZODB
is the object-oriented database underlying Zope; the StandaloneZODB
project's goal is to provide those same facilities to non-Zope related
Python applications.
On my Zope 2.5.0 running on WindowsXP/IE6, the ZMI's textarea boxes, for
things like editing PageTemplates, becomes too wide for the frame when
the vertical scrollbar is required, causing an inconvenient
side-scrolling behavior. The frame must be scrolled sideways to view the
text areas's
16 matches
Mail list logo