<?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 : Where should EM become instantiated in SL?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Where should EM become instantiated in SL?</description>
  <pubDate>Sat, 11 Apr 2026 04:57:47 -700</pubDate>
  <lastBuildDate>Wed, 18 Nov 2009 07:16:26 -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=1354</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>Where should EM become instantiated in SL? : Sorrry for the delay, 64 bit and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5825#5825</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=496" rel="nofollow">zinovate</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 18-Nov-2009 at 7:16am<br /><br />Sorrry for the delay, 64 bit and all assets in the "Document' folder.<DIV>I was having other VS issues. </DIV><DIV>I reinstalled DevForce and the links are now correct. It must have been an upgrade anomoly.</DIV><DIV>&nbsp;</DIV><DIV>Ben</DIV>]]>
   </description>
   <pubDate>Wed, 18 Nov 2009 07:16:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5825#5825</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : Re the folder location -- did...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5772#5772</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 10-Nov-2009 at 9:31am<br /><br />Re the folder location -- did you have any other issues with your installation, such as the project templates not installed or installed to the wrong location?&nbsp; Are you running a 32-bit or 64-bit OS?&nbsp; ]]>
   </description>
   <pubDate>Tue, 10 Nov 2009 09:31:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5772#5772</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : Thanks Kim, I thought the learning...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5770#5770</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=496" rel="nofollow">zinovate</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 10-Nov-2009 at 8:33am<br /><br />Thanks Kim,<DIV>I thought the learning units were not included in the last realse. When I tried to access the Learning units from the start menu, it came back as a missing shortcut. </DIV><DIV>It is pointing at ""C:\MyTutorials\Learning Resources\LearningResources.htm"" instead of "C:\Users\Public\Documents\DevForce\Learning Resources\", just&nbsp; heads up.</DIV><DIV>I'm digging into the samples now.</DIV>]]>
   </description>
   <pubDate>Tue, 10 Nov 2009 08:33:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5770#5770</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : There&amp;#039;s a sample in the Learning...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5769#5769</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 10-Nov-2009 at 8:20am<br /><br />There's a sample in the Learning Resources in the 080_UserInterfaces\SilverlightApps\Samples folder called *PagedCollections which is an introduction to using the DevForce EntityQueryPagedCollectionView.]]>
   </description>
   <pubDate>Tue, 10 Nov 2009 08:20:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5769#5769</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : Kim,  Do you have an example...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5766#5766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=496" rel="nofollow">zinovate</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 09-Nov-2009 at 1:44pm<br /><br />Kim, <DIV>Do you have an example or documentation using the PagedCollectionView with Devforce for Silverlight?</DIV><DIV>&nbsp;</DIV><DIV>Ben</DIV>]]>
   </description>
   <pubDate>Mon, 09 Nov 2009 13:44:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=5766#5766</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : Think Kim for the info.   The...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4908#4908</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=425" rel="nofollow">BenHayat</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 06-Jul-2009 at 2:03pm<br /><br />Think Kim for the info. <br><br>The DataSource is a great tool for prototyping and showing a concept. Ithing between DS and SketchFlow, developers can come up with a full&#091;prototyped&#093; app very quickly!<br><br><table width="99%"><tr><td class="BBquote">but no one cares what I think :)).</td></tr></table><br>Well, this is one place that Iwill put my foot down and say "You'reWrong" :-). I've heard more good things about Kim, that I can count...<br><br><br>]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 14:03:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4908#4908</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? :  Originally posted by BenHayatThe...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4907#4907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 06-Jul-2009 at 1:51pm<br /><br /><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by BenHayat</strong></em><br /><br />The demos prompted me to post that question and wanted to get a clear line from you that, the demos aren't meant as P&amp;P.<BR></td></tr></table> <DIV>The learning units are usually intended to highlight a specific feature or solution to a problem, and are intentionally kept as simple as possible.&nbsp; As our product matures we'll provide more full-featured samples and tutorials (as we do in our other products today), but right now we don't want to make it a prerequisite that a developer understand a dozen different things before they can understand&nbsp;and use the learning unit, especially since Silverlight itself has a&nbsp;steep enough learning curve.</DIV>]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 13:51:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4907#4907</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : The DataSource does break the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4905#4905</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 06-Jul-2009 at 1:43pm<br /><br />The DataSource does break the recommended pattern, since it brings your data/persistence layer right into the UI (which is actually why I personally wouldn't use the DataSource in a real application, but no one cares what I think :)).&nbsp; Anyway, the DataSource will be available to let you do simple declarative binding where appropriate, and leverage the EntityManager.&nbsp; <DIV>&nbsp;</DIV><DIV>We are not actually supplying a DataPager control, since the one in SL3 is sufficient.&nbsp; What we will be providing is an implementation of IPagedCollectionView, which will allow you to use a DataPager and DataGrid with a DevForce EntityQuery and hide the mechanics of the underlying async queries.</DIV>]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 13:43:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4905#4905</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : Hi Kim; Thanks for the reply!   In...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4903#4903</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=425" rel="nofollow">BenHayat</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 06-Jul-2009 at 12:28pm<br /><br />Hi Kim; Thanks for the reply!<br><br><table width="99%"><tr><td class="BBquote">In most if not all of our learning units you'll see an EntityManagerinstantiated within a page, but that's really a "demo-ware" type ofapproach and not recommended in a real application.</td></tr></table><br>The demos prompted me to post that question and wanted to get a clear line from you that, the demos aren't meant as P&amp;P.<br><br><table width="99%"><tr><td class="BBquote">Using a "sandbox" approach like this is often useful for undoscenarios, where you want the ability to work in a separate area andcommit or rollback as needed.&nbsp; The checkpointing feature within theEntityManager can be useful in these cases too,&#093;/quote&#093;<br>This is an intresting thought!<br><br>&#091;Quote&#093;If you've found any patterns to be particularly effective withSilverlight applications (or Silverlight and DevForce), why not postthem here to share with the community.</td></tr></table><br>I haven't got there yet to establish a final pattern. At this point,there isn't a set way for a "Std" modularity in SL yet. Although thereis Prism and MVVM, but seems like everyone is preaching about their ownstyle.<br><br>That being said, how is this seperation of views and data binding isgoing to work with your upcoming DataSource and pager? The RIAObjectDataSource seems to be very closely binded to UI controls.Hopefully when you guys release the DataSource, you will also documenthow it could be used directly or indirectly with UI controls!<br>]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 12:28:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4903#4903</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : Sorry about that, Ben. Forum posts...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4902#4902</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 06-Jul-2009 at 11:56am<br /><br />Sorry about that, Ben.&nbsp; Forum posts occasionally go "missing" in our tracking system.<DIV>&nbsp;</DIV><DIV>We generally recommend using a Persistence layer in any non-trivial application.&nbsp; In most if not all of our learning units you'll see an EntityManager instantiated within a page, but that's really a "demo-ware" type of approach and not recommended in a real application.&nbsp;&nbsp; The Model Explorer and Prism Explorer samples both show a more robust application architecture and&nbsp;highlight techniques we recommend.</DIV><DIV>&nbsp;</DIV><DIV>That said, you can certainly create an EntityManager for (and within) each page if that's what you want to do.&nbsp; Using a "sandbox" approach like this is often useful for undo scenarios, where you want the ability to work in a separate area and commit or rollback as needed.&nbsp; The checkpointing feature within the EntityManager can be useful in these cases too, but the separate EM approach can be more robust and performant.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>If you've found any patterns to be particularly effective with Silverlight applications (or Silverlight and DevForce), why not post them here to share with the community.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 11:56:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4902#4902</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : It&amp;#039;s been one week I&amp;#039;ve...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4901#4901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=425" rel="nofollow">BenHayat</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 06-Jul-2009 at 9:41am<br /><br />It's been one week I've posted a simple question and no answer yet.]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 09:41:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4901#4901</guid>
  </item> 
  <item>
   <title>Where should EM become instantiated in SL? : Let&amp;#039;s say, you&amp;#039;re going...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4874#4874</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=425" rel="nofollow">BenHayat</a><br /><strong>Subject:</strong> 1354<br /><strong>Posted:</strong> 29-Jun-2009 at 5:58pm<br /><br />Let's say, you're going to have a business application that uses one central EntityManager on the SL client side. Where is the proper place to create that EM? In App.CS or The MainPage.CS? What's the guideline that the EM can then be used throughout?<br />Or Should each page create a new instance and then let the GC removes it when the page is no longer is service?<br /><br />Thanks!]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 17:58:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1354&amp;PID=4874#4874</guid>
  </item> 
 </channel>
</rss>