-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Malthe Borch wrote:
> 2009/7/2 Tim Hoffman <t...@zute.net>:
>> I think you woul lose that capability with just name based registrations.
> 
> Yes, but perhaps for the better; it was always problematic to use
> component adaptation to create specialized views based on the iro,
> because of the order of adaptation, e.g. with viewlets:
> 
>   context, request, view, manager
> 
> You will easily run into situations where you need to do a lot of
> seeming superflouous component registrations because you've
> specialized on ``context``, say.
> 
> I think there is a better scheme out there which does not rely in this
> way on multi-adaptation.

The fact that multi-adaptation can be hard doesn't mean it can't also be
useful:  I don't see *any* way to achieve Tim's goals without something
like an IRO.

Note that I *never* use viewlets, either:  I consider them fundamentally
misbegotten.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@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

iD8DBQFKTRSU+gerLs4ltQ4RAm5wAJ4qjmKzmcCD2DOGIgDfV4Yw9fyCGACfTaw4
7yb12Zvu6jb8NIsGAPITyjI=
=Bvry
-----END PGP SIGNATURE-----
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to