Structural patterns are really important in big applications. They decide how the code is organized and give developers recipes on how to interact with each part of the application.
For a long time, the most well-known implementation of many structural patterns in the Python world provided the Zope project with its Zope Component Architecture (ZCA). It implements most of the patterns described in this section and provides a rich set of tools to work with them. The ZCA is intended to run not only in the Zope framework, but also in other frameworks such as Twisted. It provides an implementation of interfaces and adapters among other things. Unfortunately (or not), Zope lost almost all of its momentum and is not as popular as it used to be. But its ZCA may still be a good reference on implementing structural patterns in Python. Baiju Muthukadan wrote a Comprehensive...