<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: GWT: improving performance</title>
	<link>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/</link>
	<description>Enterra Inc technical blog</description>
	<pubDate>Fri, 21 Nov 2008 08:26:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: Rudolf Michael</title>
		<link>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-249</link>
		<author>Rudolf Michael</author>
		<pubDate>Wed, 13 Feb 2008 11:05:08 +0000</pubDate>
		<guid>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-249</guid>
					<description>Hello,
Intresting article...
We're also moving to GWT and i have been working over it since 3 months now. I totaly agree with you on the HTML segment part, we have already figured out that doing the design using pure html and css is much much faster then using the GWT Panels components. what we are doing right now is retrieving the HTML page using an HTTP Request, then every Class/HTML Page will update its HTML code by creating and setting the widgets. we have used HTMLPanel to load the html pages and then use panel.add(Widget, htmlID) to add the widgets, everytime the page has finished loading its widgets. we're adding it to the RootPanel, our RootPanel consits of one static html page where it contains html ID. the problem is that i still have some performance issues specially if a registration page has like 80 widgets to set where every widget has an http call to get its data from the server. so i will try to use DOM.setInnerHTML instead of RootPanel().get("HTMLID").add(htmlPanel); do you know which one is faster to execute?</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Intresting article&#8230;<br />
We&#8217;re also moving to GWT and i have been working over it since 3 months now. I totaly agree with you on the HTML segment part, we have already figured out that doing the design using pure html and css is much much faster then using the GWT Panels components. what we are doing right now is retrieving the HTML page using an HTTP Request, then every Class/HTML Page will update its HTML code by creating and setting the widgets. we have used HTMLPanel to load the html pages and then use panel.add(Widget, htmlID) to add the widgets, everytime the page has finished loading its widgets. we&#8217;re adding it to the RootPanel, our RootPanel consits of one static html page where it contains html ID. the problem is that i still have some performance issues specially if a registration page has like 80 widgets to set where every widget has an http call to get its data from the server. so i will try to use DOM.setInnerHTML instead of RootPanel().get(&#8221;HTMLID&#8221;).add(htmlPanel); do you know which one is faster to execute?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ed</title>
		<link>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-288</link>
		<author>Ed</author>
		<pubDate>Mon, 18 Feb 2008 09:26:07 +0000</pubDate>
		<guid>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-288</guid>
					<description>Hi Renat,

I was looking a bit more at your code, and I think I could be a bit more optimized by optimizing the method DOM.getElementById() usage....  
Now this method will search the whole dom tree. It's better to search the tree from the parent down, which is know by forehand... (I noticed this in other gwt related projects ;) )...</description>
		<content:encoded><![CDATA[<p>Hi Renat,</p>
<p>I was looking a bit more at your code, and I think I could be a bit more optimized by optimizing the method DOM.getElementById() usage&#8230;.<br />
Now this method will search the whole dom tree. It&#8217;s better to search the tree from the parent down, which is know by forehand&#8230; (I noticed this in other gwt related projects <img src='http://techzone.enterra-inc.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Rajesh Venkatesan</title>
		<link>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-299</link>
		<author>Rajesh Venkatesan</author>
		<pubDate>Tue, 19 Feb 2008 06:55:24 +0000</pubDate>
		<guid>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-299</guid>
					<description>Hi,

Seems like an interesting option. But GWT has explicitly stated that use of inner html is a potential cause of XSS atacks. Any thoughts on that?

http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications


Rajesh V</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Seems like an interesting option. But GWT has explicitly stated that use of inner html is a potential cause of XSS atacks. Any thoughts on that?</p>
<p><a href="http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications" rel="nofollow">http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications</a></p>
<p>Rajesh V</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Renat Akhmerov</title>
		<link>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-300</link>
		<author>Renat Akhmerov</author>
		<pubDate>Tue, 19 Feb 2008 08:16:08 +0000</pubDate>
		<guid>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-300</guid>
					<description>Hi, Ed

Thank you for your note, looks like it makes a lot of sense to do your way :)</description>
		<content:encoded><![CDATA[<p>Hi, Ed</p>
<p>Thank you for your note, looks like it makes a lot of sense to do your way <img src='http://techzone.enterra-inc.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Alexey Harlamov</title>
		<link>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-301</link>
		<author>Alexey Harlamov</author>
		<pubDate>Tue, 19 Feb 2008 08:24:58 +0000</pubDate>
		<guid>http://techzone.enterra-inc.com/gwt/gwt-improving-performance/#comment-301</guid>
					<description>Rajesh,

Yes you are right. This can be a possible security hole. That is why we are keen to see innerHtml rendering support from GWT compiler. When the code generation will be done by an automatically generated code, probability of XSS hole will be subtile.</description>
		<content:encoded><![CDATA[<p>Rajesh,</p>
<p>Yes you are right. This can be a possible security hole. That is why we are keen to see innerHtml rendering support from GWT compiler. When the code generation will be done by an automatically generated code, probability of XSS hole will be subtile.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
