<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://stlab.adobe.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stlab.adobe.com/wiki/index.php?title=Datapumps&amp;feed=atom&amp;action=history</id>
		<title>Datapumps - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://stlab.adobe.com/wiki/index.php?title=Datapumps&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://stlab.adobe.com/wiki/index.php?title=Datapumps&amp;action=history"/>
		<updated>2013-05-25T12:34:40Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://stlab.adobe.com/wiki/index.php?title=Datapumps&amp;diff=1697&amp;oldid=prev</id>
		<title>RalphThomas: Initial revision, will add more examples soon.</title>
		<link rel="alternate" type="text/html" href="http://stlab.adobe.com/wiki/index.php?title=Datapumps&amp;diff=1697&amp;oldid=prev"/>
				<updated>2006-10-09T15:08:52Z</updated>
		
		<summary type="html">&lt;p&gt;Initial revision, will add more examples soon.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Datapumps ==&lt;br /&gt;
&lt;br /&gt;
A datapump is an object that you can bind a view to (like you bind a view to a cell in a sheet). A datapump may be a source of data (e.g.: reading a preference in from the registry, or reading a file in from disk) or it may operate on data as a function (e.g.: transforming a floating point number into a string taking the current locale into account, or performing a string substitution).&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
If we made a &amp;quot;preference&amp;quot; datapump then we could directly bind UI widgets to system preferences:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
checkbox( bind: preference( &amp;quot;com.apple.dock.launchanim&amp;quot; ), on_value: 1, off_value: 0, name: &amp;quot;Show bouncing icons in the Mac OS Dock&amp;quot; );&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The checkbox would also update if the preference was changed by another application (and the platform's preference API supported monitoring). You could also put the name of the preference in the sheet (rather than passing it directly into the &amp;quot;preference&amp;quot; datapump), if you wanted the same checkbox to refer to different preferences.&lt;/div&gt;</summary>
		<author><name>RalphThomas</name></author>	</entry>

	</feed>