Erik Stephens writes:
I've been working on an implementation of connection pooling for the
MySQLDA. Basically, Zope connections will be pooled by connection
string to reduce the number of unecessary connections to MySQL.
Isn't that trivial with Zope (thanks to acquisition)?
Just
I've got an analogous but different problem with ZCatalog udpates. I'd
like to ask for ideas about the best way to handle this.
I've got a ZPatterns based ap that is pulling data from a postgresql
database. But associated with the object created out of the database
are signficant chunks of
[Chris McDonough]
| Note that the algoritm is simple - for each index, compare the what exists
| in the index to what is to be put in. If they're the same, do nothing. If
| they're different, reindex. I wasn't able to understand completely from
| your description whether the object method
On Sat, 3 Mar 2001, Chris McDonough wrote:
Has the physical path of the object changed? If not, the newer (2.3.0 + )
Nope.
catalog stuff should be smart enough to figure out whether anything inside
the object has changed during catalog_object. If nothing has changed, none
of the indexes
Cool. Now, in the examples I've seen for interfacing ZCatalog and
ZPatterns, the 'object updated' code does an unindex of the object
and then an index of the object. I copied that pattern for my
"the tables have been updated, reindex everything" code.
So what I should do instead is just do
Will the new data be 'made ready for indexing' before it is compared to
the
existing data? That is, will ZCatalog have to compute the data in some
way before it compares it to what is already stored?
Yes.
I'm wondering because it would be significant overhead to 'make a data
field
of
Is there any real documentation for Site Access rewrite rules anywhere?
There isn't anything in the help system of 2.3.1b1, and the docs under
SiteAccess on zope.org have a couple of examples but no technical
explanation of how the parts of the example interact with Zope.
My goal is pretty
From: "R. David Murray " [EMAIL PROTECTED]
So, clearly I don't have a clue what stack is supposed to contain or
what changing it does. Can anyone point me to docs or give me some
help? You can also tell me, "that's stupid, just solve your problem
this way"...
You've got it almost right,