Design Decision: Using CAB

11 ביוני 2008

תגיות: ,
4 תגובות

I have a customer that wants to built a client application, the application should support composition, add-ins type development (each developer or team to concentrate on their area of expertise), smart parts UI controls and several other typical client requirements.


Being Microsoft oriented person, I considered using the CAB (composite application block). I had to make a design decision whether I will go that road or not.


CAB


Aa480450_pponline(en-us,MSDN_10)


The Composite UI Application Block facilitates the design and implementation of your client applications in three areas:


  • It allows your application to be based on the concept of modules or plug-ins.
  • It allows developers with shell expertise to build components that hide user interface complexity from the business logic development.
  • It facilitates development using patterns for loose coupling between modules.

Sounds good! Right?


Facts



  • Neither  the developers know or used CAB.

  • Developers are 6/10 knowledge in .NET 3.5 and 7-8/10 in .NET 2.0

  • Time limit for infrastructures: 14 days!!!

  • My Team was not yet assembled and only few of the developers were available.

Process


So, Microsoft recommends that before deciding to use CAB, we first must analyze whether this application block if it is suitable for your particular needs. To evaluate this application block and determine its applicability to your projects, it is suggested that you dedicate at least half of a day to explore the application block. The following is a suggested evaluation approach:



  1. Download the code and documentation in the language of your preference.
  2. Install the Composite UI Application Block and compile it.
  3. Read the "Introduction" and "Scenarios and Goals" sections of the documentation.
  4. Compile and run the QuickStart samples.
  5. Start with the "Walkthrough – Designing and Building a CAB Application" QuickStart and read the related documentation.
  6. If the application block looks like a good fit for your application, and for an in-depth, quick immersion on the code, follow the instructions on the Hands-on-Lab training content.

Making a decision


It took me one day to achieve all that and make it "work". The impression I got was that this is a great tool and can suite my needs functionality speaking. However before making the decision I need to understand whether this works for me budget wise. Remembering the time limit and the dev team, I seek for an advise on the overhead in time limit to for training and infrastructure development. The result was that it should take around 7 days for my developers to "Get Started" and have a good knowledge in CAB not to mentioned the fact that not all my team was assembled yet. Considering this I stood at a dilemma. From one had functionality speaking I wanted to use CAB, but on the other hand project wise, I had no time to spare for training my team.


Result


For this customer under the facts I have mentioned, we have decided not choosing CAB.


QA


If there are any thoughts on the issue and the selection, I would love to hear them.

kick it on DotNetKicks.com

הוסף תגובה
facebook linkedin twitter email

כתיבת תגובה

האימייל לא יוצג באתר. (*) שדות חובה מסומנים

4 תגובות

  1. Ariel Ben Horesh11 ביוני 2008 ב 22:44

    I think you made the right decision.
    CAB has some tough learning curve to go through.
    Keep it simple, I think in the end it would be worth while…
    ofcourse this you already know, but I will say it anyway You can always implement MVC/MVP patterns.

    להגיב
  2. kolbis12 ביוני 2008 ב 7:35

    Thanks for the response…I believe you are right :)

    להגיב
  3. Tamir Khason12 ביוני 2008 ב 8:49

    Oh, yeah. Welcome to the club

    להגיב
  4. kolbis12 ביוני 2008 ב 20:14

    Tamir, what would you do?

    להגיב