<?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>thinking in geek &#187; WPF</title>
	<atom:link href="http://joshrobb.com/blog/category/wpf/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshrobb.com/blog</link>
	<description>tagline's are so web2.0</description>
	<lastBuildDate>Fri, 11 Mar 2011 07:17:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>WPF Dependency Properties as Acquisition</title>
		<link>http://joshrobb.com/blog/2007/05/08/wpf-dependency-properties-as-acquisition/</link>
		<comments>http://joshrobb.com/blog/2007/05/08/wpf-dependency-properties-as-acquisition/#comments</comments>
		<pubDate>Tue, 08 May 2007 10:24:11 +0000</pubDate>
		<dc:creator>josh</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://joshrobb.com/blog/2007/05/08/wpf-dependency-properties-as-acquisition/</guid>
		<description><![CDATA[I read a sample chapter from Adam Nathan&#8216;s WPF book &#8211; Windows Presentation Foundation Unleashed &#8211; a few weeks ago. (This book has been getting some mad props from around the net recently). The chapter covers the new concepts in WPF which is super because if you can understand the important ideas (what Ayende calls [...]]]></description>
			<content:encoded><![CDATA[<p>I read a <a href="http://www.sneath.org/tim/wpf_nathan.pdf">sample chapter</a> from <a href="http://blogs.msdn.com/adam_nathan/">Adam Nathan</a>&#8216;s WPF book &#8211; <a href="http://www.amazon.com/Windows-Presentation-Foundation-Unleashed-WPF/dp/0672328917/">Windows Presentation Foundation Unleashed</a> &#8211; a few weeks ago. (This book has been getting some <a href="http://blogs.msdn.com/adam_nathan/archive/2007/04/30/petzold-vs-nathan.aspx">mad props</a> from around the net recently).</p>
<p>The chapter covers the new concepts in WPF which is super because if you can understand the important ideas (<a href="http://www.ayende.com/Blog/archive/2007/03/06/How-are-you-keeping-up-with-this-deluge-of-technology.aspx">what Ayende calls the model</a>) which a technology is built on then you can ignore the details until you need them. </p>
<p><em>Quick sample chapter review:</em> I&#8217;ve not spent any time at all with WPF and thought I should at least take a little peak under the kimono. In this one chapter &#8211; I feel that I got enough background to understand the high level architecture of WPF/XAML. Strongly recommended. </p>
<p>In the discussion of Dependency Properties &#8211; I was struck by their similarity to what&#8217;s known in computer science as <a href="http://www.ccs.neu.edu/home/lorenz/papers/oopsla96/">environmental acquisition</a>. This is the concept that objects inherit attributes based not on their type hierarchy but on their containment hierarchy. </p>
<p>I&#8217;m curious about why Microsoft decided to overload the (already massively overloaded) word &#8220;Dependency&#8221; rather than using an already common term which describes exactly what is going on. It&#8217;s kind of like adding a BinaryTree implementation to System.Collections and calling it FastSet. </p>
<p>Personally &#8211; I think that AcquisitionProperty or AcquiredProperty is much clearer &#8211; even if you don&#8217;t know what acquisition is &#8211; once you do &#8211; you have a clear term to describe exactly what&#8217;s going on. I realise that Dependancy Properties provide more than just Acquisition &#8211; but really &#8211; &#8220;Dependancy&#8221;? </p>
<p>I first came across the concept of Aquisition when I was working with Zope back in 2001. <a href="http://www.zope.org/Members/jim/">Jim Fulton</a> did a presentation at the Python conference that year called <a href="http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra/index.html">Acquisition Algebra</a> which contained some of the background to the concept. <a href="http://blog.jonudell.net/">John Udell</a> also wrote a <a href="http://207.22.26.166/bytecols/2001-06-13.html">great article</a> on this powerful feature. </p>
]]></content:encoded>
			<wfw:commentRss>http://joshrobb.com/blog/2007/05/08/wpf-dependency-properties-as-acquisition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

