[nhusers] Re: Removal of Proxy Dependencies

2009-04-02 Thread Fabio Maulo
Hi Stefan,You are right, a blog post would be useful. 2009/4/2 Stefan Steinegger > > We are using Spring, DynamicProxy and Rhino Mocks (using Dynamic > Proxy). I have to admit that I still don't have any clue which proxy > system to choose. There are some problems with DP I could solve by > comp

[nhusers] Re: Removal of Proxy Dependencies

2009-04-02 Thread Dario Quintana
Right now, seems a matter of taste, or how easy/fast we can configurate our NH-app (the first link of this post point to this) But... looking to this... http://gustavoringel.blogspot.com/2009/03/unhaddins-sessionwrapper-and.html Seems like there is something else :-) On Thu, Apr 2, 2009 at 8:52 A

[nhusers] Re: Removal of Proxy Dependencies

2009-04-02 Thread Stefan Steinegger
We are using Spring, DynamicProxy and Rhino Mocks (using Dynamic Proxy). I have to admit that I still don't have any clue which proxy system to choose. There are some problems with DP I could solve by compiling Rhino. Switching to LinFu might be even easier. But what are the actual differences of

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Fabio Maulo
2009/4/2 Darius Damalakas > > So having an ability to change proxy generation strategy might help us > solve that. There is two possible ways (of which i am aware now): > 1. In one or another way force proxy generator to first save assembly > to disk, and then load it to memory. > 2. Pre-generate

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Darius Damalakas
We have an existing problem with our software: We use Boo extensively to run custom business rules. Everything works fine until Boo encounters lazy loaded object. Then if you try to create a variable in boo, for example myBooVaribleDepartmentLeader = myCompany.MyLazyLoadedDepartmentLeader; it f

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Fabio Maulo
You can look for forums of (in alphabetical order):Castle Project http://www.castleproject.org/ LinFu http://code.google.com/p/linfu/ Spring http://www.springframework.net/ Unity http://www.codeplex.com/unity 2009/4/1 Joshua > > I'm sorry if I came off like I was questioning anybody's individual

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Joshua
I'm sorry if I came off like I was questioning anybody's individual choice. I'm not. I'm trying to understand the ideas behind the choice so I can make the right choice. I'll return with further questions if I have any revelations. Perhaps nhusers isn't the correct forum for my questions. Cou

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Fabio Maulo
2009/4/1 Joshua > > Because you don't > have to keep track of where another assembly sits on your computer? > Unless how NH uses your dynamic proxy implementation affects how you > write your other code or how it runs, what does it matter what NH is > using under the hood? Joshua, Sidar prefe

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Joshua
I realize that part of my confusion is that I need more understanding of and experience with AOP. Perhaps I'll take your advice and just try some tinkering and come back with more educated questions. Thanks for all the help, btw. And sorry for my ignorance. On Apr 1, 4:31 pm, Fabio Maulo wrot

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Fabio Maulo
2009/4/1 Joshua > > What do you mean by saying that it is integrated with an AOP? Isn't > how NH uses a dynamic proxy under the hood completely independent of > however else you are using AOP in your projects? Try it by your self configuring some AOP for a class you are persisting with NH, the

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Fabio Maulo
2009/4/1 Joshua > > But why is not having to have Castle an advantage? Because you don't > have to keep track of where another assembly sits on your computer? If you are working with Castle IoC you should know why. A formal final release of Castle.DynamicProxy2 is available only since few days

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Joshua
What do you mean by saying that it is integrated with an AOP? Isn't how NH uses a dynamic proxy under the hood completely independent of however else you are using AOP in your projects? On Apr 1, 4:14 pm, Fabio Maulo wrote: > 2009/4/1 Joshua > > > > > I have too little understanding on the sub

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Joshua
But why is not having to have Castle an advantage? Because you don't have to keep track of where another assembly sits on your computer? Unless how NH uses your dynamic proxy implementation affects how you write your other code or how it runs, what does it matter what NH is using under the hood?

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Fabio Maulo
2009/4/1 Joshua > > I have too little understanding on the subject to suggest a specific > dynamic proxy system. Well... each one may have different performance, different features, and in general is integrated with an AOP. We have no reason to chose one specific DynamicProxy... well... there i

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Sidar Ok
One benefit is, for me from the real life, I use LinFu for all my other AOP, and I don't have to have Castle DP2 anymore. Linfu also claims to be more performant than DP ( http://www.codeproject.com/KB/cs/LinFuPart1.aspx ) . On Wed, Apr 1, 2009 at 11:46 PM, Joshua wrote: > > I have too little u

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Joshua
I have too little understanding on the subject to suggest a specific dynamic proxy system. On Apr 1, 3:42 pm, Fabio Maulo wrote: > 2009/4/1 jnoody > > > > > What are some of the major benefits, otherwise? > > To work with lazy-loading NH need, so far, a Dynamic-Proxy system.Do you > have some a

[nhusers] Re: Removal of Proxy Dependencies

2009-04-01 Thread Fabio Maulo
2009/4/1 jnoody > > What are some of the major benefits, otherwise? > To work with lazy-loading NH need, so far, a Dynamic-Proxy system.Do you have some advise about which one all users should use ? -- Fabio Maulo --~--~-~--~~~---~--~~ You received this message