>
>
> Pyramid's use of a ZCA registry is still an internal implementation
> detail, and as such isn't really intentionally exposed to the outside
> world.  It won't make much sense for the docs to explain how Pyramid
> works in terms of ZCA vocabulary such as "adaptation", or even link
> heavily to things that explain what adaptation, etc is.  Instead,
> explanations of framework hooks and such should just tell them which
> Configurator methods to call, just as the docs do now.  Theoretically,
> Pyramid may disuse the ZCA in a future major release (although it's
> highly unlikely).
>
> ZCML is purely an add-on package via pyramid_zcml, with its own docs.
> The core Pyramid docs will not cover it, although they might mention it
> in passing.
>
>
Now Chris is the BDFL, but I disagree. It is an internal implementation
detail, but it is *also* an opportunity for developers to use a very
powerful system with very little extra effort, because the registry is
already there and populated and usable. I, for one, would be very very
disappointed if Pyramid eventually ditched using the ZCA under the hood.
It's there, it solves certain classes of hard problems very elegantly. It
makes writing extendable applications very easy. I don't see the point in
pretending it isn't there. I get that it is being downplayed, I get there
is a 'zope stigma' to get over. But honestly, an awful lot of people coming
to Pyramid now don't realize that there is this fantastic system under the
hood. This was much less the case with the early BFG docs and
implementation, and that's what drew me to BFG in many ways. I refuse to
believe that I'm not indicative of some class of developer. Maybe a
minority, but we're there.

At the end of the day, right now pyramid classes-as-views are ZCA
multi-adapters of context and request.  This IS useful to know. And it's
very useful to know you can register them with interfaces.  The fact that
we can use a separate inheritance hierarchy for classes and interfaces is
really handy for us. It's great that you don't *need* to know it, but it's
still damn useful to understand and opens up a lot of architectural
possibilities. So I realize my voice has very little influence here, but
please register it as dissent that the ZCA element of Pyramid should be
totally hidden.

thanks
iain

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to