abstract solutions to concrete problems

OOI’m currently giving a class on WPF and I am in the midst of introducing some of the base concepts. This far, we’ve covered layout and styling as well as touching binding. Now, the time to introduce Model-View-ViewModel (MVVM) had come.

It was actually a quite uplifting experience, since I chose to take the approach to deviate from WPF for a few hours to introduce an entirely new concept, Design Patterns. I believe that this turned out to be as much a success as a challenge.

Albeit most of the time considered an anti pattern, I chose to start by introducing one of the simplest design patterns, Singleton.

Instead of getting into too much detail, this time I’ve chosen to let two of my students do the walking. Please have a look at what Daniel and Iris think about getting acquainted to design patterns in general and MVVM in particular.

I’m guessing we will see a few of the WPF design patterns explained and put to use in this section soon.

Filed in: OO basics Tags:

Comments (1) -

Iris Classon Iris Classon Sweden says:

Thank you for a very inspiring lecture on MVVM and for the introduction to Design Patterns- as well as the clean code reminder. I assume this wont be a walk in the park, but rather a challenging and very fun hike Smile

And, I am a lady after all- and there is no such thing as a bad pattern (or print) when it comes to a closet (or code),- only bad combinations and missuse. Singleton is to monotonous and constrictive for my taste, and I would only use it sparingly and combined with more creative patterns... But then again, it does come done to personal taste, and don't everybody think they have good taste in clothes? I sure do Laughing

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

© 2011 mfreidlitz | Running on BlogEngine.NET 2.5.0.6
Theme: ChannelPro 1.0 | Original wp theme by Theme Junkie ported by raisr