<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DClick Team Weblog [en]</title>
	<atom:link href="http://blog.dclick.com.br/feed/en/" rel="self" type="application/rss+xml" />
	<link>http://blog.dclick.com.br</link>
	<description>DClick Team Weblog</description>
	<lastBuildDate>Thu, 26 Aug 2010 14:17:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Logic Operator &#124;&#124;= in AS3</title>
		<link>http://blog.dclick.com.br/2009/08/28/logic-operator-in-as3/en/</link>
		<comments>http://blog.dclick.com.br/2009/08/28/logic-operator-in-as3/en/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 18:33:59 +0000</pubDate>
		<dc:creator>Bruno Sales</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Otimização]]></category>
		<category><![CDATA[Programação]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=2077</guid>
		<description><![CDATA[Twitter! Well, few people knows about the logic operator "&#124;&#124;=". I'll try to explain a little more about it.
In the adobe documentation, this operator is described like: "Assigns expression1 the value of expression1 &#124;&#124; expression2". Just to remember, the sintaxe to logic operator is "expression1 operator expression2".
I'll show some examples of how it works.

Exemple1:
PLAIN TEXT
ACTIONSCRIPT:




var [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Logic%20Operator%20%7C%7C%3D%20in%20AS3%22%20http%3A%2F%2Ftinyurl.com%2Fyhrq2m5" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>Well, few people knows about the logic operator "||=". I'll try to explain a little more about it.</p>
<p>In the adobe documentation, this operator is described like: "Assigns expression1 the value of expression1 || expression2". Just to remember, the sintaxe to logic operator is "<strong>expression1 operator expression2</strong>".</p>
<p>I'll show some examples of how it works.<br />
<span id="more-2077"></span></p>
<p>Exemple1:</p>
<div class="igBar"><span id="lactionscript-4"><a href="#" onclick="javascript:showPlainTxt('actionscript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
<div id="actionscript-4">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">array</span>:<span style="color: #0066CC;">Array</span>; <span style="color: #808080; font-style: italic;">// Variable arr is null.</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">array</span> ||= <span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"Bruno Sales"</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">// In case array is null, assign the value [&quot;Bruno Sales&quot;]</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">array</span>.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">// Result: New value assigned, trace prints &quot;Bruno Sales&quot; </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Exemple2:</p>
<div class="igBar"><span id="lactionscript-5"><a href="#" onclick="javascript:showPlainTxt('actionscript-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
<div id="actionscript-5">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">array</span>:<span style="color: #0066CC;">Array</span> = <span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"DClick"</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">// Variable arr has the value [&quot;DClick&quot;].</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">array</span> ||= <span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"Bruno Sales"</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">// In case array is null, assign the value [&quot;Bruno Sales&quot;]</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">array</span>.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">// Result: No value assigned, trace prints &quot;DClick&quot; </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Soon, looking the difference of this 2 exemples, we conclued that the logic operator "||=" makes the same thing of the code below, but in a better way.</p>
<div class="igBar"><span id="lactionscript-6"><a href="#" onclick="javascript:showPlainTxt('actionscript-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
<div id="actionscript-6">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">array</span>:<span style="color: #0066CC;">Array</span> = <span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"DClick"</span><span style="color: #66cc66;">&#93;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">array</span> == <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">array</span> = <span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">"Bruno Sales"</span><span style="color: #66cc66;">&#93;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>I hope you all liked it. <img src='http://blog.dclick.com.br/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2009/08/28/logic-operator-in-as3/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Variable Scope in ActionScrip 3</title>
		<link>http://blog.dclick.com.br/2009/07/25/variable-scope-in-actionscrip-3/en/</link>
		<comments>http://blog.dclick.com.br/2009/07/25/variable-scope-in-actionscrip-3/en/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 00:44:26 +0000</pubDate>
		<dc:creator>Bruno Sales</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Programação]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=2068</guid>
		<description><![CDATA[Twitter! Do you know what happens in the follow code?
PLAIN TEXT
ACTIONSCRIPT:




var test:Boolean = false;


if&#40;test&#41;


&#123;


&#160; &#160; var name:String;


&#125;


else


&#123;


&#160; &#160; name = "Bruno Sales";


&#125;


trace&#40;"Name: " + name&#41;; 






Compile error? Runtime Error? Nothing. The trace result is "Name: Bruno Sales". The variable was created even if the code inside the IF was never executed.
Thats happens because ActionScript has [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Variable%20Scope%20in%20ActionScrip%203%22%20http%3A%2F%2Ftinyurl.com%2Fyl6k299" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>Do you know what happens in the follow code?</p>
<div class="igBar"><span id="lactionscript-8"><a href="#" onclick="javascript:showPlainTxt('actionscript-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">ACTIONSCRIPT:</span>
<div id="actionscript-8">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">var</span> test:<span style="color: #0066CC;">Boolean</span> = <span style="color: #000000; font-weight: bold;">false</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>test<span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">name</span>:<span style="color: #0066CC;">String</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">else</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">name</span> = <span style="color: #ff0000;">"Bruno Sales"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Name: "</span> + <span style="color: #0066CC;">name</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Compile error? Runtime Error? Nothing. The trace result is "Name: Bruno Sales". The variable was created even if the code inside the IF was never executed.<br />
Thats happens because ActionScript has just 2 types of scope: Global and Local; remembering that Local is everything inside a function.</p>
<p>However, I suggest <strong>never</strong> using something like this in your development process. Your code logic will be very confusing and will cause problem to maintenance and debug.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2009/07/25/variable-scope-in-actionscrip-3/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling the Firefox&#8217;s cache</title>
		<link>http://blog.dclick.com.br/2009/07/05/disabling-the-firefoxs-cache/en/</link>
		<comments>http://blog.dclick.com.br/2009/07/05/disabling-the-firefoxs-cache/en/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 19:53:15 +0000</pubDate>
		<dc:creator>Bruno Sales</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=2059</guid>
		<description><![CDATA[Twitter! Everyone that uses Firefox to make test while developing Adobe Flex applications, for sure already had problems with cache. This become more frustrating when the application is so big that, to make the test, you need to go through some steps before and finally when it get at the test point, you find out [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Disabling%20the%20Firefox%27s%20cache%22%20http%3A%2F%2Ftinyurl.com%2Fylkoubp" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>Everyone that uses Firefox to make test while developing Adobe Flex applications, for sure already had problems with cache. This become more frustrating when the application is so big that, to make the test, you need to go through some steps before and finally when it get at the test point, you find out that loaded a cached version of your app.</p>
<p>Obviously that have some ways to solve this problem but, I'll show the solution I use.</p>
<p>Open the firefox and in the address bar type: <strong>about:config</strong>. An alert message will shows up, but we need to keep going on to make the configuration.<br />
Look in the search bar for these items: <strong>browser.cache.memory.enable, browser.cache.disk.enable</strong>. If you haven't change it before, they will be with the value <strong>true</strong>, what you must do is, set this values to <strong>false</strong>.</p>
<p>Then, to confirm that the changes were made, just type in the address bar: <strong>about:cache</strong>, the result must be a info message saying that the cache was disabled.</p>
<p>Done. Now the firefox's cache was disabled, in a fast and simple way.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2009/07/05/disabling-the-firefoxs-cache/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maybe it&#8217;s time to know what you agree to?</title>
		<link>http://blog.dclick.com.br/2009/03/18/maybe-its-time-to-know-what-you-agree-to/en/</link>
		<comments>http://blog.dclick.com.br/2009/03/18/maybe-its-time-to-know-what-you-agree-to/en/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 16:54:57 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Notícias]]></category>
		<category><![CDATA[EULA]]></category>
		<category><![CDATA[License]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=1699</guid>
		<description><![CDATA[Twitter! EULA - End User License Agreement, that is the 60-page text that you probably never read, which appears on unavoidable dialog when you installing applications, which contains "I Agree" button. You know it, you clicked it so many times.
Question is, did you actually read it?
Of course, that you know that you agreed to:
1. "Do [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Maybe%20it%27s%20time%20to%20know%20what%20you%20agree%20to%3F%22%20http%3A%2F%2Ftinyurl.com%2Fyldmgah" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>EULA - End User License Agreement, that is the 60-page text that you probably never read, which appears on unavoidable dialog when you installing applications, which contains "I Agree" button. You know it, you clicked it so many times.</p>
<p>Question is, did you actually read it?</p>
<p>Of course, that you know that you agreed to:</p>
<p><strong>1. "Do not criticize this product publicly."</strong></p>
<p><strong>2. "Using this product means you will be monitored."</strong></p>
<p><strong>3. "Do not reverse-engineer this product."</strong></p>
<p><strong>4. "Do not use this product with other vendor's products."</strong></p>
<p><strong>5. "By signing this contract, you also agree to every change in future versions of it.  Oh yes, and EULAs are subject to change without notice."</strong></p>
<p><strong>6. "We are not responsible if this product messes up your computer."</strong></p>
<p>...among other things.</p>
<p>You may wish to see some explications on the mentioned things. If so, visit:</p>
<p><a href="http://www.eff.org/wp/dangerous-terms-users-guide-eulas" target="_blank">http://www.eff.org/wp/dangerous-terms-users-guide-eulas</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2009/03/18/maybe-its-time-to-know-what-you-agree-to/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carousel 3D with Flash Player 10</title>
		<link>http://blog.dclick.com.br/2009/03/04/carroussel-3d-with-flash-player-10/en/</link>
		<comments>http://blog.dclick.com.br/2009/03/04/carroussel-3d-with-flash-player-10/en/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 18:45:40 +0000</pubDate>
		<dc:creator>Bruno Sales</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Components]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=1676</guid>
		<description><![CDATA[Twitter! Some time ago, I wrote a small introduction about 3D effects from Flash Player 10. Moving on with my studies and understanding better how FP10 works, I did this component that, even being commun to 3D framework users, works good as native and consequently low weight.
The component can receive any DisplayObject, letting the interactivity [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Carousel%203D%20with%20Flash%20Player%2010%22%20http%3A%2F%2Ftinyurl.com%2Fyj7xxx9" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>Some time ago, I wrote a small introduction about 3D effects from Flash Player 10. Moving on with my studies and understanding better how FP10 works, I did this component that, even being commun to 3D framework users, works good as native and consequently low weight.</p>
<p>The component can receive any DisplayObject, letting the interactivity works fine.</p>
<p>The follow demo shows the component and some of its properties:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_index_747217389"
			class="flashmovie"
			width="500"
			height="450">
	<param name="movie" value="/sources/carrossel/index.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/sources/carrossel/index.swf"
			name="fm_index_747217389"
			width="500"
			height="450">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>You can see here the <a href='http://www.dclick.com.br/blog/sources/carrossel/srcview/index.html' target=' _blank'>source code</a>.<br />
(Don't forget it is a FP10 project. To make it works go to Project Properties > Flex compiler > Require Flash Player and fill with 10.0.0).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2009/03/04/carroussel-3d-with-flash-player-10/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring &amp; JDBC</title>
		<link>http://blog.dclick.com.br/2009/01/15/spring-jdbc-2/en/</link>
		<comments>http://blog.dclick.com.br/2009/01/15/spring-jdbc-2/en/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 19:21:00 +0000</pubDate>
		<dc:creator>Bruno Fuster</dc:creator>
				<category><![CDATA[(Sem Categoria)]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[sample]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=1459</guid>
		<description><![CDATA[Twitter! The Spring Framework makes JDBC development easier by using IoC to eliminate low-level code. If you don't use an ORM framework, this API is highly recommended. Now let's see a comparison sample between pure JDBC and JDBC with Spring JdbcTemplate class:

Example 1: Creating a list of objects with pure JDBC
PLAIN TEXT
JAVA:




PreparedStatement ps = connection.prepareStatement&#40;"Select [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Spring%20%26%20JDBC%22%20http%3A%2F%2Ftinyurl.com%2Fyfudvwa" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>The <a title="Spring Framework" href="http://www.springsource.org/">Spring Framework</a> makes JDBC development easier by using <a href="http://en.wikipedia.org/wiki/Inversion_of_control">IoC</a> to eliminate low-level code. If you don't use an ORM framework, this API is highly recommended. Now let's see a comparison sample between pure JDBC and JDBC with Spring JdbcTemplate class:</p>
<p><span id="more-1459"></span><br />
<strong>Example 1: Creating a list of objects with pure JDBC</strong></p>
<div class="igBar"><span id="ljava-12"><a href="#" onclick="javascript:showPlainTxt('java-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVA:</span>
<div id="java-12">
<div class="java">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.google.com/search?q=allinurl%3APreparedStatement+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">PreparedStatement</span></a> ps = connection.<span style="color: #006600;">prepareStatement</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Select name, email from t_users where status = ?"</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ps.<span style="color: #006600;">setInt</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span>, <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=allinurl%3AInteger+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">Integer</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.google.com/search?q=allinurl%3AResultSet+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">ResultSet</span></a> rs = ps.<span style="color: #006600;">executeQuery</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">List&lt;User&gt; users = <span style="color: #000000; font-weight: bold;">new</span> ArrayList&lt;User&gt;<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>rs.<span style="color: #006600;">next</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; User user = <span style="color: #000000; font-weight: bold;">new</span> User<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; user.<span style="color: #006600;">setName</span><span style="color: #66cc66;">&#40;</span>rs.<span style="color: #006600;">getString</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"name"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; user.<span style="color: #006600;">setEmail</span><span style="color: #66cc66;">&#40;</span>rs.<span style="color: #006600;">getString</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"email"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; users.<span style="color: #006600;">add</span><span style="color: #66cc66;">&#40;</span>user<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">return</span> users; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<address></address>
<p><span> </span>Besides, you have to control connections opening and closing. </p>
<p><strong>Example 2: Creating a list of objects with Spring and JDBC:<br />
</strong></p>
<p>We have to use the <a href="http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/jdbc/core/JdbcTemplate.html">JdbcTemplate</a> class that can be instantied by injecting your datasource (new JdbcTemplate(dataSource)). Then you should create a new class that implements the RowMapper interface for the objects creation. After that, you can get the list of objects with just one line of code:</p>
<div class="igBar"><span id="ljava-13"><a href="#" onclick="javascript:showPlainTxt('java-13'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVA:</span>
<div id="java-13">
<div class="java">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">return</span> <span style="color: #66cc66;">&#40;</span>List&lt;User&gt;<span style="color: #66cc66;">&#41;</span> jdbcTemplate.<span style="color: #006600;">query</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"Select name, email from t_users where status = ?"</span>,</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=allinurl%3AObject+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">Object</span></a><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=allinurl%3AInteger+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">Integer</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#125;</span>, <span style="color: #000000; font-weight: bold;">new</span> UserRowMapper<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>RowMapper sample:</p>
<div class="igBar"><span id="ljava-14"><a href="#" onclick="javascript:showPlainTxt('java-14'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVA:</span>
<div id="java-14">
<div class="java">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> UserRowMapper <span style="color: #000000; font-weight: bold;">implements</span> <a href="http://www.google.com/search?q=allinurl%3ARowMapper+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">RowMapper</span></a> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; @Override</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?q=allinurl%3AObject+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> mapRow<span style="color: #66cc66;">&#40;</span><a href="http://www.google.com/search?q=allinurl%3AResultSet+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">ResultSet</span></a> rs, <span style="color: #993333;">int</span> numRow<span style="color: #66cc66;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <a href="http://www.google.com/search?q=allinurl%3ASQLException+java.sun.com&amp;bntl=1"><span style="color: #aaaadd; font-weight: bold;">SQLException</span></a> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; User user = <span style="color: #000000; font-weight: bold;">new</span> User<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; user.<span style="color: #006600;">setName</span><span style="color: #66cc66;">&#40;</span>rs.<span style="color: #006600;">getString</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"name"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; user.<span style="color: #006600;">setEmail</span><span style="color: #66cc66;">&#40;</span>rs.<span style="color: #006600;">getString</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"email"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> user;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Complete reference: <a href="http://static.springframework.org/spring/docs/2.0.x/reference/jdbc.html">http://static.springframework.org/spring/docs/2.0.x/reference/jdbc.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2009/01/15/spring-jdbc-2/en/feed/en/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft Office 14 and Silverlight</title>
		<link>http://blog.dclick.com.br/2008/10/30/microsoft-office-14-and-silverlight/en/</link>
		<comments>http://blog.dclick.com.br/2008/10/30/microsoft-office-14-and-silverlight/en/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 03:53:24 +0000</pubDate>
		<dc:creator>André Gil</dc:creator>
				<category><![CDATA[Notícias]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=742</guid>
		<description><![CDATA[Twitter! On the second PDC 2008 day, Microsoft has announced that the new Microsoft Office 14 will come with a built-in Silverlight Web version. It’s probably a “compact" Office version, but nobody knows it for sure yet.
Microsoft announced the web version of Word, Excel, PowerPoint and OneNote, and we can also expect that all those [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Microsoft%20Office%2014%20and%20Silverlight%22%20http%3A%2F%2Ftinyurl.com%2Fyklyaql" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>On the second PDC 2008 day, Microsoft has announced that the new Microsoft Office 14 will come with a built-in Silverlight Web version. It’s probably a “compact" Office version, but nobody knows it for sure yet.</p>
<p>Microsoft announced the web version of Word, Excel, PowerPoint and OneNote, and we can also expect that all those applications will run on any operational system with Silverlight support. What do you think about it? Check out <a href="http://www.winsupersite.com/office/office14_web_preview.asp" target="_blank">some screenshots here</a>.</p>
<p>I don’t think it’s a big deal that other web application developers have to worry about, because people hardly change from Microsoft Office to a very limited office web application, like <a href="http://docs.google.com/" target="_blank">Google Docs</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/10/30/microsoft-office-14-and-silverlight/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brazillian election: the biggest linux implementation worldwide</title>
		<link>http://blog.dclick.com.br/2008/10/14/brazillian-election-the-biggest-linux-implementation-worldwide/en/</link>
		<comments>http://blog.dclick.com.br/2008/10/14/brazillian-election-the-biggest-linux-implementation-worldwide/en/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 19:29:03 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notícias]]></category>
		<category><![CDATA[elections]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=727</guid>
		<description><![CDATA[Twitter! As the title says, Brazil made the biggest linux implementation worldwide at one time. All the election electronic voting boxes are with Linux installed.
Even before, Brazillian election system is the most advanced in the world. Now it beaten the record again: the most technologicaly advanced.
Following article explains more about voting boxes:
Linux voting boxes - [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Brazillian%20election%3A%20the%20biggest%20linux%20implementation%20worldwide%22%20http%3A%2F%2Ftinyurl.com%2Fygzmsmp" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>As the title says, Brazil made the biggest linux implementation worldwide at one time. All the election electronic voting boxes are with Linux installed.<br />
Even before, Brazillian election system is the most advanced in the world. Now it beaten the record again: the most technologicaly advanced.</p>
<p>Following article explains more about voting boxes:<br />
<a href="http://br-linux.org/english/linux-voting-machines/">Linux voting boxes - Brazillian elections</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/10/14/brazillian-election-the-biggest-linux-implementation-worldwide/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome finally ported to Linux and Mac</title>
		<link>http://blog.dclick.com.br/2008/09/17/chrome-finally-ported-to-linux-and-mac/en/</link>
		<comments>http://blog.dclick.com.br/2008/09/17/chrome-finally-ported-to-linux-and-mac/en/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 11:23:18 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notícias]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=692</guid>
		<description><![CDATA[Twitter! Newest revolutionary Google's browser Chrome is finally ported to Linux and Mac.
Company, CodeWeavers, that is known by porting various applications and games from one platform to another, has ported Chrome to Linux and Mac, naming it Chromium.
For Linux: DEB, RPM or Other distros
For Mac: Chromium Mac OSX
]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Chrome%20finally%20ported%20to%20Linux%20and%20Mac%22%20http%3A%2F%2Ftinyurl.com%2Fyjw9hsq" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>Newest revolutionary Google's browser Chrome is finally ported to Linux and Mac.<br />
Company, <a href="http://www.codeweavers.com/">CodeWeavers</a>, that is known by porting various applications and games from one platform to another, has ported Chrome to Linux and Mac, naming it <a href="http://www.codeweavers.com/services/ports/chromium/">Chromium</a>.</p>
<p>For Linux: <a href="http://media.codeweavers.com/pub/crossover/chromium/cxchromium_0.9.0-1_i386.deb">DEB</a>, <a href="http://media.codeweavers.com/pub/crossover/chromium/cxchromium-0.9.0-1.i386.rpm">RPM</a> or <a href="http://media.codeweavers.com/pub/crossover/chromium/install-cxchromium-0.9.0.sh">Other distros</a><br />
For Mac: <a href="http://media.codeweavers.com/pub/crossover/chromium/cxchromium-0.9.0.dmg">Chromium Mac OSX</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/09/17/chrome-finally-ported-to-linux-and-mac/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox: Web developer extension</title>
		<link>http://blog.dclick.com.br/2008/08/26/firefox-web-developer-extension/en/</link>
		<comments>http://blog.dclick.com.br/2008/08/26/firefox-web-developer-extension/en/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 14:52:31 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[web development plug in add on]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=590</guid>
		<description><![CDATA[Twitter! To who is web developer, no matter is it Flex, Flash, Java, HTML, and use Firefox as browser, there is an extension which is a MUST-HAVE.
Plugin enables you to control all aspects of broswser and page contents details, like enabling/disabling cache, forms, styles and much more.
Web developer extension
When installed, it will be placed in [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Firefox%3A%20Web%20developer%20extension%22%20http%3A%2F%2Ftinyurl.com%2Fyjzm6ke" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>To who is <strong>web developer</strong>, no matter is it Flex, Flash, Java, HTML, and use Firefox as browser, there is an extension which is a MUST-HAVE.<br />
Plugin enables you to control all aspects of broswser and page contents details, like enabling/disabling cache, forms, styles and much more.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web developer extension</a></p>
<p>When installed, it will be placed in TOOLS menu.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/26/firefox-web-developer-extension/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to drasticly increase performance of Firefox 3</title>
		<link>http://blog.dclick.com.br/2008/08/22/how-to-drasticly-increase-performance-of-firefox-3/en/</link>
		<comments>http://blog.dclick.com.br/2008/08/22/how-to-drasticly-increase-performance-of-firefox-3/en/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 11:54:58 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Otimização]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=539</guid>
		<description><![CDATA[Twitter! Seems that FF3 has a slight problem with cache handling due to anti-phishing algorythms. I found this somewhere on the net, and it really works.
Go to FF preferences -> Security  and un-check 2nd and 3rd checkbox,
"Tell me if ..."
Close preferences and close Firefox.
Go to your users settings where firefox keeps it's files for [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22How%20to%20drasticly%20increase%20performance%20of%20Firefox%203%22%20http%3A%2F%2Ftinyurl.com%2Fyjwrymu" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>Seems that FF3 has a slight problem with cache handling due to anti-phishing algorythms. I found this somewhere on the net, and it really works.</p>
<p>Go to FF preferences -> Security  and un-check 2nd and 3rd checkbox,<br />
"Tell me if ..."</p>
<p>Close preferences and close Firefox.<br />
Go to your users settings where firefox keeps it's files for the account. I Windows should be somewhere in "Application Data", I am not sure, but for Linux, open terminal and write<br />
#> cd .mozilla/firefox<br />
and enter in tou your account directory (should be something like "of6wel65.default") , name is pretty random.</p>
<p>- Delete files urlclassif*.sqlite<br />
- Start firefox.</p>
<p>that is it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/22/how-to-drasticly-increase-performance-of-firefox-3/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aurora &#8211; Next generation web-browser from Mozilla</title>
		<link>http://blog.dclick.com.br/2008/08/11/aurora-next-generation-web-browser-from-mozilla/en/</link>
		<comments>http://blog.dclick.com.br/2008/08/11/aurora-next-generation-web-browser-from-mozilla/en/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 12:09:15 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
				<category><![CDATA[Notícias]]></category>
		<category><![CDATA[aurora]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[generation]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[next]]></category>
		<category><![CDATA[surfing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=394</guid>
		<description><![CDATA[Twitter! Mozilla labs addressed a call to all people to participate in ideas and collaboration for the next generation web browser. Call can be viewed here:
http://labs.mozilla.com/2008/08/introducing-the-concept-series-call-for-participation/
Some video presentation reveals really futuristic design. It is worth to see it.
http://adaptivepath.com/aurora/themes.php
]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Aurora%20-%20Next%20generation%20web-browser%20from%20Mozilla%22%20http%3A%2F%2Ftinyurl.com%2Fyfvovr3" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>Mozilla labs addressed a call to all people to participate in ideas and collaboration for the next generation web browser. Call can be viewed here:<br />
<a href="http://labs.mozilla.com/2008/08/introducing-the-concept-series-call-for-participation/">http://labs.mozilla.com/2008/08/introducing-the-concept-series-call-for-participation/</a></p>
<p>Some video presentation reveals really futuristic design. It is worth to see it.<br />
<a href="http://adaptivepath.com/aurora/themes.php">http://adaptivepath.com/aurora/themes.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/11/aurora-next-generation-web-browser-from-mozilla/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TreeCollection component</title>
		<link>http://blog.dclick.com.br/2008/08/06/treecollection-component/en/</link>
		<comments>http://blog.dclick.com.br/2008/08/06/treecollection-component/en/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 14:10:35 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
				<category><![CDATA[(Sem Categoria)]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex Components]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=358</guid>
		<description><![CDATA[Twitter! There is a case when one needs to make a structural representation of data which resides in a single table, with records referenced to one another. This is not difficult to make, but sometimes people just doesn't have time.
I had small table with linked records, that I had to represent structurally. Table was something [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22TreeCollection%20component%22%20http%3A%2F%2Ftinyurl.com%2Fyl2tfjd" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>There is a case when one needs to make a structural representation of data which resides in a single table, with records referenced to one another. This is not difficult to make, but sometimes people just doesn't have time.</p>
<p>I had small table with linked records, that I had to represent structurally. Table was something like:</p>
<div class="igBar"><span id="lcode-16"><a href="#" onclick="javascript:showPlainTxt('code-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-16">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#800000;color:#800000;">1</span>, <span style="color:#CC0000;">"Father node"</span>, <span style="color:#800000;color:#800000;">0</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#800000;color:#800000;">2</span>, <span style="color:#CC0000;">"Child node"</span>, <span style="color:#800000;color:#800000;">1</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
where record Id 2, links to record Id 1,  by third field.</p>
<p>I have found a component on the internet from <a href=" http://fug.sg/index.php/p/10">Singapore Flex Usergroup</a>, but it didn't worked for my case as I needed to.<br />
So I took the liberty to alter the component and share it.</p>
<p><strong>D-Click developers</strong> already have this component set in flex_library.</p>
<p>You may download small Flex3 demo application along with the component from following link:</p>
<p><a href="http://blog.dclick.com.br/wp-content/uploads/test_general.zip">TreeCollection demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/06/treecollection-component/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gremlins in Eclipse &#8211; shoot &#8216;em up</title>
		<link>http://blog.dclick.com.br/2008/08/05/gremlins-in-eclipse-shoot-em-up/en/</link>
		<comments>http://blog.dclick.com.br/2008/08/05/gremlins-in-eclipse-shoot-em-up/en/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 12:51:57 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=329</guid>
		<description><![CDATA[Twitter! Last night, I lost a few hours and two kilogramms of nerves to solve the problems I didn't even supposed to have. Something was wrong with the debugger and I couldn't get the job done as debugger was highly uncooperative. Some of the issues were:

Clicking on one line to toggle breakpoint, it appears in [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Gremlins%20in%20Eclipse%20-%20shoot%20%27em%20up%22%20http%3A%2F%2Ftinyurl.com%2Fygxvmge" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>Last night, I lost a few hours and two kilogramms of nerves to solve the problems I didn't even supposed to have. Something was wrong with the debugger and I couldn't get the job done as debugger was highly uncooperative. Some of the issues were:</p>
<ul>
<li>Clicking on one line to toggle breakpoint, it appears in another</li>
<li>Debugger skips the lines</li>
<li>Changes in code sometimes doesnt't effect the results in the firefox</li>
<li>Feeling of a Gremlim infestation of your putter.</li>
</ul>
<p>Some of you may laugh, but for the certain things, I didn't have any knowledge of, and I didn't find it anywhere, until my collegue Henrique Marino came to explain me how to end the suffering.</p>
<p>So, hereby I share it with you.</p>
<ol>
<li>If you have a CVS controlled code, with a branches, be sure that compiler is set to the particular branch that you work on at the moment. Go to (eclipse) Project -&gt; Properties, select Flex Compiler and see what is written in "Additional compiler arguments". Problem is probably there. This is the reason of debugger skipping the lines, if it is set wrongly.</li>
<li>Close all projects except the one you use at the moment. Right click on a project and select "Close unrelated projects"</li>
<li>If you use Jetty, since it's not doing boring and time consuming deployment as JBoss, it creates another flaw: cache might not be cleaned. Go to Firefox, Tools -&gt; Web developer -&gt; Disable -&gt; Disable cache.</li>
</ol>
<p>This will kill the Gremlin(s).</p>
<p>I hope this post will shorten one's suffering.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/05/gremlins-in-eclipse-shoot-em-up/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sub-Zero uses Flex</title>
		<link>http://blog.dclick.com.br/2008/08/03/sub-zero-uses-flex/en/</link>
		<comments>http://blog.dclick.com.br/2008/08/03/sub-zero-uses-flex/en/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 10:15:07 +0000</pubDate>
		<dc:creator>Rafael Martinelli</dc:creator>
				<category><![CDATA[(Sem Categoria)]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=307</guid>
		<description><![CDATA[Twitter! I just talked to Sub-Zeb. Nowadays, he works for Roundarch and guess what he uses to develop Rich Internet Applications: Adobe Flex.
Pek Pongpaet, who I talked some minutes ago, is Lead Interactive Developer at Roundach. But what is really interesting about Pek is that he did motion capture in five Mortal Kombat games. On [...]]]></description>
			<content:encoded><![CDATA[<span class="post-twitter" ><a href="http://twitter.com/home?status=DClick%20Post%3A%20%20%22Sub-Zero%20uses%20Flex%22%20http%3A%2F%2Ftinyurl.com%2Fykojyap" title="Twitter! <br /><br />" rel="nofollow">Twitter! <br /><br /></a></span><p>I just talked to Sub-Zeb. Nowadays, he works for <a href="http://www.roundarch.com/">Roundarch</a> and guess what he uses to develop Rich Internet Applications: Adobe Flex.</p>
<p>Pek Pongpaet, who I talked some minutes ago, is Lead Interactive Developer at <a href="http://www.roundarch.com">Roundach</a>. But what is really interesting about Pek is that he did motion capture in five <a href="http://pt.wikipedia.org/wiki/Mortal_Kombat">Mortal Kombat</a> games. <a href="http://blog.pekpongpaet.com/2008/06/25/mortal-kombat-intros-all-the-ones-that-i-did/">On his blog you can see some videos</a>.  </p>
<p>Well, I couldn't resist the idea to post saying that Sub-Zero works with Flex. Now, I am going to talk to my nephews that I just talked to Sub-Zero. It's a small world. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/03/sub-zero-uses-flex/en/feed/en/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
