<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why does Share use javascript callbacks? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249478#M202608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I spoke to the training team about this question and I think it's worded correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had initially worried that the question was quite literally "Why does Share use javascript callbacks?" but in fact it talks about asynchronous HTTP requests being consumed by JavaScript in the form of callback functions. Jan is correct that this will actually *increase* the number of round-trip requests, but *does* make the initial page view render quicker. Data is populated from repo queries&amp;nbsp; (in most cases) and rendered in-page, ensuring the user is not blocked from other UI interactions in the meantime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe it's the "better user experience" angle that the question is aiming at.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2012 09:34:07 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2012-03-29T09:34:07Z</dc:date>
    <item>
      <title>Why does Share use javascript callbacks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249473#M202603</link>
      <description>It was one of the questions in Alfresco certification exam and I have no idea why.I thought that it decreases the loading time of a web page.Is this correct?</description>
      <pubDate>Tue, 27 Mar 2012 12:16:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249473#M202603</guid>
      <dc:creator>matjazmuhic</dc:creator>
      <dc:date>2012-03-27T12:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Share use javascript callbacks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249474#M202604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you remember the exact question? Seems a little odd…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 13:16:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249474#M202604</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2012-03-27T13:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Share use javascript callbacks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249475#M202605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't remember the exact question. But I think it was almost exactly like:"Why does Alfresco Share use callbacks?". Something very similar to that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I remember the possible answers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- To decrease loading time of a web page&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- To decrease number of round trips to a server&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 07:51:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249475#M202605</guid>
      <dc:creator>matjazmuhic</dc:creator>
      <dc:date>2012-03-28T07:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Share use javascript callbacks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249476#M202606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks - I'll try to clarify later this week when I can talk to the training team.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 08:59:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249476#M202606</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2012-03-28T08:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Share use javascript callbacks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249477#M202607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yub, I was wondering about this question, too &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a question of definitions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- round trip: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - a) = full page reload?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - b) = a HTTP round trip?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ajax &amp;amp; callbacks should reduce the amount of a) but may increase the amount of b) (but smaller &amp;amp; faster requests…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- web page loading time:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - a) whole page rendering is completed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - b) basic page rendering is completed &amp;amp; some parts may be still missing..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 10:20:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249477#M202607</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2012-03-28T10:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Share use javascript callbacks?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249478#M202608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I spoke to the training team about this question and I think it's worded correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had initially worried that the question was quite literally "Why does Share use javascript callbacks?" but in fact it talks about asynchronous HTTP requests being consumed by JavaScript in the form of callback functions. Jan is correct that this will actually *increase* the number of round-trip requests, but *does* make the initial page view render quicker. Data is populated from repo queries&amp;nbsp; (in most cases) and rendered in-page, ensuring the user is not blocked from other UI interactions in the meantime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe it's the "better user experience" angle that the question is aiming at.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 09:34:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-does-share-use-javascript-callbacks/m-p/249478#M202608</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2012-03-29T09:34:07Z</dc:date>
    </item>
  </channel>
</rss>

