[Zope3-dev] Re: capi vs zapi

Philipp von Weitershausen philipp at weitershausen.de
Sun Mar 6 10:13:34 EST 2005


Stephan Richter wrote:
> On Sunday 06 March 2005 07:53, Garrett Smith wrote:
> 
>>>Jim thinks so too, I disagree. I think it is a great symmetry in the
>>>code and wherever I use it in tests I do the import in the test, i.e.
>>>
>>>  >>> import zope.component as capi
>>
>>With this argument, I could see 'api' inflation occurring here over time
>>(e.g. dcapi, webapi, etc.) I'd rather see a single zapi that advertised
>>(most of) the core functionality for the typical Zope user.
> 
> 
> zapi is advertised to the typical Zope user. capi is only used in cases where 
> zapi is not available. If I just have zope.component installed, why not use 
> capi? Its short, so less to type.
> 
> Anyways, I am not going to argue about this naymore. If someone feels strongly 
> enough not to have it they can change the code.

Done (r29403).

Philipp


More information about the Zope3-dev mailing list