0

I am fairly new to Windsor, and completely new to Binsor, and Boo. However, I am not new to IoC containers.

I have already done several non-trivial things with Windsor. It has all been done in C#, and the XML configuration file syntax is totally foreign to me.

I just recently moved over to a project using Binsor and Boo. I'm having a hard time seeing any additional benefit from using Binsor over the C# APIs provided by Windsor. Does Binsor offer other capabilities that the Windsor C# API does not? Or, is it just so you can configure Windsor using Boo because you like to use Boo?

Charles Lambert
  • 5,042
  • 26
  • 47

1 Answers1

1

Some info on Binsor's advantages, particularly in comparison to XML:

Maybe DSL is taking it a bit too much, though. It is a single class that has some fancy sticks in it, and a lot of Boo magic

Looking at the age of those posts, Binsor doesn't seem to be the newest project on the block. I assume that some of the techniques in Binsor (if introduced there) have since been applied to the Windsor Fluent Registration API as well:

http://docs.castleproject.org/Default.aspx?Page=Fluent-Registration-API&NS=Windsor

I would assume by default that since Boo is a less popular language that the Binsor API is less frequently updated.

I suggest checking into whether Binsor is still updated. If it isn't, I'd ditch it in favor of the general .Net API. If it is still updated, I'd take a good look at both options. Binsor has a potential to have better Boo support, since the Fluent Registration API was designed with C# as the top priority.

Disclaimer: I am not directly involved with the Castle.Windsor or Binsor projects, and I have only skimmed the Boo documentation a few times out of curiosity. Most of this info I've gathered from some minor Windsor experience (with the Fluent Registration API) and from Google - I'm making a lot of assumptions.

Merlyn Morgan-Graham
  • 58,163
  • 16
  • 128
  • 183
  • 1
    I practically live on that blog these days. We not only use windsor and binsor, but rhino mocks, rhino service bus, and several of the other castle projects. The lack of documentation on those items is overwhelming. – Charles Lambert Dec 04 '11 at 05:22
  • Binsor was created long before the current Windsor API. AFAIK it's no longer maintained. – Mauricio Scheffer Dec 04 '11 at 15:39
  • @CharlesLambert : Binsor, Rhino Mocks, Rhino Service bus are **not** Castle projects. – Mauricio Scheffer Dec 04 '11 at 15:40
  • @MauricioScheffer - I know, we are using *the other castle projects* in addition to those(e.g. Binder). Ayende blogs about all of that stuff. – Charles Lambert Dec 04 '11 at 19:34