Library or own Framework?

When should you use a library or a framework vs your own implementation. For example. MVVM, should I use Cinch/MVVM Framework or roll my own code?

-------------Problems Reply------------

With MVVM and WPF, personally, I would recommend starting without a framework.

Once you see the "sticking" points, the different frameworks will start to make a lot more sense. Remember, the various frameworks for MVVM are meant to be "helpers" to ease some of the pain points when dealing with MVVM (such as dialog/service handling, messaging, etc).

That being said, many of the frameworks (ie: Cinch) really steer you into working a specific way - which may or may not be ideal given your circumstances.

I personally don't use a single framework. I'll borrow ideas and inspiration from a framework if required, but have found that most of the frameworks try to do too much.

That being said, once you understand the different frameworks, they are very useful, provided the one you choose fits with your development goals. For example, MVVM Light provides a fantastic, well thought out and tested messaging framework that dramatically simplifies many difficult tasks in MVVM, so it's a great way to get some functionality in place which is quite robust.

Use a framework. Writing your own framework on for a project, that has a deadline is not a very good idea in most cases. For a hobby project, yeah why not make a framework. In your case you can look here:

http://stackoverflow.com/questions/1280462/what-mvvm-framework-are-you-using

If you're allowed to use a Framework for the project and assembly size really isn't that important, I'd almost always recommend going with the framework (academic projects not included).

You'll get something that has been (usually) thoroughly tested and documented rather than experimenting and troubleshooting your own hand rolled version.

Category:c# Views:0 Time:2010-04-08

Related post

  • What is the difference between a class library and a framework 2009-04-07

    I hear the whole day the terms class library, base class library, Framework, ... What highlights a framework and what a base class library? --------------Solutions------------- The distinguishing feature between a class library and a software framewo

  • Difference between a module, library and a framework 2010-11-04

    In popular programming speak, what is the difference between these terms and what are the overlaps? Any related terms I'm missing out? --------------Solutions------------- All three of those provide functionality. However, there are important differe

  • Command /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp failed with exit code 1 2011-04-26

    While building the application on XCode, i get compilation error Command /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp failed with exit code 1 Any help in resolving the issue would help. Thanks, Subrat --------------Solu

  • Error when load library of zend framework 2012-02-20

    I using library of Zend Framework and code php (no using struct zend, only use library of zend framework), when I load library of zend is error: Fatal error: require_once() [function.require]: Failed opening required 'Zend/Search/Lucene/Storage/File/

  • Why don't iOS framework dependencies need to be explicitly linked to a static library project or framework project when they do for an app project? 2012-04-30

    Why exactly is it that when I create an iOS static library project or framework project in Xcode, I don't need to link any iOS SDK frameworks to the project in order to make use of their headers and objects -- for example, I can #import <AudioTool

  • BCL (Base Class Library) vs FCL (Framework Class Library) 2009-04-30

    What's the difference between the two? Can we use them interchangeably? --------------Solutions------------- The Base Class Library (BCL) is literally that, the base. It contains basic, fundamental types like System.String and System.DateTime. The Fr

  • Asynchronous Compression Library for Compact Framework 2009-09-11

    I'm looking for Asynchronous Compression and Decompression Streaming. By asynchronous I mean it supports BeginRead, EndRead, BeginWrite, and EndWrite. The only library that I've found that claims to is the native .NET classes. (I haven't tried them o

  • Using the Validation Block of Enterprise Library with Entity Framework 2009-12-17

    We've used the Validation Block of MS Enterprise Library for some time with great success in conjunction with custom DALs but we've recently started using the Entity Framework and can't get the Validation Block to work with it. The objects are dynami

  • Using the GData .NET Client Library with .NET-Framework Version 4 2010-09-06

    I'm trying to include the YouTube Search in one of my .NET applications with framework Version 4.0. Unfortunately, the GData .NET Library currently only supports .NET 2.0. Is it possible to get around this limitation, possibly by writing something li

  • how to determine dependent library in zend framework? 2011-01-09

    I completed my very first project in zend framework!! Thanks to stackoverflow community!! While uploading files, i didn't know how to include zend library so i uploaded the whole library in the /library folder of my project base. Is there a way to de

  • Suggestion of a library or a framework? 2011-01-10

    i am planning to do a vehicle traffic simulation as my under grad project. my plan is to simulate the movement of vehicles in a area. before starting any coding i would like to know of any java 2d libraries or frameworks (Eg:- game libraries) i can u

  • Compile C library as iPhone framework? 2011-03-17

    Each C/C++ library has some amount of headers that should be used with that library. And if you're use more than 1-2 libraries, custom header paths is kind of headache. So I thought: is there a way to compile C libraries as frameworks. Static library

  • how to create a "STATIC LIBRARY" or a framework out of my source code 2011-10-13

    i have developed a complete project for iPad and now i want the same source code to be used in my clients project but i dont want to share my source code with them. I found out that we can create some static libraries in order to accomplish this task

  • Save video to iPhone library using AVfoundation framework 2011-12-06

    I am using AVfoundation framework to get video camera frames at real time and then modifying those frames using one algorithm(which gives new modified image). now I want all modified frames to be save as a video to iPhone library. I found a way to sa

  • Autoload custom library in Zend Framework 2.0 2011-12-19

    I need to use autoloading for my custom classes in Zend Framework 2.0. My custom library located in /vendor/Garvey/library/Garvey. I have a simple extended AbstractTable class in /vendor/Garvey/library/Garvey/Db/Table/AbstractTable.php: <?php name

  • Using separate library within play framework 2012-03-07

    I tried using the lift-json library to convert XML to JSON in the following way: http://mkaz.com/solog/scala/how-to-convert-xml-to-json.html in my controller.scala file. I then get the error: The file /app/controllers.scala could not be compiled. Err

  • STL library vs JCF framework 2012-03-21

    Why is the STL considered a library, but the JCF a framework? What exactly is it in their respective designs that causes/justifies this distinction? Can you give a code example that illustrates this? --------------Solutions------------- Definition by

  • importing astyanax library in play framework 2013-06-14

    I have a problem in including external jar files to play framework. I'm trying to include Astyanax to play framework. There are multiple jar files in astyanax after running ./gradlew build I made a /lib folder in the project folder. Which jar files s

  • How to use "Pex and Moles" library with Entity Framework? 2010-09-21

    This is a tough one because not too many people use Pex & Moles or so I think (even though Pex is a really great product - much better than any other unit testing tool) I have a Data project that has a very simple model with just one entity (DBIt

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.075 (s). 11 q(s)