Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #34533 > unrolled thread

The Zen of Zope, by Alex Clark

Started byAlex Clark <aclark@aclark.net>
First post2012-12-09 20:13 -0500
Last post2012-12-11 20:42 -0500
Articles 7 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  The Zen of Zope, by Alex Clark Alex Clark <aclark@aclark.net> - 2012-12-09 20:13 -0500
    Re: The Zen of Zope, by Alex Clark Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-10 04:24 +0000
      Re: The Zen of Zope, by Alex Clark Alex Clark <aclark@aclark.net> - 2012-12-10 08:50 -0500
      Re: The Zen of Zope, by Alex Clark Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2012-12-12 10:01 +1300
        Re: The Zen of Zope, by Alex Clark Alex Clark <aclark@aclark.net> - 2012-12-11 16:23 -0500
          Re: The Zen of Zope, by Alex Clark alex23 <wuwei23@gmail.com> - 2012-12-11 16:36 -0800
            Re: The Zen of Zope, by Alex Clark Alex Clark <aclark@aclark.net> - 2012-12-11 20:42 -0500

#34533 — The Zen of Zope, by Alex Clark

FromAlex Clark <aclark@aclark.net>
Date2012-12-09 20:13 -0500
SubjectThe Zen of Zope, by Alex Clark
Message-ID<mailman.666.1355102038.29569.python-list@python.org>
>>> import other
The Zen of Zope, by Alex Clark


Beautiful is an attribute of ugly.
Explicit is implemented by implicit.
Simple is provided by complex.
Complex is directly provided by complicated.
Flat only implements nested.
Sparse has tagged value dense.
Readability count is not in range.
Special cases could not adapt the rules.
Practicality implements purity.
Errors should never require a specification that doesn’t extend the 
specification of silence.
Unless explicit is a multi-adapter.
In subscribing to ambiguity, return all the objects that refuse the 
temptation to guess.
There should be none-- and preferably only zero --output from a handler.
Although that way may not be obvious at first unless you've registered 
an adapter hook.
Now is verified by never.
Although never is not implemented by *right* now.
If the implementation is hard to explain, it queries the bad idea utility.
If the implementation is easy to explain, it may query the good idea utility.
Implicit namespace packages are one honking great idea -- let's do more 
of those!

-- 
Alex Clark · https://www.gittip.com/aclark4life/

[toc] | [next] | [standalone]


#34538

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2012-12-10 04:24 +0000
Message-ID<50c563e0$0$21722$c3e8da3$76491128@news.astraweb.com>
In reply to#34533
On Sun, 09 Dec 2012 20:13:43 -0500, Alex Clark wrote:

>>>> import other
> The Zen of Zope, by Alex Clark

I expect that I would find that hilarious if I knew anything about Zope :)


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#34546

FromAlex Clark <aclark@aclark.net>
Date2012-12-10 08:50 -0500
Message-ID<mailman.674.1355147458.29569.python-list@python.org>
In reply to#34538
On 2012-12-10 04:24:00 +0000, Steven D'Aprano said:

> On Sun, 09 Dec 2012 20:13:43 -0500, Alex Clark wrote:
> 
>>>>> import other
>> The Zen of Zope, by Alex Clark
> 
> I expect that I would find that hilarious if I knew anything about Zope :)


Well, you are in luck! Because it's a tutorial too: 
https://github.com/aclark4life/other/blob/master/other.py :-)



-- 
Alex Clark · https://www.gittip.com/aclark4life/

[toc] | [prev] | [next] | [standalone]


#34645

FromGregory Ewing <greg.ewing@canterbury.ac.nz>
Date2012-12-12 10:01 +1300
Message-ID<aipl8fF2grrU1@mid.individual.net>
In reply to#34538
Steven D'Aprano wrote:
> On Sun, 09 Dec 2012 20:13:43 -0500, Alex Clark wrote:
 >
>>The Zen of Zope, by Alex Clark
>
> I expect that I would find that hilarious if I knew anything about Zope :)

It's probably a good thing I don't know much about Zope,
because I'm already finding it hilarious. If I knew more,
the hilarity level might become physically dangerous.

-- 
Greg

[toc] | [prev] | [next] | [standalone]


#34648

FromAlex Clark <aclark@aclark.net>
Date2012-12-11 16:23 -0500
Message-ID<mailman.744.1355261016.29569.python-list@python.org>
In reply to#34645
On 2012-12-11 21:01:03 +0000, Gregory Ewing said:

> Steven D'Aprano wrote:
>> On Sun, 09 Dec 2012 20:13:43 -0500, Alex Clark wrote:
>  >
>>> The Zen of Zope, by Alex Clark
>> 
>> I expect that I would find that hilarious if I knew anything about Zope :)
> 
> It's probably a good thing I don't know much about Zope,
> because I'm already finding it hilarious. If I knew more,
> the hilarity level might become physically dangerous.


Well, the point is two-fold:


- Provide comic relief for those who have encountered unexpected 
complexity in Zope.
- Showcase Zope's strengths for those who may be unfamiliar with it.


TL;DR: Zope has a lot to offer, and there are times when you may need 
its libraries to perform complex tasks.



-- 
Alex Clark · https://www.gittip.com/aclark4life/

[toc] | [prev] | [next] | [standalone]


#34666

Fromalex23 <wuwei23@gmail.com>
Date2012-12-11 16:36 -0800
Message-ID<1f1ef8e3-5838-48cd-ad8e-8748a20e5e7a@q5g2000pbk.googlegroups.com>
In reply to#34648
On Dec 12, 7:23 am, Alex Clark <acl...@aclark.net> wrote:
> TL;DR: Zope has a lot to offer, and there are times when you may need
> its libraries to perform complex tasks.

I always avoided Zope as I kept hearing "there's the Python way and
then there's the Zope way", however, all that did is lead me to avoid
a framework representing almost 15 years worth of experience. Having
now been exposed to it through Plone, I'm finding a lot there to like,
like zope.interface.

[toc] | [prev] | [next] | [standalone]


#34671

FromAlex Clark <aclark@aclark.net>
Date2012-12-11 20:42 -0500
Message-ID<mailman.762.1355276560.29569.python-list@python.org>
In reply to#34666
On 2012-12-12 00:36:29 +0000, alex23 said:

> On Dec 12, 7:23 am, Alex Clark <acl...@aclark.net> wrote:
>> TL;DR: Zope has a lot to offer, and there are times when you may need
>> its libraries to perform complex tasks.
> 
> I always avoided Zope as I kept hearing "there's the Python way and
> then there's the Zope way", however, all that did is lead me to avoid
> a framework representing almost 15 years worth of experience. Having
> now been exposed to it through Plone, I'm finding a lot there to like,
> like zope.interface.


Indeed, and getting folks to discuss Zope (especially in a positive 
way) is part of my goal.


-- 
Alex Clark · https://www.gittip.com/aclark4life/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web