<div dir="ltr">It is very good idea, and a nice way how to integrate with existing libraries.<div><br></div><div><div>It shields user from one round of conflict resolution handling.</div><div><br></div><div>I have created a small diagram to better understand that and it revealed one more fact:</div><div><br></div><div><a href="https://docs.google.com/drawings/d/1vIqYjfukHwb9HVuYAlf9eO5U_Eopgl9EOZyG22wEV2s/edit?usp=sharing">https://docs.google.com/drawings/d/1vIqYjfukHwb9HVuYAlf9eO5U_Eopgl9EOZyG22wEV2s/edit?usp=sharing</a></div><div><br></div></div><div>As seen on the diagram, user would still have to Merge on the programmatic layer, where we could offer a DiffMatchPatch alghoritm,</div><div>and/or integration with selected existing libraries (e.g. AngularJS ResoureProvider or Restangular or similar Ember approach).</div><div><br></div><div>I believe we don&#39;t have to handle &quot;I work for second and later requests&quot; problem you mentioned in the blog, since I assume ServiceWorker will react on the REST calls from the application once it is registered (not sure that&#39;s the case). That&#39;s with a question mark. :-)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 5, 2015 at 6:15 PM, Daniel Bevenius <span dir="ltr">&lt;<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">nice work!<br><br>mÃ¥ndag 5 januari 2015 skrev Lucas Holmquist &lt;<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>&gt;:<div class="HOEnZb"><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Here is my blog post on using Service Workers for Conflict Resolution<div><br></div><div><br></div><div><a href="http://blog.lholmquist.org/service-workers-can-settle-conflicts-too/" target="_blank">http://blog.lholmquist.org/service-workers-can-settle-conflicts-too/</a></div></div></blockquote>
</div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>