<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Apache My Faces Trinidad: dynamically refreshing Non Trinidad components in a Partial Page Refresh (&quot;AJAX&quot;)</title>
	<atom:link href="http://technology.amis.nl/2007/06/17/apache-my-faces-trinidad-dynamically-refreshing-non-trinidad-components-in-a-partial-page-refresh-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2007/06/17/apache-my-faces-trinidad-dynamically-refreshing-non-trinidad-components-in-a-partial-page-refresh-ajax/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=apache-my-faces-trinidad-dynamically-refreshing-non-trinidad-components-in-a-partial-page-refresh-ajax</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Adam Winer</title>
		<link>http://technology.amis.nl/2007/06/17/apache-my-faces-trinidad-dynamically-refreshing-non-trinidad-components-in-a-partial-page-refresh-ajax/#comment-4682</link>
		<dc:creator>Adam Winer</dc:creator>
		<pubDate>Sun, 12 Aug 2007 22:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2077#comment-4682</guid>
		<description><![CDATA[I&#039;m seeing this a couple months after it was published, but the primary benefits of switching to XMLHttpRequest from iframes are:

1. Better error handling (IFrames do a very poor job of letting you know when a request fails)
2. Far better (and simpler) handling of Javascript embedded in PPR requests
3. Finally, a public API for submitting PPR requests
4. A statusIndicator component for showing busy state
5. Much better opportunities for JS plug points (the statusIndicator uses one of these)
6. Simpler (and therefore more robust) code overall
7. Proper queueing of requests (instead of a fairly ad-hoc solution before)

It probably is a bit lighterweight, but that wasn&#039;t the main goal, and I haven&#039;t attempted to measure this.  In fact, we do actually still use iframes when PPR needs to include a file upload (XMLHttp does not support file upload payloads), but it switches transparently.

All this is available in Trinidad 1.0.2, which will be released shortly, but has been available as nightly bulds for awhile.

I&#039;ve also finally gotten off my rear and written documentation for Trinidad PPR:  see http://myfaces.apache.org/trinidad/devguide/ppr.html]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m seeing this a couple months after it was published, but the primary benefits of switching to XMLHttpRequest from iframes are:</p>
<p>1. Better error handling (IFrames do a very poor job of letting you know when a request fails)<br />
2. Far better (and simpler) handling of Javascript embedded in PPR requests<br />
3. Finally, a public API for submitting PPR requests<br />
4. A statusIndicator component for showing busy state<br />
5. Much better opportunities for JS plug points (the statusIndicator uses one of these)<br />
6. Simpler (and therefore more robust) code overall<br />
7. Proper queueing of requests (instead of a fairly ad-hoc solution before)</p>
<p>It probably is a bit lighterweight, but that wasn&#8217;t the main goal, and I haven&#8217;t attempted to measure this.  In fact, we do actually still use iframes when PPR needs to include a file upload (XMLHttp does not support file upload payloads), but it switches transparently.</p>
<p>All this is available in Trinidad 1.0.2, which will be released shortly, but has been available as nightly bulds for awhile.</p>
<p>I&#8217;ve also finally gotten off my rear and written documentation for Trinidad PPR:  see <a href="http://myfaces.apache.org/trinidad/devguide/ppr.html" rel="nofollow">http://myfaces.apache.org/trinidad/devguide/ppr.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Jellema</title>
		<link>http://technology.amis.nl/2007/06/17/apache-my-faces-trinidad-dynamically-refreshing-non-trinidad-components-in-a-partial-page-refresh-ajax/#comment-4681</link>
		<dc:creator>Lucas Jellema</dc:creator>
		<pubDate>Mon, 18 Jun 2007 13:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2077#comment-4681</guid>
		<description><![CDATA[Seb, You are right and an XmlHttpRequest Object based implementation can hopefully be made leaner and little bit more intelligent as to what to render to the browser in a PPR request - not the whole page  but just the updated component (&#039;s attribute values) ideally. Lucas]]></description>
		<content:encoded><![CDATA[<p>Seb, You are right and an XmlHttpRequest Object based implementation can hopefully be made leaner and little bit more intelligent as to what to render to the browser in a PPR request &#8211; not the whole page  but just the updated component (&#8216;s attribute values) ideally. Lucas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sebnoumea</title>
		<link>http://technology.amis.nl/2007/06/17/apache-my-faces-trinidad-dynamically-refreshing-non-trinidad-components-in-a-partial-page-refresh-ajax/#comment-4680</link>
		<dc:creator>sebnoumea</dc:creator>
		<pubDate>Mon, 18 Jun 2007 12:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2077#comment-4680</guid>
		<description><![CDATA[Hi,

Indeed, interesting things to know about PPR becoming XmlHttpRequest...

Ric, is there any plan for integrating XmlHttpRequest in ADF Faces before the release of the rich components that come with JDeveloper 11g ?

Lucas, one thing I think is really different is the fact that AJAX with XmlHttpRequest can be true asynchronous. It seems that the current implementation of PPR in ADF Faces leads to some weird behaviors ... Am I wrong ?
Apart this detail, I agree with you, I am happy the way PPR works right now.

Seb.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Indeed, interesting things to know about PPR becoming XmlHttpRequest&#8230;</p>
<p>Ric, is there any plan for integrating XmlHttpRequest in ADF Faces before the release of the rich components that come with JDeveloper 11g ?</p>
<p>Lucas, one thing I think is really different is the fact that AJAX with XmlHttpRequest can be true asynchronous. It seems that the current implementation of PPR in ADF Faces leads to some weird behaviors &#8230; Am I wrong ?<br />
Apart this detail, I agree with you, I am happy the way PPR works right now.</p>
<p>Seb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Jellema</title>
		<link>http://technology.amis.nl/2007/06/17/apache-my-faces-trinidad-dynamically-refreshing-non-trinidad-components-in-a-partial-page-refresh-ajax/#comment-4679</link>
		<dc:creator>Lucas Jellema</dc:creator>
		<pubDate>Sun, 17 Jun 2007 19:17:13 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2077#comment-4679</guid>
		<description><![CDATA[Ric,&lt;br /&gt;

Thanks for your reaction. Interesting to see that development., When will it be available in the regular Trinidad builds?&lt;br /&gt;

One remark though: why do you only consider frameworks using the XmlHtppRequest Object to be &quot;true AJAX&#039;? As far as I am concerned what matters most is the effect we achieve: interactive, responsive, appealing, productive applications. And Asynchronous communication between client and server is an important means to that end. And the XmlHtppRequest object is just one way to achieve that asynchronous background communication, just as the IFRAME is a mechanism. I have never considered PPR in either ADF Faces (or UIX) or Trinidad to be inferior to other AJAX solutions because of the fact that it does not use the XmlHttpRequest object.&lt;br /&gt;
&lt;br /&gt;
If this new implementation is more light weight (faster, less network or server load) or easier to use (don&#039;t think that will be the case though) I am happy. If it is the same with a different underlying implementation, I am not so much thrilled. I have never really understood the &quot;true or proper AJAX&quot;  discussion. &lt;br /&gt;
Lucas]]></description>
		<content:encoded><![CDATA[<p>Ric,</p>
<p>Thanks for your reaction. Interesting to see that development., When will it be available in the regular Trinidad builds?</p>
<p>One remark though: why do you only consider frameworks using the XmlHtppRequest Object to be &#8220;true AJAX&#8217;? As far as I am concerned what matters most is the effect we achieve: interactive, responsive, appealing, productive applications. And Asynchronous communication between client and server is an important means to that end. And the XmlHtppRequest object is just one way to achieve that asynchronous background communication, just as the IFRAME is a mechanism. I have never considered PPR in either ADF Faces (or UIX) or Trinidad to be inferior to other AJAX solutions because of the fact that it does not use the XmlHttpRequest object.</p>
<p>If this new implementation is more light weight (faster, less network or server load) or easier to use (don&#8217;t think that will be the case though) I am happy. If it is the same with a different underlying implementation, I am not so much thrilled. I have never really understood the &#8220;true or proper AJAX&#8221;  discussion. <br />
Lucas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ric Smith</title>
		<link>http://technology.amis.nl/2007/06/17/apache-my-faces-trinidad-dynamically-refreshing-non-trinidad-components-in-a-partial-page-refresh-ajax/#comment-4678</link>
		<dc:creator>Ric Smith</dc:creator>
		<pubDate>Sun, 17 Jun 2007 17:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2077#comment-4678</guid>
		<description><![CDATA[Lucas,

The architecture you describe is no longer invalid with the next release of Trinidad. Adam Winer just put the final changes intro Trinidad that removes the iFrame dependency from all components except for file upload.  Trinidad now relies on the XmlHttpRequest object. Thus, Trinidad is now a true Ajax framework.

Regards,
Ric Smith
Principal Product Manager
Oracle JDeveloper &amp; ADF]]></description>
		<content:encoded><![CDATA[<p>Lucas,</p>
<p>The architecture you describe is no longer invalid with the next release of Trinidad. Adam Winer just put the final changes intro Trinidad that removes the iFrame dependency from all components except for file upload.  Trinidad now relies on the XmlHttpRequest object. Thus, Trinidad is now a true Ajax framework.</p>
<p>Regards,<br />
Ric Smith<br />
Principal Product Manager<br />
Oracle JDeveloper &amp; ADF</p>
]]></content:encoded>
	</item>
</channel>
</rss>
