The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

RobertoI (29) [Avatar] Offline
#1
Hi Matt,

Just wondering whether it is worth mentioning explicitly the fact that runtime weaving is very suitable to designs based on the use of a IoC tool. In understand that you make the opposite argument as a benefit of compile-time weaving (not having to use a IoC tool), but I guess weather something is a benefit or disadvantage it depends on the specific solution...

Roberto
matthew.groves (46) [Avatar] Offline
#2
Re: Comment on paragraph 7.4.1. Pros of runtime
Robert,

I think you're right that it depends on the specific solution. I think the entire unit testing chapter is something of a "pro" for runtime weaving tools in general, and this is largely due to the necessity of using an IoC tool to accomplish weaving, and the loose(r) coupling it provides when compared to a compile-time weaving tool.

-Matt