I'd start by writing a test of how it would be used. Make it compile and fail, see what's missing where, then start fine-grained testing and implementation.
-- Mauricio On Sun, Nov 21, 2010 at 3:10 AM, Maximilian Raditya <[email protected]>wrote: > Hi everybody, > > I've recently proposed a suggestion to add OpenStatelessSession in > ISessionManager of NHibernate Facility ( > http://issues.castleproject.org/issue/FACILITIES-142). Henry said patchs > are always welcome, so I decide to try it myself. > > I've downloaded the source code (by cloning it; I'm new to Git). I'm new to > the source code and I'm trying to understand it. Based on my understanding, > it seems a lot of work need to be done to add IStatelessSession support. > > For starting point, I've added OpenStatelessSession() in ISessionManager > and DefaultSessionManager (just the signature, not the implementation yet). > And then I wonder what the next step should be. > > In OpenSession() implementation, I found SessionDelegate and ISessionStore. > My questions for now: > > - it seems I should create StatelessSessionDelegate, right? > - should I create a separate IStatelessSessionStore interface or add > FindCompatibleStatelessSession in ISessionStore? > > Here the link to my Git commit: > https://github.com/mahara/Castle.Facilities.NHibernateIntegration/commit/3cd576a8fb06705440ea85729c1bf34952da6668. > It's just the initial signature, not the implemetation yet. > > I hope someone willing to help me on doing this. > > Thanks. > > > > > -- > Regards, > > Maximilian Haru Raditya > > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]<castle-project-devel%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
