Introducing NHibernate ProxyGenerators

NPG is dead.  Long live NHPG.  In an attempt to not duplicate information, I’m going to put most of the technical details on NHForge.  I will highlight here the improvements that have been made to NHPG since its original inception.

  • Renamed NPG.exe to NHPG.exe (Duh)
  • Improved error handling and informative error messages
  • You can now provide several mapping assemblies at once
  • Removed dependency on ActiveRecord.  Don’t cry though, you can still use it on AR assemblies.
  • Now with more cowbell
  • I was given the directive to support multiple proxy generation frameworks and while the design is there, you can currently get your proxies in any color, as long as it’s black.  (By color I mean framework and by black I mean DynamicProxy2)
  • Improved unit test coverage.  (By improved I mean there was none and now there is some)
  • Improved runtime logging (See previous bullet)
  • The code now looks like a slightly more intelligent monkey wrote it
  • Intermediate files are now cleaned up properly
  • Proxy assembly version is now synchronized with mapping assembly version
  • Working example now distributed with source

Where you can help.

  • Additional proxy generation implementations
  • The generation is dog slow
  • The need for intermediate files mentioned above could probably be avoided by someone who knows what they’re doing

Enjoy, and please proxy responsibly.

posted @ Monday, September 22, 2008 11:06 PM


Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 7 and 5 and type the answer here:
 

Live Comment Preview:

 
«January»
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567