

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Plastic/Blog &#187; Framework</title>
	<atom:link href="http://blog.codiceplastico.com/index.php/tag/framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codiceplastico.com</link>
	<description>Code Elegance</description>
	<lastBuildDate>Sat, 28 Aug 2010 10:27:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Composite WPF first time</title>
		<link>http://blog.codiceplastico.com/index.php/2008/09/13/composite-wpf-first-time/</link>
		<comments>http://blog.codiceplastico.com/index.php/2008/09/13/composite-wpf-first-time/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 13:52:46 +0000</pubDate>
		<dc:creator>Emanuele DelBono</dc:creator>
				<category><![CDATA[Emanuele DelBono]]></category>
		<category><![CDATA[Composite WPF]]></category>
		<category><![CDATA[Framework]]></category>

		<guid isPermaLink="false">http://blog.codiceplastico.com/?p=148</guid>
		<description><![CDATA[I&#8217;ve just begin to develop a new application using the Composite WPF released by Microsoft this summer. The first impression is good, reading the documentation (well written) in a few hour you can understand and define the global structure of the project and you can begin to realize the MVP triplet to fill the regions. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just begin to develop a new application using the <a href="http://www.codeplex.com/CompositeWPF">Composite WPF</a> released by <a href="http://www.microsoft.com">Microsoft </a>this summer.</p>
<p>The first impression is good, reading the documentation (well written) in a few hour you can understand and define the global structure of the project and you can begin to realize the MVP triplet to fill the regions.</p>
<p>What does it offer?</p>
<p>Four things:<br />
- <strong><span style="color: #33cccc;">Modules</span></strong>: the WPF Composite application is divided in modules that you can statically or dynamically loading. Every modules has it&#8217;s own view and is does&#8217;t know the others.<br />
- <strong><span style="color: #33cccc;">Regions</span></strong>: the main window (shell) is subdivided in regions that will be filled by the views defined in the modules.<br />
- <strong><span style="color: #33cccc;">Commands</span></strong>: derived from the WPF Commands, Composite Commands add some functionality that permits the communication between Presenters/Views of different regions without build dependencies.<br />
- <strong><span style="color: #33cccc;">EventAggregators</span></strong>: where the commands are not enough and you need to communicate with other modules you can use Events to talk.<br />
- <strong><span style="color: #33cccc;">(Guidelines)</span></strong>: it&#8217;s not a documented feature but is bring from the framework itself. The application that you design is well organized and structured thanks to the composite WPF &#8220;constraints&#8221;.</p>
<p>A sad note. The Composite WPF is known as a &#8220;third-party-lib-independent&#8221; but removing the dependency from Unity was not simple. We removed it because we want some feature of Spring.NET Framework. IMHO the design here could be better: for example it is better if the UnityBootstrapper doesn&#8217;t have a direct reference to IUnityContainer but to a generic interface IContainer that would be implemented using the desired IoC Framework (Spring.NET, Castle, Unity, &#8230;).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codiceplastico.com/index.php/2008/09/13/composite-wpf-first-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
