[Zope-dev] who wants to maintain Zope 3?
Tres Seaver
tseaver at palladion.com
Sat Apr 11 13:55:56 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Roger Ineichen wrote:
>> If nobody is interested, we should perhaps stop talking about
>> it entirely. If people are just interested in the ZMI,
>> perhaps we should form a ZMI project.
>
> The question is, can we find browser page pattern which Grok,
> Plone, repoze and others can use?
I'm not sure what you mean by "browser page pattern." BFG uses a ZCML
directive which looks a bit like the classic Z3 one:
<bfg:view
for=".models.MyModel"
view=".views.my_model_view"
name="some_name.html"
permission="view"
/>
or the equivalent decorator:
@bfg_view(name='some_name.html', for_=MyModel
permission='view')
def my_model_view(context, request):
return render_template_to_response('templates/my_view.pt')
It avoids the "catll the factory, the call the result" dance of classic
Z3 views, as well as the need to dummy up a view class behind the
scenes. I don't think there is much in common here at the
implementation level (although the ZCML spelling is fairly close).
> Everybody needs to have at least management views for manage the
> components they install in some ways.
The "Python web frameworks" (Pylons, TurboGears, BFG) don't configure
their applications "inside" a container supplied by the appserver: they
wire them in via an external configuration mechanism (e.g., a Paste INI
file, or a script called at startup).
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJ4Nms+gerLs4ltQ4RAssVAKCYocUk/s+Kkvi4w9Lmw5OQDBADKwCgyuUJ
cWjourA6u+3DsAS287zngK4=
=aARY
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list