<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: M-V-VM</title>
	<atom:link href="http://karlshifflett.wordpress.com/mvvm/feed/" rel="self" type="application/rss+xml" />
	<link>http://karlshifflett.wordpress.com</link>
	<description>The Home of Mole and Karl&#039;s BLOG on WPF &#38; VB.NET.  (Karl speaks VB, learning C#)</description>
	<lastBuildDate>Fri, 18 Dec 2009 18:47:51 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MVVM Resources &#38; Useful Articles &#171; Mark Pearl&#39;s Developer Blog</title>
		<link>http://karlshifflett.wordpress.com/mvvm/#comment-1933</link>
		<dc:creator>MVVM Resources &#38; Useful Articles &#171; Mark Pearl&#39;s Developer Blog</dc:creator>
		<pubDate>Sat, 21 Nov 2009 09:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://karlshifflett.wordpress.com/mvvm/#comment-1933</guid>
		<description>[...] MVVM &#8211; Karl [...]</description>
		<content:encoded><![CDATA[<p>[...] MVVM &#8211; Karl [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ursri</title>
		<link>http://karlshifflett.wordpress.com/mvvm/#comment-1932</link>
		<dc:creator>ursri</dc:creator>
		<pubDate>Sat, 21 Nov 2009 09:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://karlshifflett.wordpress.com/mvvm/#comment-1932</guid>
		<description>Thanks again Karl.  Shall work ahead in dyn. form generator.

-ursri</description>
		<content:encoded><![CDATA[<p>Thanks again Karl.  Shall work ahead in dyn. form generator.</p>
<p>-ursri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Shifflett</title>
		<link>http://karlshifflett.wordpress.com/mvvm/#comment-1925</link>
		<dc:creator>Karl Shifflett</dc:creator>
		<pubDate>Fri, 20 Nov 2009 14:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://karlshifflett.wordpress.com/mvvm/#comment-1925</guid>
		<description>ursri,

If you need dynamic forms I would write a dynamic form generator.  Take a look at the Silverlight DataForm control.  This generates a form at runtime.

Dynamic form generators are not that hard to write.  They are typically created using some form of metadata.  The richer the metadata, the better the generated code will be.  

Example:

Property:  FirstName 
Tooltip:  ....
Max Length:  ...

How the form gets generated has nothing to do with how it is consumed ih the UI.  

Once you get your generator working, WPF is so cool that it makes databinding the generated form to a viewmodel an after thought (very easy to do).

Cheers,

Karl</description>
		<content:encoded><![CDATA[<p>ursri,</p>
<p>If you need dynamic forms I would write a dynamic form generator.  Take a look at the Silverlight DataForm control.  This generates a form at runtime.</p>
<p>Dynamic form generators are not that hard to write.  They are typically created using some form of metadata.  The richer the metadata, the better the generated code will be.  </p>
<p>Example:</p>
<p>Property:  FirstName<br />
Tooltip:  &#8230;.<br />
Max Length:  &#8230;</p>
<p>How the form gets generated has nothing to do with how it is consumed ih the UI.  </p>
<p>Once you get your generator working, WPF is so cool that it makes databinding the generated form to a viewmodel an after thought (very easy to do).</p>
<p>Cheers,</p>
<p>Karl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ursri</title>
		<link>http://karlshifflett.wordpress.com/mvvm/#comment-1922</link>
		<dc:creator>ursri</dc:creator>
		<pubDate>Fri, 20 Nov 2009 11:20:46 +0000</pubDate>
		<guid isPermaLink="false">http://karlshifflett.wordpress.com/mvvm/#comment-1922</guid>
		<description>Thanks Karl for the immediate reply.
Just got into MEF, yet to study further.

Lets consider First name(txt), last name(txt), status(combo box), address(txt) are the  controls in Candidate and Employee screens.  Would it be good idea to store  scree_name,screen_control,screen/control_displayname, and associated commands for both Candidate &amp; Emplyee in database and call a generic view-BasicInfoView.xaml for both requirements, dynamically assign displayname &amp; commands to controls?  Does MEF address in same line?

Regards
ursri</description>
		<content:encoded><![CDATA[<p>Thanks Karl for the immediate reply.<br />
Just got into MEF, yet to study further.</p>
<p>Lets consider First name(txt), last name(txt), status(combo box), address(txt) are the  controls in Candidate and Employee screens.  Would it be good idea to store  scree_name,screen_control,screen/control_displayname, and associated commands for both Candidate &amp; Emplyee in database and call a generic view-BasicInfoView.xaml for both requirements, dynamically assign displayname &amp; commands to controls?  Does MEF address in same line?</p>
<p>Regards<br />
ursri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Shifflett</title>
		<link>http://karlshifflett.wordpress.com/mvvm/#comment-1915</link>
		<dc:creator>Karl Shifflett</dc:creator>
		<pubDate>Thu, 19 Nov 2009 13:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://karlshifflett.wordpress.com/mvvm/#comment-1915</guid>
		<description>ursri,

Anything is possible.  You may want to look at MEF for run-time discovery and loading of assemblies.

The question is, &quot;is this necessary?&quot;  That usually depends on the application requirements.

This will make the application more complex unless the dynamic loading screens can work in isolation.

But this is possible and doable.

Cheers,

Karl</description>
		<content:encoded><![CDATA[<p>ursri,</p>
<p>Anything is possible.  You may want to look at MEF for run-time discovery and loading of assemblies.</p>
<p>The question is, &#8220;is this necessary?&#8221;  That usually depends on the application requirements.</p>
<p>This will make the application more complex unless the dynamic loading screens can work in isolation.</p>
<p>But this is possible and doable.</p>
<p>Cheers,</p>
<p>Karl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ursri</title>
		<link>http://karlshifflett.wordpress.com/mvvm/#comment-1914</link>
		<dc:creator>ursri</dc:creator>
		<pubDate>Thu, 19 Nov 2009 06:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://karlshifflett.wordpress.com/mvvm/#comment-1914</guid>
		<description>Dear Karl
 Idea would be to store Screen names, control names even commands for similar category in db.   Load this info into data, data access classes.  Going with M V VM dev model,  view model need not be aware of views,  would it be appropriate to dynamically load screens?   In such case how view model and views classes to be defined?
Pls suggest. 
Thanks in advance
ursri</description>
		<content:encoded><![CDATA[<p>Dear Karl<br />
 Idea would be to store Screen names, control names even commands for similar category in db.   Load this info into data, data access classes.  Going with M V VM dev model,  view model need not be aware of views,  would it be appropriate to dynamically load screens?   In such case how view model and views classes to be defined?<br />
Pls suggest.<br />
Thanks in advance<br />
ursri</p>
]]></content:encoded>
	</item>
</channel>
</rss>
