[Zope] score in ZCatalog search results?

2000-12-06 Thread sean . upton
enlightenment here would be greatly appreciated. Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED] = ___ Zope maillist - [EMAIL PROTECTED

RE: [Zope] access log analyzer (analog, webalizer etc.)

2000-12-11 Thread sean . upton
. Perhaps in a few months, I might have something worth showing... Any thoughts? Sean = Sean Upton Senior Programmer/Analyst Web Infrastructure SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED] = -Original Message- Fr

RE: [Zope] HTML formatting from a text field

2000-12-13 Thread sean . upton
I remember reading somewhere about messaging between Java applets and JavaScript code in the browser, allowing JavaScript code from a web form to manipulate the applet output; the example was typing something into a text box, clicking a button in a form, and having that rendered in some obscure

RE: [Zope] mySQL DA on Win32

2000-12-14 Thread sean . upton
Couldn't one just use MyODBC and the ODBC DA? What disadvantages (besides latency from yet another API to go through) are there to this approach? Sean ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

RE: [Zope] site structure (fwd)

2000-12-14 Thread sean . upton
You may also want to take a look at HiperDOM as a templating mechanism as well. I haven't used it, but in looking at the Wiki and the examples, it looks like it would do what you are looking for, and from all accounts I have read, this will be the "official" Zope replacement for DTML for

RE: [Zope] site structure (fwd)

2000-12-14 Thread sean . upton
Getting fairly familiarized with namespaces and acquisition is going to be useful here. You actually will need to do 2 templates (one for the footer, and one for the header) in the case of writing a "wrapper." That said, objects in Zope (like a document, in this case) behave based upon their

RE: [Zope] Zope's . vs _ unsolved issue (Re:To retrieve properties from a dtml document) document)

2000-12-19 Thread sean . upton
What kind of content is it that you are uploading to Zope, and what is your workflow? As someone working in the news industry with several online newspapers and also fairly experienced with Zope and content automation, I might be able to make some suggestions that might help you out. Zope has

RE: [Zope] Zope vs. Enhydra

2000-12-30 Thread sean . upton
I agree that people should only build what they need. The nice thing about Zope being open-source is that it evolves well to its communities use cases; I would argue that Zope-based solutions would adapt to user communities that are not a bunch of software engineers working for software

RE: [Zope] Advice on searching/indexing Word documents?

