<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Using IWorkspace on a large project.</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Using IWorkspace on a large project.</description>
  <pubDate>Wed, 15 Apr 2026 00:19:32 -700</pubDate>
  <lastBuildDate>Fri, 16 Mar 2012 15:27:43 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3342</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Using IWorkspace on a large project. : I do something similar to what...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13014#13014</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 3342<br /><strong>Posted:</strong> 16-Mar-2012 at 3:27pm<br /><br />I do something similar to what Marcel says. I have a "Workspace Controller" for my applications, the workspace controller controls my icons and is then responsible for initializing the search/edit screens when needed]]>
   </description>
   <pubDate>Fri, 16 Mar 2012 15:27:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13014#13014</guid>
  </item> 
  <item>
   <title>Using IWorkspace on a large project. :   MEF metadata as suggested...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13008#13008</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3342<br /><strong>Posted:</strong> 16-Mar-2012 at 2:00pm<br /><br />MEF metadata as suggested is one way. Nothing gets instantiated to read the metadata. Another option is you can have small starter objects that represent each module and lazy instantiate the actual ViewModel behind them.&nbsp;They would&nbsp;get the corrsponding ViewModel injected as a Lazy&lt;T&gt;, which won't instantiate the ViewModel until you access the Value property.]]>
   </description>
   <pubDate>Fri, 16 Mar 2012 14:00:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13008#13008</guid>
  </item> 
  <item>
   <title>Using IWorkspace on a large project. : We are also trying to be very...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13007#13007</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1009" rel="nofollow">JohnBloom</a><br /><strong>Subject:</strong> 3342<br /><strong>Posted:</strong> 16-Mar-2012 at 1:50pm<br /><br /><p>We are also trying to be very modular. We allow extra xaps to be downloaded based on the contract with the customer or different kinds of custom changes that they request. It seems like we would be setting ourselves up for failure if one of those "extra" modules had a bug in the constructor of the&nbsp;viewmodel so it wouldn't let us run the entire program. </p><p>It seems like the bug should only be an issue once you click on that item. That way if it was just some&nbsp;little test feature we were sending out to a customer it wouldn't bring down the whole system.</p><div>With the way the system is now any viewmodel that throws an exception in the constructor will shut down the system.</div><div>&nbsp;</div><div>We install our software on a server on our customers site so this is not just SAS with one site to worry about.&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 16 Mar 2012 13:50:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13007#13007</guid>
  </item> 
  <item>
   <title>Using IWorkspace on a large project. : As long as you are using a Start...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13005#13005</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 3342<br /><strong>Posted:</strong> 16-Mar-2012 at 1:18pm<br /><br />As long as you are using a Start method or some other method of initializing only when clicked, the memory usage should be very minimal. If your constructor is simply setting properties you should be ok.<br><br>Otherwise, one option is to use MEF metadata. You can find a good article detailing how to implement metadata here:<br><br>http://codebetter.com/glennblock/2009/12/05/building-hello-mef-part-ii-metadata-and-why-being-lazy-is-a-good-thing/<br>]]>
   </description>
   <pubDate>Fri, 16 Mar 2012 13:18:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13005#13005</guid>
  </item> 
  <item>
   <title>Using IWorkspace on a large project. :   We are looking through Cocktail...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13004#13004</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1009" rel="nofollow">JohnBloom</a><br /><strong>Subject:</strong> 3342<br /><strong>Posted:</strong> 16-Mar-2012 at 12:31pm<br /><br /><div>We are looking through Cocktail and trying to see what it will take to move to it. Here is something we had a question about.</div><p>Importing all of the IWorkspace viewmodels on a small project and putting them in a menu has low overhead. What do you do when there is a potential for&nbsp;lots of menu items in a&nbsp;large project. We want our startup time to be as quick as possible and it seems like overkill to create the memory for the all the viewmodels just for the metadata like title and sequence. We are looking for maybe a smaller, light way of displaying a menu of items 90% of which will harldy ever be clicked. </p><p>Do you agree that creating tons of viewmodels might be an issue? What would you recommend we do to avoid creating every IWorkspace viewmodel in our app when our program loads?</p>]]>
   </description>
   <pubDate>Fri, 16 Mar 2012 12:31:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3342&amp;PID=13004#13004</guid>
  </item> 
 </channel>
</rss>