[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 suspe

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 IRel

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 t

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 Pro

[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 ad

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 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 monkey-patching the security att

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 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' attribute of the class, so y

Re: [Zope] Zope and security vulnerability: 20121106

2012-11-12 Thread Sean Upton
On Mon, Nov 12, 2012 at 5:31 AM, Marcus Schopen 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 in the foregr

Re: [Zope] Thread Number

2013-05-28 Thread Sean Upton
On Wed, May 22, 2013 at 2:17 AM, Richard Harley 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. munin.zope checks, haproxy he

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

2014-03-11 Thread Sean Upton
On Tue, Mar 11, 2014 at 3:12 PM, Tres Seaver 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. (Error code:

Re: [Zope] Zope2 - pro/contra

2015-03-10 Thread Sean Upton
On Fri, Mar 6, 2015 at 3:56 AM, Sebastian Tänzer 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 liked jinja2, di

[Zope] score in ZCatalog search results?

2000-12-06 Thread sean . upton
ting. Any 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

[Zope] Weird ZCatalog problem... bug?

2000-12-08 Thread sean . upton
On my developmet box, I'm using Zope 2.2.1 and ZCatalog to index ZClass-based classified ad objects; for some reason on sort="title" in the ... URL looks like results?title=&AdBody=par*&WeightWords=&fieldsort=title&SUBMIT=Submit+Query Thanks, Sean ====

RE: [Zope] Using Analog and Zope Zserver

2000-12-11 Thread sean . upton
A thought for you. We use analog, and I talked with the person here that implements it, and he wasn't sure there was a solution. However, you could try this: Set up analog so that all requests are seen as pages Write a shell script to filter lines from your server log using grep to search using

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

2000-12-11 Thread sean . upton
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- From: Martin

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 fo

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 po

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 presenta

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 co

RE: [Zope] Question about cgi-bin scripts

2000-12-15 Thread sean . upton
If you have CGI programs written as perl scripts, how closely you can integrate with Zope depends entirely on what you are trying to do; as an application server designed around the object database, you can run DTML, python, and (soon) perl scripts to work with objects in the database; however the

RE: [Zope] One-To-One, Story Server, Teamsite, ... Zope?

2000-12-18 Thread sean . upton
l databases to the back-burner in XML solutions. Zope is especially a good fit if you want to publish to multiple media (print, wireless, html, palm, PDF, etc). Zope is the best solution I have seen for such a solution - and I've been looking for years. There is more of a picture of wh

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 so

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 companie

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

2001-01-02 Thread sean . upton
og. 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

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 w

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 spe

RE: [Zope] Poor Procedural Programmer Needs OOPish Enlightenment

2001-01-03 Thread sean . upton
tion will work for you, but hopefully it will help. Sean = Sean Upton Senior Programmer/Analyst SignOnSanDiego.com The San Diego Union-Tribune 619.718.5241 [EMAIL PROTECTED] = -Original Message- From: Geoffrey L. Wright [mailto:[EMAIL PROTECT

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 , since by default, it doesn't automatically render the method, but I'm not sure how one would pass the pa

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

2001-01-08 Thread sean . upton
uction media site running Zope (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-Tr

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 box.

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 wor

RE: [Zope] ZCatalog and 'fuzzy logic'

2001-01-09 Thread sean . upton
My understanding is that part of the problem is that sorting a dataset based upon regular expression (doesn't matter what algorithm you use) creates a rather large tree of possibilities that is largely impractical to sort, at least not without a lot of overhead. My compromise for the searches t

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 PROTECTED]

[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-Tribu

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

2001-01-11 Thread sean . upton
ry to bring up a non-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.5

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 their

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): """Process

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 yo

RE: [Zope] Re: Java vs Zope

2006-01-06 Thread sean . upton
hon debate is about dynamic strong typing versus static strong typing. Such debates have already been had, ad nauseum, elsewhere. This "interpreted" or "scripting versus programming" angle on a language flamewar is neither new, nor insightful. Sean +--