Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Even though they are two very different things, one can argue they <strong>both solve a software architecture problem</strong></p> <ul> <li><p>a design pattern solves many software architecture issues (about creation, behavior, concurrency, ...) with different pre-defined <em>design</em>. (design being an <a href="https://stackoverflow.com/questions/268497">implementation of an architecture topic</a>)</p></li> <li><p>a framework is based on the <a href="http://en.wikipedia.org/wiki/Hollywood_Principle" rel="nofollow noreferrer"><strong>Hollywood Principle</strong></a> ("Don't call us, we call you"), where you implement some high level requirements as specified, and leave the framework do the rest of the work, calling your implementations.</p></li> </ul> <p>A key difference is the <strong>scope cohesion</strong>:</p> <ul> <li><p><strong>design pattern have a</strong> <strong><em>tight</em></strong> <strong>scope</strong>:</p> <ul> <li>class design patterns (involves classes)</li> <li>business design patterns (involves business workflows)</li> <li>application design patterns (involves applications)</li> </ul></li> <li><p><strong>framework has a</strong> <strong><em>large</em></strong> <strong>scope</strong>:<br> For instance, <strong><a href="http://msdn.microsoft.com/en-us/netframework/default.aspx" rel="nofollow noreferrer">.NET is a framework</a></strong> composed of:</p> <ul> <li>a language (C#)</li> <li>a runtime environment (CLR)</li> <li>a collection of libraries<br> Just develop what you need and let the .Net framework call your classes.</li> </ul></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload