On Thu, 10 Apr 2008 11:50:35 -0400, Benji York wrote:
> Dieter Maurer wrote:
>> As the community (apparently) strongly favors "doctest" over
>> "unittest", I wrote my first test based on "zope.testing.doctest". And
>> promptly, I was badly surprised
>>
>> In order to analyse a difficult probl
Martijn Faassen wrote:
Andreas Jung wrote:
--On 10. April 2008 19:10:49 +0200 Brian Sutherland
<[EMAIL PROTECTED]> wrote:
Just adding my few requirements:
- Integration into the component architecture in such a way that I
can specify the db connection parameters in ZCML and that datab
On Fri, Apr 11, 2008 at 05:07:56AM +0200, Andreas Jung wrote:
> --On 10. April 2008 21:29:43 +0200 Brian Sutherland
> <[EMAIL PROTECTED]> wrote:
>> What defines if something is the instance configuration?
>>
>> Isn't ZCML just another format of configuration file? I agree it's evil
>> to hardcode
Summary of messages to the zope-tests list.
Period Thu Apr 10 11:00:00 2008 UTC to Fri Apr 11 11:00:00 2008 UTC.
There were 5 messages: 5 from Zope Tests.
Tests passed OK
---
Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Tests
Date: Thu Apr 10 20:57:43 EDT 2008
URL: http://m
--On 11. April 2008 10:09:16 +0200 Brian Sutherland
<[EMAIL PROTECTED]> wrote:
On Fri, Apr 11, 2008 at 05:07:56AM +0200, Andreas Jung wrote:
--On 10. April 2008 21:29:43 +0200 Brian Sutherland
<[EMAIL PROTECTED]> wrote:
What defines if something is the instance configuration?
Isn't ZCML j
--On 11. April 2008 08:36:43 +0100 Martin Aspeli <[EMAIL PROTECTED]> wrote:
Martijn Faassen wrote:
Andreas Jung wrote:
--On 10. April 2008 19:10:49 +0200 Brian Sutherland
<[EMAIL PROTECTED]> wrote:
Just adding my few requirements:
- Integration into the component architecture in such a
Andreas Jung zopyx.com> writes:
> > The way I use collective.lead in my book is to have it look up the
> > database settings in a local utility. That utility is editable via a
> > control panel page in Plone. I suspect that it'd be quite easy to do
> > something similar where the settings were de
Brian Sutherland wrote:
[snip]
Unfortunately, it doesn't seem an option, right now, to avoid using ZCML
to setup database connections. So I'm not sure how you want to implement
your ideas?
collective.lead can do it without ZCML; you set up the right connection
by implementing a 'url' property
Andreas Jung wrote:
[snip]
Possibly a sane and clean solution but way of over-designed. I am
interested in simple and robust solutions that work and not in a
solution that adds more and more unnecessary layers just the sake of
having them :-)
It's a 1 liner to set up the connection in this st
Brian Sutherland schreef:
Unfortunately, it doesn't seem an option, right now, to avoid using ZCML
to setup database connections. So I'm not sure how you want to implement
your ideas?
Something we did for an LDAP connection that needed the same kind of
server-dependent config: put an ldapconf
Wichert Akkerman schreef:
Previously Reinout van Rees wrote:
Tres Seaver schreef:
Daniel Nouri wrote:
1.0dev-r27844 seems to be gone from PyPI.
Such a version should *never* have been "released" to PyPI (any egg /
source dist with an SVN revision number in its filename is *not*
suitable for s
On 11.04.2008, at 10:09, Brian Sutherland wrote:
Unfortunately, it doesn't seem an option, right now, to avoid using
ZCML
to setup database connections. So I'm not sure how you want to
implement
your ideas?
+1
k, i didn't read the whole thread, but we (lovely systems) use
zope.storm but
Previously Reinout van Rees wrote:
> Wichert Akkerman schreef:
> >Previously Reinout van Rees wrote:
> >>Tres Seaver schreef:
> >>>Daniel Nouri wrote:
> 1.0dev-r27844 seems to be gone from PyPI.
> >>>Such a version should *never* have been "released" to PyPI (any egg /
> >>>source dist with an
Balazs Ree wrote at 2008-4-11 09:19 +0200:
> ...
>>> In order to analyse a difficult problem, I added "from dm.pdb import
>>> zpdb; zpdb.set_trace()" in the doctest ("dm.pdb.zpdb" is my Zope aware
>>> PDB extension)
>>
>> The standard PDB works fine. I'm sure you're extended version can be
>> twe
Bernd Dorn wrote:
[whether configuration should be in ZCML]
although it is a few lines of code to get db uris from somewhere else,
and this could also be application code.
I'm not against ZCML, as long as those lines of code to get the db URI
from application code also exist. A good API to con
On Friday 11 April 2008, Bernd Dorn wrote:
> although it is a few lines of code to get db uris from somewhere else,
> and this could also be application code
if you use paster, you can stick options into your pater ini script. We are
currently doing this for a setting in our app.
Regards,
Step
On Fri, Apr 11, 2008 at 01:21:45PM +0200, Andreas Jung wrote:
>> Unfortunately, it doesn't seem an option, right now, to avoid using ZCML
>> to setup database connections. So I'm not sure how you want to implement
>> your ideas?
>>
>
> I have no need for ideas to be implemented. We're using SA with
17 matches
Mail list logo