(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

A Communication System for XAML Applications

(0 votes)
0 comments   /   posted by Silverlight Show on Aug 31, 2012
Tags:   wpf , silverlight , paul-sheriff

Read original post at Paul Sheriff's Blog

In any application, you want to keep the coupling between any two or more objects as loose as possible. Coupling happens when one class contains a property that is used in another class, or uses another class in one of its methods. If you have this situation, then this is called strong or tight coupling. One popular design pattern to help with keeping objects loosely coupled is called the Mediator design pattern. The basics of this pattern are very simple; avoid one object directly talking to another object, and instead use another class to mediate between the two. As with most of my blog posts, the purpose is to introduce you to a simple approach to using a message broker, not all of the fine details.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter