<?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 : Offline consideration and Sandbox editing mode ?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Offline consideration and Sandbox editing mode ?</description>
  <pubDate>Wed, 13 May 2026 19:41:00 -700</pubDate>
  <lastBuildDate>Mon, 10 Oct 2011 20:49:22 -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=2989</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>Offline consideration and Sandbox editing mode ? :   It&amp;#039;s possible to still...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2989&amp;PID=11803#11803</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> 2989<br /><strong>Posted:</strong> 10-Oct-2011 at 8:49pm<br /><br />It's possible to still have sandboxes. You'll have to treat the central offline cache as a pass-through cache. The individual sandboxes will delegate query and save operations to the central offline manager. The purpose of the offline manager is to be a mirror of your datasource. Everything that is queried from the datasource should be queried into the offline manager and then imported into the sandbox. Similar for the save, the&nbsp;offline manager&nbsp;should be implemented as a write-through cache.<div>&nbsp;</div><div>So, if the app is online, the offline manager keeps track of everything any of the sandboxes query, so that if suddenly you lose connection, the offline manager has a copy of everything that has been queried so far. New sandboxes that spin up simply query from the offline manager if they can't reach the server. </div><div>&nbsp;</div><div>For the save, if the app is online, the saves go directly through to the server. If the app is offline, the offline manager keeps the changed entities until it can sync&nbsp;them back to the server. </div><div>&nbsp;</div><div>It's quite a bit of work to get this all working and you'll have to implement logic to make sure all the caches stay coherent. When I implemented this, I basically created new query and save extension methods that&nbsp;encapsulated all this pass-through logic. &nbsp;</div>]]>
   </description>
   <pubDate>Mon, 10 Oct 2011 20:49:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2989&amp;PID=11803#11803</guid>
  </item> 
  <item>
   <title>Offline consideration and Sandbox editing mode ? : Hi,I read the recent posthttp:...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2989&amp;PID=11752#11752</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1061" rel="nofollow">nazbrok</a><br /><strong>Subject:</strong> 2989<br /><strong>Posted:</strong> 04-Oct-2011 at 4:18am<br /><br />Hi,<div><br></div><div>I read the recent post&nbsp;<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/offline-best-practices" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/offline-best-practices</a>&nbsp;and I wonder how is it possible follow these guide while using a sandbox for all the editing/creation ?</div><div><br></div><div>For the sandbox mode I have to create a New EntityManager which will apply the changes in base. If I need to have only one EntityManager while being Offline, how can I have a sandbox &nbsp;? Is is forbidden to use &nbsp;a Sandbox while being offline ? If not, could you explain me how to do it ?</div><div><br></div><div>regards,</div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 04 Oct 2011 04:18:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2989&amp;PID=11752#11752</guid>
  </item> 
 </channel>
</rss>