Paul, If you haven't already, spend some time with Fowler's patterns for Internal DSL's at http://martinfowler.com/dslwip/. He has quite a bit of writing that deals with this very subject. What we want to do is have a separate "Semantic Model" that models the mapping, and just make the FI part write and configure the mapping model. I definitely agree that things like auto mapping and conventions will work much more smoothly with this approach as opposed to writing to the Xml. I am dubious about the HBM class structure though. I think NHibernate itself needs a new Semantic Model.
At some point I think Fluent NHibernate needs to completely break away from generating the XML altogether and use different mechanisms. Regards, Jeremy D. Miller The Shade Tree Developer [EMAIL PROTECTED] ________________________________ From: Paul Batum <[EMAIL PROTECTED]> To: fluent-nhibernate@googlegroups.com Sent: Tuesday, December 9, 2008 1:03:25 AM Subject: [fluent-nhib] My attempt to rewrite fluent nhibernate Today I checked in my current progress on a fluent nhibernate rewrite. I wrote a blog post with more information: http://www.paulbatum.com/2008/12/fluent-nhibernate-rewrite.html You can view the commit log here: http://code.google.com/p/fluent-nhibernate/source/detail?r=143 The branch is here: http://fluent-nhibernate.googlecode.com/svn/branches/pb-rewrite This shouldn't mean much for Fluent NHibernate users at the moment, as it is nowhere near being as functional as the trunk. However I would really like some feedback from the Fluent NHibernate devs. Does it look like it is worth pursuing further? Can you imagine us switching to it eventually? Did I miss Chad's point completely and am doing it all wrong? Comments and criticisms all welcome. Thanks, Paul Batum --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---