Library or own framework?

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

+6
c # frameworks wpf cinch
source share
3 answers

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

As soon as you see the β€œsticking” dots, different frameworks will start to make much more sense. Remember that the various frameworks for MVVMs are intended for helpers to relieve some pain points when working with MVVMs (such as handling dialogue / maintenance, messaging, etc.).

However, many of the frameworks (i.e. Cinch) really manage you, working in a certain way - which may or may not be ideal in your circumstances.

I personally do not use any framework. I will borrow ideas and inspiration from the framework, if necessary, but found that most frameworks try to do too much.

Speaking of this, as soon as you understand the various frameworks, they are very useful if the one you choose is consistent with your development goals. For example, MVVM Light provides a fantastic, thoughtful and proven messaging environment that greatly simplifies many complex tasks in MVVM, so this is a great way to get some functionality that is reliable enough.

+7
source share

Use the framework. Writing your own frameworks for a project, as a last resort, is not a good idea. For a hobby project, yes, why not create a framework. In your case, you can look here:

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

+3
source share

If you are allowed to use the Framework for the project and the build size, this is actually not so important, I almost always recommend going into the framework (academic projects are not included).

You will get what was (usually) thoroughly tested and documented, rather than experimenting and troubleshooting in your own manual version.

+2
source share

All Articles