2001-01-02 Thread sean . upton
. There might be a way around that though, to automate it... Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED] = -Original Message- From: Bowyer, Alex [mailto:[EMAIL PROTECTED

RE: [Zope] Advice on searching/indexing Word documents?

2001-01-02 Thread sean . upton
Cool. I'll have to take a look at this. Does anyone know if there is any effort aimed at writing document filters for use with Zope? A lot of commercial products used for knowledge management (like NextPage LivePublish, some Intranet search engines, etc) already have features like this, and I

RE: [Zope] Advice on searching/indexing Word documents?

2001-01-03 Thread sean . upton
I really like the idea of extending OFS:File to support different file types, but what I would like to see is something that is format/filter/library agnostic. That is to say, that perhaps the way we ought to go about this is to create an API framework that upon upload filters the file with a

RE: [Zope] Poor Procedural Programmer Needs OOPish Enlightenment

2001-01-03 Thread sean . upton
ct. This only works for object with a namespace; methods are not acquirable objects, and though you might call them objects (in a loose sense) they are not objects in a Zopish sense. I don't know if my sugestion will work for you, but hopefully it will help. Sean ===== Sean Upt

RE: [Zope] filename extension

2001-01-08 Thread sean . upton
Perhaps I am wrong here, but couldn't one just use indirect variable lookup within the expression to access the method. There has got to be a way to use _.getitem for this purpose inside the dtml-in, since by default, it doesn't automatically render the method, but I'm not sure how one would

[Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-08 Thread sean . upton
(and other legacy CGI apps / static content as well)... Much thanks in advance, Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED

RE: [Zope] Caching/http-acceleration and proxying Zope-served con tent

2001-01-08 Thread sean . upton
Hmm. That's been my thought on squid as well, given its ground-up design for caching in the first place. My worry, though, is that with squid I lose support for virtual hosts on seperate boxes, because I need to support Zope, static content, and some legacy stuff running ColdFusion on an NT

RE: [Zope] Tux Zope?

2001-01-09 Thread sean . upton
I have extensively looked over the documentation, and am in the midst of compiling for the first time on my PC. Haven't tried it already, though; my main reason, is that I operate most of my Linux servers on Sun hardware, and am waiting for the dust to settle on 2.4.0 before I start trying to

RE: [Zope] xmldocument

2001-01-10 Thread sean . upton
Do you have an example of the XML you are trying to use? File size, in bytes? Just curious, as I have had no problems with XMLDocument (in Zope 2.1.x and 2.2.x) working with newspaper stories from AP online in NITF XML... Sean -Original Message- From: Bak@kedai [mailto:[EMAIL

[Zope] Proximity searches w/ ZCatalog

2001-01-10 Thread sean . upton
Supposedly proximity searches are possible... like "FIDELITY within 8 words of MUTUAL FUNDS." Can't find anything in docs. Anybody have a suggestion here... Thanks, Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 61

[Zope] Pub. Company trying to patent object publishing?

2001-01-11 Thread sean . upton
-technical question on a mostly technical-related list, but I think this is something that needs to be discussed... Thanks, Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED

RE: [Zope] Zope vs. java solutions : looking forward ?

2001-01-11 Thread sean . upton
Frankly, it is a lot easier to program in python; it is much more forgiving in a lot of senses. If your developers like the idea of Java because it is OO, have them consider python's strong abilities, and the fact that they will be working with a persistent object system / ODB that can make

RE: [Zope] way to cleanup form input text?

2001-01-12 Thread sean . upton
Write an external method in python that uses regsub.sub or regsub.gsub functions. This allows you to do regular expression substitutions. regsub.sub does a replace on the first match only regsub.gsub does a replace on all matches Ex: import regsub def process_a_string(self):

RE: [Zope] Zope and Linux flavors

2001-01-16 Thread sean . upton
Perhaps another option (for those with a load-balanced server setup), use an intel 7170 (not cheap, but cool) load-balaning appliance, and use the loadbalancer as a router; the 7170 has the abilitiy to set rules for where it sends the load to based upon expression-matching in the URL. This means

RE: [Zope] Problem : ZCatalog

2001-01-26 Thread sean . upton
Right, use a python method, with a regular expression, like: import regsub def stringchange(self): """ Accepts a string passed as self, modifies it using a regex substitution, and returns modified This example strips multiple spaces, puts in a single one

RE: [Zope] Extended characters in Zope

2001-01-30 Thread sean . upton
Hmmm, as far as the ZCatalog part; I know that at some point it was only working iwth 7 bit ascii characters, then someone put a patch in so that it supported Latin-1 (ISO-8859-1) in the vocabularies... I don't know when (or if) that was ever integrated into the zope core, but I'm sure that if

[Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Sean Upton
All, I want to be able to spell out certain zope.schema.Object fields in my interfaces as contained while other fields are declared as associated/related objects. I'm interested in describing this in the interface itself, and not leave such intrinsic characteristics to the implementation class.

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Sean Upton
On Fri, Jun 6, 2008 at 7:24 AM, Fred Drake [EMAIL PROTECTED] wrote: Still another approach, if you're looking to create software support and the first isn't suitable, is to use fields that provide additional interfaces that indicate the nature of the references. My application (and I suspect

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Sean Upton
On Fri, Jun 6, 2008 at 7:26 PM, Fred Drake [EMAIL PROTECTED] wrote: On Fri, Jun 6, 2008 at 8:08 PM, Sean Upton [EMAIL PROTECTED] wrote: mechanism or implementation details underneath, so I think I'll continue to use custom field types marked with an IRelationshipField interface, and assume

Re: [Zope] Zope/Plone and control version management

2008-06-18 Thread Sean Upton
On Wed, Jun 18, 2008 at 1:04 AM, Garito [EMAIL PROTECTED] wrote: Hi! I'm trying to figure out how to work with a control version software as subversion or git (I prefer git) I would like to know how to configure the system and how to work and commit Can you point me to an url with this

Re: [Zope] Zope/Plone and control version management

2008-06-18 Thread Sean Upton
On Wed, Jun 18, 2008 at 2:51 AM, Garito [EMAIL PROTECTED] wrote: What I would like to know is how I use git to work with my workgroup Do I use only a centralized zope/plone or I need to install them for every member of the workgroup? I'm supposing you are doing python package and Zope2 Product

[Zope] IPublishTraverse adapters and permissions

2009-03-06 Thread Sean Upton
I've been scratching my head on this one, any help is appreciated: I've been using a traversal adapter implementing IPublishTraverse with an application I am developing, and I want to have certain behaviors of my traversal adapter protected by CMF permissions I'm otherwise using. Right now, my

Re: [Zope] changing permissions on classes/methods at runtime?

2012-03-05 Thread Sean Upton
On Wed, Feb 29, 2012 at 7:12 AM, Jürgen Herrmann juergen.herrm...@xlhost.de wrote: hi all! is it possible to change permissions and roles on classes/methods at runtime? normally you'd attach security declarations inline in your class definition code: I don't off-hand know why just

Re: [Zope] changing permissions on classes/methods at runtime?

2012-03-07 Thread Sean Upton
On Wed, Mar 7, 2012 at 3:47 AM, Jürgen Herrmann juergen.herrm...@xlhost.de wrote: now i had a use case where i need to mark some templates and methods as public because they use an internal authentication. One of the challenges I see is that InitializeClass() removes the original 'security'

Re: [Zope] Zope and security vulnerability: 20121106

2012-11-12 Thread Sean Upton
On Mon, Nov 12, 2012 at 5:31 AM, Marcus Schopen li...@localguru.de wrote: Am Montag, den 12.11.2012, 12:07 + schrieb Richard Harley: So, to clarify, does this affect plain Zope 2.10, no Plone? That's still the question to me ;) Why not try product installation and running your instance

Re: [Zope] Thread Number

2013-05-28 Thread Sean Upton
On Wed, May 22, 2013 at 2:17 AM, Richard Harley rich...@scholarpack.com wrote: Noted, thanks Oh, and if you have some kind of health-checks polling your instances, it may make sense (I have no evidence, just a hunch) to add one more thread to keep that stuff from getting in your way (e.g.

Re: [Zope] Zope.org fading away ..

2014-03-11 Thread Sean Upton
On Tue, Mar 11, 2014 at 3:12 PM, Tres Seaver tsea...@palladion.com wrote: When I try to visit the mailing list web interface, Firefox is stopped in its tracks by Secure Connection Failed An error occurred during a connection to mail.zope.org. The OCSP server has no status for the certificate.

Re: [Zope] Zope2 - pro/contra

2015-03-10 Thread Sean Upton
On Fri, Mar 6, 2015 at 3:56 AM, Sebastian Tänzer s...@taenzer.me wrote: Chameleon is one of my favourite templating engines around. I like TAL and Chameleon's subtle improvements on it. I was recently attending a Python users group meeting presentation on Pyramid. The presenter, who strongly

RE: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-01 Thread sean . upton
My impression is that FileStorage implements a 32-bit id-type-thingy somewhere (look at ZODB docs, I think there is something about this somewhere), which limits it (in addition to the Linux kernel ext2 fs limit), to 2GB. With 7.5 GB, I'd use a more advanced storage like the new - well, not

RE: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-01 Thread sean . upton
Perhaps I was looking at old docs, as the docs had indicated that filestorage uses 32-bit position pointers; I'm guessing that this has since changed... Sean -Original Message- From: R. David Murray [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 9:54 AM To: [EMAIL PROTECTED] Cc:

RE: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-16 Thread sean . upton
/2 is within 2 words) Also, lexis doesn't count stop-words in proximity indexes. Folio/Nextpage: Sean Upton@2 IMHO, the syntax is clean and very brief in the Lexis-Nexis case and should suppliment a more generic Sean ... Upton style search. Sean -Original

RE: [Zope-dev] Vulnerability: attacking can get file list and directory

2001-09-24 Thread sean . upton
On a high-traffic site, wouldn't the log get really big, really quickly with tracebacks? It is also nice to have the tracebacks in the browser window for debugging... Why not just enable tracebacks to clients from trusted IP address ranges or domains... Set this up as an option in Z2.py?

RE: [Zope-dev] Vulnerability: attacking can get file list and directory

2001-09-24 Thread sean . upton
Personally, I think this really should be an integration issue instead of a Zope issue: use a front-end proxy server (i.e. Squid) and set up ACLs to prevent this... Sean -Original Message- From: Oliver Bleutgen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 9:10 AM To:

RE: [Zope-dev] Problems with CatalogAware?

2001-09-10 Thread sean . upton
Right now I only call index_object() after an edit, as I was assuming that after adding things would be automatically taken care fo for me, but obviously this is not the case. There are, indeed, default values in some properties within the class __init__ method. I think what is happening is

RE: [Zope-dev] Web Services for Zope

2001-09-26 Thread sean . upton
{snip} trying-to-auto-generate-a-wsdl-from-my-product'ly yours Hmm... in the interim, what about using ZPT (+ParsedXML, of course) and a few python scripts to do this? Sean ___ Zope-Dev maillist - [EMAIL PROTECTED]

RE: [Zope-dev] Deleting objects in BTreeFolder

2001-11-08 Thread sean . upton
) KeyError: (see above) = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED] = ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

[Zope-dev] Overriding base class method / CatalogAware mixin

2001-11-25 Thread sean . upton
of the superclass and inside a method of the subclass - not entirely graceful, but it works. Is there a more graceful way to get around this? (I'm using Zope 2.3.3/Python 1.5.2 at the moment). Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego

RE: [Zope-dev] ZCatalog becoming empty when using Update in conjunction with ZPatterns

2001-12-03 Thread sean . upton
Are you using any virtual hosting setup of any kind? If so, switching from using a base class of CatalogAware.CatalogAware to CatalogPathAware.CatalogAware might solve this problem... Sean -Original Message- From: Jean Jordaan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001

RE: [Zope-dev] Searching

2001-12-05 Thread sean . upton
I think this could be done well at the application level, above the Catalog if done right, but one would have to have good synonym translation table specific to their application. I do this in an application using a TinyTable with translation information for abbreviations (i.e. VW printed in a

RE: [Zope-dev] ZCatalog

2001-12-06 Thread sean . upton
what do you mean by fuzzy? Do you mean with wildcards, NL, or something else? -Original Message- From: Dirk Datzert [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 1:03 PM To: [EMAIL PROTECTED] Subject: [Zope-dev] ZCatalog Hi, I'm looking for a howto or a hint for fuzzy

RE: [Zope-dev] ZCatalog

2001-12-06 Thread sean . upton
Personally, I am of the opinion that sending a Catalog raw queries is not very useful for really powerful searching... hopefully this changes in the future, but for now... Since catalog doesn't have anything built-in that does this, other than globbing vocabularies, you have to do this within

RE: [Zope-dev] Competition

2001-12-06 Thread sean . upton
Uh, this is brand clarification... Sometimes people (well, people who don't pay enough attention) don't get that company X is associated with product Y. Look what happend to Borland when they changed their name to Inprise but kept the old product names. For those folks who don't pay attention to

RE: [Zope-dev] Competition

2001-12-06 Thread sean . upton
I'm going to suggest that this is off-topic for zope-dev, as this is a list fostering cooperation among developers who do not mind sharing their 'beans' and who do not hold the delusions of conspiracy theory. If you are not willing to play by the ad-hoc cooperative social contract of this

[Zope-dev] 100k+ objects, or...Improving Performance of BTreeFolder...

2001-12-09 Thread sean . upton
if directory-storage combined with ReiserFS might make for an interesting future ZODB choice for this sort of app. Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED

RE: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Orjust strange behavoiur of IE?

2002-01-07 Thread sean . upton
Acrobat uses something called byte-serving, which is a pain to support sometimes on the server-side, because it essentially amounts to serving parts of a file up to a given byte offset; when Acrobat acts as an HTTP client, it requests the PDF file, and once it has enough of the top of the doc to

RE: [Zope-dev] Zope 2.6 planning - call for contributors!

2002-02-28 Thread sean . upton
Hmm... would this still work with Squid or Apache caching in front of Zope? I assume that since each browser can accept different transfer-encodings, this has to be done as close to the browser as possible, otherwise content sent in one transfer encoding would be sent to every user if it was to

RE: [Zope-dev] Zope 2.6 planning - call for contributors!

2002-03-03 Thread sean . upton
Perhaps synchronization over ZEO as well as XML-RPC? Thoughts? Sean -Original Message- From: Andy McKay [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 03, 2002 5:04 PM To: [EMAIL PROTECTED] Subject: Re: [Zope-dev] Zope 2.6 planning - call for contributors! I'd like to see the

RE: [Zope-dev] Zope 2.6 and OrderedFolders

2002-03-06 Thread sean . upton
Is this a suggestion that TF go into the core? One other (major) problem with TF is that it breaks session tracking site-wide, or at least the ability to have more than one session id manager per Zope instance in CST; I'm not sure about sessions in Zope 2.5... TF seems to have too much

TF ZMI, was: RE: [Zope-dev] Zope 2.6 and OrderedFolders

2002-03-07 Thread sean . upton
You know, the funny thing is that TF really accomplishes the goals of a ZMI/UI-improvement hack (unclutter a view of a folder to VISUALLY separate the software/content/presentation space) implemented, IMHO, in the wrong place. I would think there is another way that a Folder UI could be

RE: [Zope-dev] More Zope 2.6 requests

2002-03-08 Thread sean . upton
+1 on #2 - definitely useful. Sean -Original Message- From: Jim Washington [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 5:26 AM To: [EMAIL PROTECTED] Subject: [Zope-dev] More Zope 2.6 requests While we are asking, I have two things that I would consider valuable

RE: [Zope-dev] PathIndex doesn't index last part of path

2002-08-19 Thread sean . upton
If the question is begged, why use the catalog: for folders with thousands of objects, applications like CMF skins can be amazingly slow using ObjectManager methods and CMF-wrapped equivalents; they also do not provide sorting. For applications like this, both containment and flexible query

RE: [Zope-dev] Zope Binary Release Changes for Zope 2.6

2002-08-21 Thread sean . upton
In theory (and as a Debian user), I like the idea of support for as distro-neutral of a linux distribution as possible; on the other hand, supporting RedHat 7.2 is a must for Zope accessability to new developers (since there are a lot of RedHat 7.2 systems out there). Is Python 2.1 under woody

RE: [Zope-dev] PathIndex doesn't index last part of path

2002-08-21 Thread sean . upton
I'm all for putting together a proposal to do this, soliciting comments, and contributing to the effort. What would be the right venue for that? On the other hand, AFAIK, the addition of a depth query feature to PathIndex as it is wouldn't likely break existing indexes. And given that Andy's

RE: [Zope-dev] Slow zope on windows 2000?

2002-08-28 Thread sean . upton
For what its worth, a long time ago, with an ancient version of Zope running on the original W2k Professional on my home machine (minus any service packs), Zope (running as a service) was magnitudes of order slower after coming back from a system Hibernate; I no longer hibernate/power-manage

RE: [Zope-dev] Slow zope on windows 2000?

2002-08-28 Thread sean . upton
Actually, I believe that NT Workstation ran dynamic web apps better than NT server. This was because the tuning on NT server out of the box was really geared toward file-server type applications. I assume the case is the same with win2k. At that, I don't think is would be noticeable enough,

[Zope-dev] Proxy Object / __getattr__ / Acquisition

2002-08-29 Thread sean . upton
(currentId, current) self._CurrentVersion = current def __getattr__(self, name): return getattr(self._CurrentVersion, name) +--- | Sean Upton | Site Technology Supervisor SignOnSanDiego.com

RE: [Zope-dev] Integrating ZEO with Zope 2.7

2002-10-02 Thread sean . upton
Hmm... My thought: on Win32, bind the TCP port to the loopback address. Since Win32 in _most_ cases is not a multi-user system, this would have the general effect of keeping this from being an issue (unless you ran terminal services on your Win32 server). This obviously doesn't solve security

RE: [Zope-dev] Re: Unsecure design of ExternalFile

2002-11-07 Thread sean . upton
I'm not familiar with ExternalFile, but likely plan to use it in the future. I think a list of expressly permitted directory locations (including all subdirectories) might be more secure. You can't go wrong with a default directory for files (perhaps $INSTANCE_HOME/var/files or something?), but

RE: [Zope-dev] ClientCache and Large Files

2002-12-16 Thread sean . upton
This sounds like the most appropriate solution, as long as you are careful to make sure that Squid or other forward cache is configured to cache files that large, it isn't likely going to be by default. Sean -Original Message- From: Casey Duncan [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: [Zope-dev] ESI Integration in Zope

2003-01-30 Thread sean . upton
Out of curiosity, Beyond coding XHTML-based ZPTs with tags in the ESI namespace, what else is needed in Zope to make this work? Does Zope need to set an HTTP header for downstream proxies to know that the content of the page is supposed to be processed for ESI? Sean -Original Message-

[Zope-dev] RE: [Zope] Time module in python scripts

2003-02-06 Thread sean . upton
I hope you all don't mind, but I've moved this to Zope-dev. I would like to propose that it be possible without modification (default behavior) in a future version of Zope to import the time module and its methods safely into TTW Python Scripts. I haven't used this yet in TTW code (I've had to

RE: [Zope-dev] Zope Server Control

2003-02-07 Thread sean . upton
The buttons work; you are not clicking with enough pressure. Try again until your wrist hurts. ;) I agree, this looks nice. I also wonder about adding total memory usage for each Zope ZEO client. Also, this layout could be tweaked to have a more vertical look and likely work in a PyQT app on

RE: [Zope-dev] zope connector

2003-02-18 Thread sean . upton
Use ZEO and DBTab and a shared mounted object database that both Zope instances have access to. Put any objects that need to be accessed by both Zope servers in that common storage mounted at some folder-level in your zope setup. Sean -Original Message- From: Tena Sakai [mailto:[EMAIL

RE: [Zope-dev] support for low level HTTP Response logging?

2003-02-25 Thread sean . upton
Are you mainly concerned about the http headers in the response, or the response body? If it is just the headers, Squid's log_mime_hdrs feature will log all HTTP headers from both the request and response for you for each request. If nothing else, perhaps it's a start... Sean -Original

RE: [Zope-dev] Versions: should they die?

2003-06-05 Thread sean . upton
If I remember correctly, though, there was still a lot in question about legitimate use cases. The web-services cluster-safety use-case I sketched out here (http://mail.zope.org/pipermail/zope3-dev/2002-October/003112.html) is still (perhaps) a valid case, but ONLY in a very-carefully constructed

RE: [Zope-dev] storing passwords

2003-06-15 Thread sean . upton
Or SimpleUserFolder: create a user folder class in a Zope product that subclasses both SimpleUserFolder and OFS.Folder. Then put ZSQL methods and a few TTW python scripts in the folder contents of an instance of this class to make it work. I've done something similar to this with relative

RE: [Zope-dev] storing passwords

2003-06-15 Thread sean . upton
There are many possibilities. I would try exUserFolder first (it might work with just configuration (no code) for your use-case), and if you have needs more specific, you can develop your own user-folder type (a bit harder, but not much) using SimpleUserFolder (a generic base class for

[Zope-dev] BTreeFolder2.objectIds() - accessing _tree.keys() slow

2006-01-11 Thread sean . upton
, StringType): spec = [spec] -mti = self._mt_index set = None for meta_type in spec: ids = mti.get(meta_type, None) Thanks, Sean +--+ Sean Upton

RE: [Zope-dev] BTreeFolder2.objectIds() - accessing _tree.keys() slow

2006-01-12 Thread sean . upton
Hacking objectIds() as follows (diff against trunk pasted inline) - gettting ids off of the meta type index for all used meta types - seems to make things much quicker. Two questions: Are you sure this actually works? _mt_index.keys() is supposed to provide a list of all

RE: [Zope-dev] BTreeFolder2.objectIds() - accessing _tree.keys() slow

2006-01-13 Thread sean . upton
[EMAIL PROTECTED] wrote: I'm pretty sure this works. Ok, I get it now. I misread it the first time. This returns the equivalent of running self.objectIds(spec=self._mt_index.keys()) on the current trunk/release code, which should be identical to self._tree.keys(), but much, much