Hi Krzysztof, actually I know that page, but I cannot find proper samples of MVP on Windows form using Windsor. I tried to apply the "RuleTheCastle" quickstart and several samples, but my application fails when I need to instantiate the couple presenter-view. I add to Windsor the "presenter" classes and the "view" classes, using the add from assembly feature, but it seems that presenters cannot recognize theyr linked form.
Most samples I find have a form with a presenter and and interface between them, on my application I have instead an interface implemented in the form and a different one implemented in presenters. I cannot understand if this structure is compatible with Windsor since I have 1 more interface that most samples found on the documentation. So I would like to avoid architectural mistakes and start with a proper idea about how to perform this upgrade. Please note that my version of picocontainer contains an explicit reference to Castle so I suppose it was somewhat hacked from a pure standard conteiner to let it work on MVP. Anyway thanks for your kind reply. Regards Luca On 30 Gen, 15:56, Krzysztof Koźmic <[email protected]> wrote: > Luca, > > have you looked at Windsor's documentation page? > > It is discussing patterns and scenarios in many detauls so it should > answer most of your > questions.http://stw.castleproject.org/Windsor.MainPage.ashx > > cheers, > Krzysztof > > On 31/01/2011 12:52 AM, luca101010 wrote: > > > > > > > > > Hello, > > > I am working on the upgrade of a big applition (windows forms) > > from .Net 1.1 to 4. > > > I have managed to upgrade most of the code, correcting the most > > obvious errors, I have upgraded both castle and Hibernate to the > > latest versions and I am now working on containers. > > > The app uses a MVP archietecture, and nano / pico containers to hold > > the classes in order to tie presenters and forms. > > > I would like to get rid of them, moving to Castle Windsor, but I do > > not find information about if it can be done and what might be the > > risks. > > > Can you help me in understanding best practices, tricks and > > suggestions to perform this upgrade? > > The biggest problems I am having are about remapping the "setup" calls > > of containers to proper Windsor calls. > > > Thanks in advance for your kind help. > > > Luca -- You received this message because you are subscribed to the Google Groups "Castle Project Users" 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-users?hl=en.
