pages and components can be decorated using mixins! g, kris
Ognen Ivanovski <[EMAIL PROTECTED]> Gesendet von: news <[EMAIL PROTECTED]> 31.10.2007 12:39 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An users@tapestry.apache.org Kopie Thema Re: Mixing T5 and Guice --- best practices Jan Vissers wrote: > Please, please don't 'shoot' me - but if this is the case what would be > a reason for me to use T5 IoC, other that for injecting stuff into page > classes? I think the T5 IoC is great, fast, simple and covers 80% of the things you need an IoC container for. Plug, allows you to override a great many parts of tapestry which, to me, is a great value. Contributions, I wont even mention (myself a long time RCP developer, I consider them a must). Furthermore, if you need a more powerful container (like spring or something) you can always plug it in via an ObjectProvider. The only things that might be missed at the moment is: a) You can't use decorators on pages and components (you could us the request processing chain of command, but that might not be so expressive) b) decoration of multiple services might not be as expressive as one would like it to be if one would like use declarative transaction management. Work is being done here (http://tapestry.apache.org/tapestry5/tapestry-ioc/decorator.html see Targetting multiple services). -- Ognen Ivanovski | [EMAIL PROTECTED] phone +389 -2- 30 64 532 | fax +389 -2- 30 79 495 Netcetera | 1000 Skopje | Macedonia | http://netcetera.com.mk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]