Zope Component Architecture (ZCA)

Pyramid and Grok/Zopache both depend on the Zope Component Architecture, but they handle it differently. ZCA is a rich meta-object infrastructre on top of the python language. It provides class meta informaiton, which is useful in many different ways. But it does add complexity to the system. Pyramid hides it under their own api. They just use it for selecting the correct view. Developers just get a simple python object model. They can choose from multiple form libraries.

In contrast Grok manages the ZCA using directives. Grok directives make the ZCA very easy to use. They look like python commands but are executed at load time, maybe not at run time. Grok uses the ZCA not only for selecting views, but also for creating, editing and displaying forms, based on the interface classes.




I invite you to Register and then link to your own blog postings and software packages..

Powered by Zopache, Grok, Zope and ZODB

Robots Crawl This