<?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"
	>

<channel>
	<title>DClick Team Weblog [pt]</title>
	<atom:link href="http://blog.dclick.com.br/feed/pt/" rel="self" type="application/rss+xml" />
	<link>http://blog.dclick.com.br</link>
	<description>Blog do time da DClick</description>
	<pubDate>Fri, 05 Sep 2008 11:43:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>pt</language>
			<item>
		<title>FlexDev: Quase uma mensagem por usuário</title>
		<link>http://blog.dclick.com.br/2008/09/05/flexdev-quase-uma-mensagem-por-usuario/pt/</link>
		<comments>http://blog.dclick.com.br/2008/09/05/flexdev-quase-uma-mensagem-por-usuario/pt/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 11:43:22 +0000</pubDate>
		<dc:creator>Beck Novaes</dc:creator>
		
		<category><![CDATA[(Sem Categoria)]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=668</guid>
		<description><![CDATA[A FlexDev registrou no mês passado 899 mensagens. Para um grupo de 1029 pessoas este é um volume mais do que respeitável - quase uma mensagem por usuário. Mas não apenas de quantidade vive a FlexDev, a qualidade das discussões também têm evoluído muito e eu convido quem ainda não está na lista a entrar [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://groups.google.com/group/flexdev">FlexDev</a> registrou no mês passado 899 mensagens. Para um grupo de 1029 pessoas este é um volume mais do que respeitável - quase uma mensagem por usuário. Mas não apenas de quantidade vive a FlexDev, a qualidade das discussões também têm evoluído muito e eu convido quem ainda não está na lista a entrar lá para ver.</p>
<p>Agradeço ao <a href="http://blog.mariojunior.com/">Mário Junior</a> e a <a href="http://www.gabriela.trindade.nom.br/">Gabriela Trindade Perry</a> que por seu comprometimento constante também são moderadores da lista já há algum tempo.</p>
<form action="http://groups.google.com/group/flexdev/boxsubscribe">Email:<br />
<input type=text name=email>
<input type=submit name="sub" value="Inscrever-se">
<p /></form>
<p>Ou inscreva-se manualmente enviando um e-mail para <a href="mailto:flexdev-subscribe@googlegroups.com">flexdev-subscribe@googlegroups.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/09/05/flexdev-quase-uma-mensagem-por-usuario/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>errorTip com display automático</title>
		<link>http://blog.dclick.com.br/2008/09/03/errortip-com-display-automatico/pt/</link>
		<comments>http://blog.dclick.com.br/2008/09/03/errortip-com-display-automatico/pt/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 12:15:40 +0000</pubDate>
		<dc:creator>Thiago Felix</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Flex Components]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=658</guid>
		<description><![CDATA[Olá a todos, este é meu primeiro post aqui, sou um programador .net aprendendo flex (rsrs).
Em um trabalho recente, nosso cliente fez um pedido de que, todos os errorTip&#8217;s apareceçem para o usuário sem a necessidade de passar o mouse por cima do componente, eu aproveitei que estava estudando e resolvi criar uma maneira de [...]]]></description>
			<content:encoded><![CDATA[<p>Olá a todos, este é meu primeiro post aqui, sou um programador .net aprendendo flex (rsrs).</p>
<p>Em um trabalho recente, nosso cliente fez um pedido de que, todos os errorTip&#8217;s apareceçem para o usuário sem a necessidade de passar o mouse por cima do componente, eu aproveitei que estava estudando e resolvi criar uma maneira de obter esse comportamento. Não queria extender os componentes que nós estavamos usando, então fiz uma classe &#8220;manager&#8221; separada, mas nada impede de extender um TextInput da vida e incluir um objeto desta classe como atributo do componente e deixar toda a lógica dentro do componente. O projeto completo pode ser baixado <a title="FlexValidator" href="http://rapidshare.com/files/142288407/FlexValidator.rar.html" target="_blank">aqui.</a></p>
<p>O resultado obtido:</p>
<div class="wp-caption alignnone" style="width: 509px"><img title="Resultado obtido com o novo componente de validação" src="http://img354.imageshack.us/img354/2121/postfe5.jpg" width="499" height="364" /><p class="wp-caption-text">Resultado obtido</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/09/03/errortip-com-display-automatico/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Google&#8217;s Anti-Browser</title>
		<link>http://blog.dclick.com.br/2008/09/02/googles-anti-browser/pt/</link>
		<comments>http://blog.dclick.com.br/2008/09/02/googles-anti-browser/pt/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 16:19:35 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
		
		<category><![CDATA[Not&iacute;cias]]></category>

		<category><![CDATA[browser]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=656</guid>
		<description><![CDATA[&#8220;In a sense, Chrome is not a browser, it&#8217;s an anti-browser. It&#8217;s mission is to destroy the concept of the browser, and become a frame for other applications – or, more pointedly, a kind of &#8220;chrome&#8221; window. In other words, Chrome is the long-awaited Google OS, a way of running Web-based applications like Gmail, Google [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;In a sense, Chrome is not a browser, it&#8217;s an anti-browser. It&#8217;s mission is to destroy the concept of the browser, and become a frame for other applications – or, more pointedly, a kind of &#8220;chrome&#8221; window. In other words, Chrome is the long-awaited Google OS, a way of running Web-based applications like Gmail, Google Docs and the rest (the inclusion of Google Gears, which allows such apps to be used offline, is big clue here). That Chrome&#8217;s default function is as a browser is almost a historical accident. &#8220;</p>
<p>Artigo vale a pena ler. Até concordo com certos pontos..</p>
<p>http://www.computerworlduk.com/community/blogs/index.cfm?entryid=1212&#038;blogid=14</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/09/02/googles-anti-browser/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Google Chrome browser</title>
		<link>http://blog.dclick.com.br/2008/09/02/google-chrome-browser/pt/</link>
		<comments>http://blog.dclick.com.br/2008/09/02/google-chrome-browser/pt/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 11:38:04 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
		
		<category><![CDATA[Not&iacute;cias]]></category>

		<category><![CDATA[browser]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=653</guid>
		<description><![CDATA[Google está lançando proprio browser. De acordo com Google, browser seria otimizado para web-services alem das operações normais.
Querem dizer&#8230; otimizado para serviços de google?
Esta novidade apareceu hoje em todos sites renomeados de tecnologia, inclusivel BBC World. 
Buscando no Google, achei somente uma noticia escondida.
Droga&#8230; queria testar este barulho &#8230; bagulho&#8230;
Quando eles liberam download, seria provavelmente [...]]]></description>
			<content:encoded><![CDATA[<p>Google está lançando proprio browser. De acordo com Google, browser seria otimizado para web-services alem das operações normais.<br />
Querem dizer&#8230; otimizado para serviços de google?</p>
<p>Esta novidade apareceu hoje em todos sites renomeados de tecnologia, inclusivel BBC World. </p>
<p>Buscando no Google, achei somente uma noticia escondida.<br />
Droga&#8230; queria testar este barulho &#8230; bagulho&#8230;</p>
<p>Quando eles liberam download, seria provavelmente neste endereço<br />
http://code.google.com/p/chrome/</p>
<p>Verifiquei todas as pistas, mas sem jeito achar download&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/09/02/google-chrome-browser/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Monitorar trafego HTTP e capturar pacotes AMF</title>
		<link>http://blog.dclick.com.br/2008/08/29/monitorar-trafego-http-e-capturar-pacotes-do-amf/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/29/monitorar-trafego-http-e-capturar-pacotes-do-amf/pt/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 13:17:42 +0000</pubDate>
		<dc:creator>André Gil</dc:creator>
		
		<category><![CDATA[(Sem Categoria)]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=649</guid>
		<description><![CDATA[Em alguns casos é necessário observar o que está trafegando entre o browser e o servidor para que possamos fazer debug em algumas aplicações. Um software que uso para isso a um bom tempo e que nunca me decepcionou é o Charles. Apesar de ter um nome &#8220;diferente&#8221;, Charles é uma ferramente muito útil.
Entre as [...]]]></description>
			<content:encoded><![CDATA[<p>Em alguns casos é necessário observar o que está trafegando entre o browser e o servidor para que possamos fazer debug em algumas aplicações. Um software que uso para isso a um bom tempo e que nunca me decepcionou é o <strong>Charles</strong>. Apesar de ter um nome &#8220;diferente&#8221;, Charles é uma ferramente muito útil.</p>
<p>Entre as várias funcionalidades disponíveis, gostaria de destacar algumas:</p>
<ul style="margin-top: 0cm;" type="disc">
<li>Faz      o parse de dados no protocolo AMF, sendo possível ver os objetos trafegados      direto nos relatórios.</li>
<li>Captura      requisições feitas através de Ajax.</li>
<li>Exibe      o que foi e o que não foi feito cache, permitindo que o cache seja inteiramente      desativado. (Opção bastante útil para testes de performance em aplicações Web).</li>
<li>Opção      de Bandwidth Throttle, para que você possa simular como sua aplicação      ficará em conexões mais lentas do que a sua.</li>
<li>Versões      para Windows, Linux e Mac OS X.</li>
</ul>
<p>O Charles é uma ferramenta paga, porém acredito que o investimento não será em vão, considerando a grande quantidade de funcionalidades disponíveis. Para saber mais sobre o Charles, acesse o site oficial em: <a href="http://www.charlesproxy.com/" target="_blank">http://www.charlesproxy.com/</a></p>
<p>Se estiver procurando por uma ferramenta semelhante gratuita, recomendo o uso da extensão <strong>Firebug</strong> para o Firefox. Porém o Firebug tem menos opções disponíveis em relação ao Charles como, por exemplo, a ausência do parse de AMF. Para baixar o Firebug acesse: <a href="http://getfirebug.com/" target="_blank">http://getfirebug.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/29/monitorar-trafego-http-e-capturar-pacotes-do-amf/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>GMail e Fotos Melhores no Firefox 3</title>
		<link>http://blog.dclick.com.br/2008/08/28/gmail-e-fotos-melhores-no-firefox-3/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/28/gmail-e-fotos-melhores-no-firefox-3/pt/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 20:11:11 +0000</pubDate>
		<dc:creator>André Gil</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=622</guid>
		<description><![CDATA[Alguns dias atrás li um artigo no blog Lifehacker sobre otimizações para o Firefox 3 e achei que seria interessante compartilhar duas delas com vocês. Se quiser ler as outras, vou deixar o link para o artigo original no final do post.

Como configurar o GMail para links &#8220;mailto&#8221;:
Sabe aqueles links &#8220;mailto:fulano@dominio.com&#8221; que abrem o seu [...]]]></description>
			<content:encoded><![CDATA[<p>Alguns dias atrás li um artigo no blog <a href="http://lifehacker.com/" target="_blank">Lifehacker</a> sobre otimizações para o Firefox 3 e achei que seria interessante compartilhar duas delas com vocês. Se quiser ler as outras, vou deixar o link para o artigo original no final do post.</p>
<p><br/><br />
<strong>Como configurar o GMail para links &#8220;mailto&#8221;:</strong></p>
<p>Sabe aqueles links &#8220;mailto:fulano@dominio.com&#8221; que abrem o seu leitor de e-mail padrão para o envio da mensagem? Existe uma maneira de direcionar esses links para sua conta do GMail. Faça o seguinte:<br/><br/></p>
<ol>
<li>Acesse      sua conta do GMail.</li>
<li>Na      aba em que sua conta estiver aberta, copie e cole o seguinte código na      barra de endereços e pressione enter:<br />
<blockquote><pre>javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/mail/?extsrc=mailto&#038;url=%s","GMail")</pre>
</blockquote>
</li>
<li>O      Firefox vai pedir permissão para adicionar o GMail na lista de aplicativos      &#8220;<strong>mailto</strong>&#8220;, clique no botão &#8220;<strong>Add Application</strong>&#8221; para confirmar.</li>
<li>Agora      ao clicar sobre um link &#8220;<strong>mailto</strong>&#8221; o Firefox vai mostrar uma lista para que      você possa selecionar a aplicação que deseja, basta selecionar o GMail e      clicar em &#8220;<strong>Remember my choice for mailto links</strong>&#8221; para que ele não pergunte      novamente.</li>
</ol>
<p><br/><br />
Caso você use uma conta do Google Apps para e-mail, basta trocar o código por:</p>
<blockquote><pre>
javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/a/example.com/mail/?extsrc=mailto&#038;url=%s","GMail")</pre>
</blockquote>
<p>(Não esqueça de substituir &#8220;<strong>example.com</strong>&#8221; pelo nome do seu próprio domínio)</p>
<p><br/><br />
<strong>Melhorar as fotos exibidas no Firefox 3:</strong></p>
<p>Já reparou que as vezes você faz upload de algumas fotos e elas parecem bem mais bonitas no Photoshop do que no Firefox? Isso acontece porque o Firefox 3 vem com a opção de gerenciamento de cores desativada por padrão, para que a performance não seja afetada. Caso tenha uma boa máquina, você poderá seguir os passos abaixo para ter uma qualidade de foto bem superior:</p>
<ol style="margin-top: 0cm;" type="1">
<li>Abra      uma nova aba e entre no endereço &#8220;<strong>about:config</strong>&#8220;.</li>
<li>Confirme      no botão &#8220;<strong>I&#8217;ll be careful, I promise!</strong>&#8220;.</li>
<li>No      campo de filtro digite: <strong>gfx.color_management.enabled</strong></li>
<li>Ele      deverá mostrar uma opção que está marcada como &#8220;<strong>false</strong>&#8220;. Basta clicar duas      vezes sobre ela para que o valor seja alterado para &#8220;<strong>true</strong>&#8220;.</li>
<li>Reinicie      o Firefox 3.</li>
</ol>
<p><br/><br />
<strong>Fonte:</strong> <a href="http://lifehacker.com/5041335/useful-firefox-3-configuration-tweaks" target="_blank">Lifehacker</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/28/gmail-e-fotos-melhores-no-firefox-3/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Concurso de Skins do Flex - Agora também para os brasileiros!</title>
		<link>http://blog.dclick.com.br/2008/08/28/concurso-de-skins-do-flex-agora-tambem-para-os-brasileiros/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/28/concurso-de-skins-do-flex-agora-tambem-para-os-brasileiros/pt/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 17:42:49 +0000</pubDate>
		<dc:creator>Nelson Vasconcelos</dc:creator>
		
		<category><![CDATA[Experience Design]]></category>

		<category><![CDATA[Not&iacute;cias]]></category>

		<category><![CDATA[Skin]]></category>

		<category><![CDATA[contest]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=619</guid>
		<description><![CDATA[Fala pessoal,
No meu post anterior eu havia falado sobre o Concurso de Skins da Scalenine/Adobe e sobre o fato de o Brasil não estar incluído entre os países que podiam participar do concurso.
Bem, hoje recebi um e-mail do Juan do ScaleNine avisando que ele atualizou os Termos e Condições e agora sim nós brasileiros podemos [...]]]></description>
			<content:encoded><![CDATA[<p>Fala pessoal,</p>
<p>No meu <a href="http://blog.dclick.com.br/2008/08/11/adobe-e-scalenine-lancam-concurso-de-skins-para-flex/pt/">post</a> anterior eu havia falado sobre o <a href="http://scalenine.com/contest/getting-started.php" target="_blank">Concurso de Skins da Scalenine/Adobe</a> e sobre o fato de o Brasil não estar incluído entre os países que podiam participar do concurso.</p>
<p>Bem, hoje recebi um e-mail do <a href="http://twitter.com/scalenine" target="_blank">Juan</a> do ScaleNine avisando que ele atualizou os Termos e Condições e <strong>agora sim nós brasileiros podemos participar</strong> e concorrer aos prêmios!</p>
<p>Skinners, hora de botar a mão na massa!!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/28/concurso-de-skins-do-flex-agora-tambem-para-os-brasileiros/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Mashup feito pelo usuário usando Mozilla Ubiquity</title>
		<link>http://blog.dclick.com.br/2008/08/28/mashup-feito-pelo-usuario-usando-mozilla-ubiquity/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/28/mashup-feito-pelo-usuario-usando-mozilla-ubiquity/pt/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 13:11:05 +0000</pubDate>
		<dc:creator>David Paniz</dc:creator>
		
		<category><![CDATA[Not&iacute;cias]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=616</guid>
		<description><![CDATA[Hoje em dia, se precisamos, por exemplo, enviar um mapa por email para alguém, o que fazemos? Tiramos um print e anexamos? Encontramos no Google Maps e colocamos um link no corpo da mensagem? E se pudéssemos colocar O google maps dentro do corpo? Essa é a idéia do Mozilla Ubiquity! Você faz os SEUS [...]]]></description>
			<content:encoded><![CDATA[<p>Hoje em dia, se precisamos, por exemplo, enviar um mapa por email para alguém, o que fazemos? Tiramos um print e anexamos? Encontramos no Google Maps e colocamos um link no corpo da mensagem? E se pudéssemos colocar O google maps dentro do corpo? Essa é a idéia do Mozilla Ubiquity! Você faz os SEUS mashups de acordo com SUAS necessidades e onde VOCÊ quiser. O projeto ainda está no labs da Mozilla e em versão 0.1. Para maiores informações sobre o projeto: <a href="http://labs.mozilla.com/2008/08/introducing-ubiquity/"> Mozilla Ubiquity </a></p>
<p>Aqui vai um gostinho&#8230;<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="298" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=1561578&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="298" src="http://vimeo.com/moogaloop.swf?clip_id=1561578&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<a href="http://vimeo.com/1561578?pg=embed&amp;sec=1561578">Ubiquity for Firefox</a> from <a href="http://vimeo.com/user532161?pg=embed&amp;sec=1561578">Aza Raskin</a> on <a href="http://vimeo.com?pg=embed&amp;sec=1561578">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/28/mashup-feito-pelo-usuario-usando-mozilla-ubiquity/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Otimização de aplicações com gzip</title>
		<link>http://blog.dclick.com.br/2008/08/27/otimizacao_gzip/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/27/otimizacao_gzip/pt/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 20:11:25 +0000</pubDate>
		<dc:creator>André Gil</dc:creator>
		
		<category><![CDATA[Otimiza&ccedil;&atilde;o]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=607</guid>
		<description><![CDATA[Alguns meses atrás passamos por um processo de otimização em algumas aplicações desenvolvidas para um de nossos clientes e uma das idéias que trouxe ótimos resultados foi o uso da compressão de dados no servidor utilizando gzip.
Existem algumas maneiras para que essa compressão seja utilizada, porém a que escolhemos foi com o uso de um [...]]]></description>
			<content:encoded><![CDATA[<p>Alguns meses atrás passamos por um processo de otimização em algumas aplicações desenvolvidas para um de nossos clientes e uma das idéias que trouxe ótimos resultados foi o uso da compressão de dados no servidor utilizando <strong>gzip</strong>.</p>
<p>Existem algumas maneiras para que essa compressão seja utilizada, porém a que escolhemos foi com o uso de um Servlet Filter que fica ativo entre o cliente e o servidor, fazendo a compressão dos dados trafegados. Essa solução nos pareceu ser a mais adequada, pois com ela não é necessário fazer nenhuma configuração especial diretamente no servidor, o que seria um problema para a maioria dos clientes.</p>
<p>Apesar de estarmos utilizando uma solução desenvolvida por nós mesmos, cheguei a fazer testes com o projeto open source <a href="http://sourceforge.net/projects/pjl-comp-filter/" target="_blank">PJL Compressing Filter</a> e ele trouxe resultados bastante satisfatórios, considerando velocidade de resposta, integridade dos dados e taxa de compactação. Fiz alguns testes com a resposta de uma aplicação demo antiga que trafegava 450kb de XML e o tamanho dos dados compactados caiu para 70kb. O resultado com as resposta do AMF também foram impressionantes.</p>
<p>Para utilizar o filtro em seu projeto, faça o seguinte:</p>
<ol style="margin-top: 0cm;" type="1">
<li>Baixe      os arquivos do filtro em: <a href="http://sourceforge.net/projects/pjl-comp-filter/" target="_blank">http://sourceforge.net/projects/pjl-comp-filter/</a></li>
<li>Copie      os JARs para o diretório <strong>WEB-INF/lib </strong>do seu projeto</li>
<li>Adicione      os parâmetros abaixo no arquivo <strong>web.xml</strong></li>
</ol>
<p><br/></p>
<div class="igBar"><span id="lxml-3"><a href="#" onclick="javascript:showPlainTxt('xml-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-3">
<div class="xml">
<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: #009900;"><span style="font-weight: bold; color: black;">&lt;filter<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;filter</span>-name<span style="font-weight: bold; color: black;">&gt;</span></span>CompressingFilter<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/filter</span>-name<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;filter</span>-class<span style="font-weight: bold; color: black;">&gt;</span></span>com.planetj.servlet.filter.compression.CompressingFilter<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/filter</span>-class<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/filter<span style="font-weight: bold; color: black;">&gt;</span></span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="igBar"><span id="lxml-4"><a href="#" onclick="javascript:showPlainTxt('xml-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-4">
<div class="xml">
<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: #009900;"><span style="font-weight: bold; color: black;">&lt;filter</span>-mapping<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;filter</span>-name<span style="font-weight: bold; color: black;">&gt;</span></span>CompressingFilter<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/filter</span>-name<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;url</span>-pattern<span style="font-weight: bold; color: black;">&gt;</span></span>/*<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/url</span>-pattern<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/filter</span>-mapping<span style="font-weight: bold; color: black;">&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<br/><br />
Não se esqueça de manter o blocos <strong>&lt;filter&gt;</strong> e os blocos <strong>&lt;filter-mapping&gt;</strong> agrupados com outros blocos semelhantes no seu arquivo <strong>web.xml</strong>, para não ter problemas de deploy.</p>
<p>Recomendo também que você utilize os parâmetros <strong>excludeContentTypes</strong> ou <strong>excludePathPatterns </strong>para excluir arquivos de tipos: JPG, SWF, FLV, etc. Como esses arquivos já são compactados, você só estaria aumentando o processamento do servidor e, alguma vezes, fazendo com que o resultado seja maior ou até corrompido. Para saber mais sobre os parâmetros de configuração do filtro, leia a documentação do filtro em: <a href="http://pjl-comp-filter.sourceforge.net/" target="_blank">http://pjl-comp-filter.sourceforge.net/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/27/otimizacao_gzip/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Idéia Genial: Dear Adobe</title>
		<link>http://blog.dclick.com.br/2008/08/27/ideia-genial-dear-adobe/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/27/ideia-genial-dear-adobe/pt/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 12:21:55 +0000</pubDate>
		<dc:creator>Beck Novaes</dc:creator>
		
		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[Not&iacute;cias]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=604</guid>
		<description><![CDATA[E eis que estamos na internet. Blog, Podcast, Wiki, Youtube, Pingback, Trackback, comentários e a democracia aflora na rede. As empresas aderiram e todas elas permitem que você envie um e-mail dando um feedback sobre seus produtos e serviços. Isto deve bastar para estimular as pessoas a se manifestarem certo? Errado! 
Conheça o Dear Adobe. [...]]]></description>
			<content:encoded><![CDATA[<p>E eis que estamos na internet. Blog, Podcast, Wiki, Youtube, <a href="http://en.wikipedia.org/wiki/Pingback">Pingback</a>, <a href="http://en.wikipedia.org/wiki/Trackback">Trackback</a>, comentários e a democracia aflora na rede. As empresas aderiram e todas elas permitem que você envie um e-mail dando um feedback sobre seus produtos e serviços. Isto deve bastar para estimular as pessoas a se manifestarem certo? Errado! </p>
<p>Conheça o <a href="http://dearadobe.com/">Dear Adobe</a>. Neste site você também pode dar sua opinião sobre os produtos e serviços da Adobe. No entanto, este site inova ao tornar as opiniões publicas. Não é mais algo que você envia para a empresa e um estagiário ou sistema automatizado responde. Você fala para o mundo inteiro ouvir. Você vê que os outros tem as mesmas reclamações que você. Você se diverte com as pessoas que postam algo apenas ser engraçado. E tudo isto trás audiência para o site. Tudo isto estimula muito mais do que um link "fale conosco". Logo este site estará bem classificado no Google e a Adobe não poderia mesmo tapar os ouvidos (e de fato <a href="http://blog.dearadobe.com/">não taparam</a>). A única coisa ruim disso é que já posso até ver os Tech Gurus incorporando esta idéia na Web 3.0.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/27/ideia-genial-dear-adobe/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>DottedSpacer Component</title>
		<link>http://blog.dclick.com.br/2008/08/26/dottedspacer-component/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/26/dottedspacer-component/pt/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 17:01:53 +0000</pubDate>
		<dc:creator>Paulo Amorim</dc:creator>
		
		<category><![CDATA[ActionScript]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Flex Components]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=538</guid>
		<description><![CDATA[Olá.
Recentemente eu estava desenvolvendo um índice, como aqueles de livros, onde tem um título do lado esquerdo e uma linha pontilhada que leva até o número da página, no lado direito...mas...como implementar a linha pontilhada?
Ao invés de tentar tratar strings, calculando tamanho para colocar os pontos, etc., o que seria outra possível - e mais [...]]]></description>
			<content:encoded><![CDATA[<p>Olá.</p>
<p>Recentemente eu estava desenvolvendo um índice, como aqueles de livros, onde tem um título do lado esquerdo e uma linha pontilhada que leva até o número da página, no lado direito...mas...como implementar a linha pontilhada?</p>
<p>Ao invés de tentar tratar strings, calculando tamanho para colocar os pontos, etc., o que seria outra possível - e mais difícil - solução, acabei fazendo, com uma grande ajuda do <strong>Marcelo Savioli</strong>, um componente bem simples para preencher esse espaço. E como estendemos do <a title="Spacer - Adobe Livedocs" href="http://livedocs.adobe.com/flex/3/langref/mx/controls/Spacer.html">Spacer</a> para criar este, o chamamos de <strong>DottedSpacer</strong>.</p>
<p>Veja a classe e resultado a seguir:</p>
<div class="igBar"><span id="lactionscript-7"><a href="#" onclick="javascript:showPlainTxt('actionscript-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-7">
<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;">package br.<span style="color: #006600;">com</span>.<span style="color: #006600;">dclick</span>.<span style="color: #006600;">controls</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;">&#123;</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; <span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">controls</span>.<span style="color: #006600;">Spacer</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;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> DottedSpacer <span style="color: #0066CC;">extends</span> Spacer</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: #66cc66;">&#123;</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; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> DottedSpacer<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; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</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; &nbsp; &nbsp; <span style="color: #0066CC;">super</span><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; &nbsp; &nbsp; &nbsp; <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; &nbsp; &nbsp; &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: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> dotSize:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">2</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; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> spaceSize:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">2</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; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> lineThickness:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">1</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; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> lineColor:<span style="color: #0066CC;">Number</span> = 0x000000;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &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;">&nbsp; &nbsp; &nbsp; &nbsp; override protected <span style="color: #000000; font-weight: bold;">function</span> updateDisplayList<span style="color: #66cc66;">&#40;</span>unscaledWidth:<span style="color: #0066CC;">Number</span>, unscaledHeight:<span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</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; <span style="color: #66cc66;">&#123;</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; &nbsp; &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; &nbsp; &nbsp; <span style="color: #0066CC;">super</span>.<span style="color: #006600;">updateDisplayList</span><span style="color: #66cc66;">&#40;</span>unscaledWidth, unscaledHeight<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; &nbsp; &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; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> xPos:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;color:#800000;">0</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; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> isDot:<span style="color: #0066CC;">Boolean</span> = <span style="color: #000000; font-weight: bold;">true</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; &nbsp; &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;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">clear</span><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; &nbsp; &nbsp; &nbsp; &nbsp; &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;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">lineStyle</span><span style="color: #66cc66;">&#40;</span> lineThickness, lineColor <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; &nbsp; &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;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">while</span><span style="color: #66cc66;">&#40;</span> xPos &lt;unscaledWidth <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; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</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; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span> isDot <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; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span> xPos, unscaledHeight - lineThickness <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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> xPos + dotSize, unscaledHeight - lineThickness <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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xPos += dotSize;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</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; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xPos += spaceSize;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; isDot = !isDot;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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; &nbsp; &nbsp; &nbsp; &nbsp; &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: #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; &nbsp; &nbsp; &nbsp; </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: #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;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Exemplo:</p>

<object	type="application/x-shockwave-flash"
			data="http://blog.dclick.com.br/wp-content/uploads/dottedspacersample.swf"
			width="500"
			height="150">
	<param name="movie" value="http://blog.dclick.com.br/wp-content/uploads/dottedspacersample.swf" />
</object>
<p>Fonte:</p>
<div class="igBar"><span id="lxml-8"><a href="#" onclick="javascript:showPlainTxt('xml-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-8">
<div class="xml">
<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: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">"1.0"</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">"utf-8"</span>?<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Application xmlns:<span style="color: #000066;">mx</span>=<span style="color: #ff0000;">"http://www.adobe.com/2006/mxml"</span> <span style="color: #000066;">layout</span>=<span style="color: #ff0000;">"vertical"</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; xmlns:<span style="color: #000066;">controls</span>=<span style="color: #ff0000;">"br.com.dclick.controls.*"</span> <span style="color: #000066;">backgroundColor</span>=<span style="color: #ff0000;">"#CCEEFF"</span><span style="font-weight: bold; color: black;">&gt;</span></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: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:HBox <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"100%"</span><span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Label <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"Capítulo 1"</span> <span style="font-weight: bold; color: black;">/&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;controls</span>:DottedSpacer <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"13"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"100%"</span><span style="font-weight: bold; color: black;">/&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Label <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"1"</span> <span style="font-weight: bold; color: black;">/&gt;</span></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: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span>:HBox<span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:HBox <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"100%"</span><span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Label <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"Capítulo com Nome Maior"</span> <span style="font-weight: bold; color: black;">/&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;controls</span>:DottedSpacer <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"13"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"100%"</span><span style="font-weight: bold; color: black;">/&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Label <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"3"</span> <span style="font-weight: bold; color: black;">/&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span>:HBox<span style="font-weight: bold; color: black;">&gt;</span></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: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:HBox <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"100%"</span><span style="font-weight: bold; color: black;">&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Label <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"Fim"</span> <span style="font-weight: bold; color: black;">/&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;controls</span>:DottedSpacer <span style="color: #000066;">height</span>=<span style="color: #ff0000;">"13"</span> <span style="color: #000066;">width</span>=<span style="color: #ff0000;">"100%"</span><span style="font-weight: bold; color: black;">/&gt;</span></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; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;mx</span>:Label <span style="color: #000066;">text</span>=<span style="color: #ff0000;">"7"</span> <span style="font-weight: bold; color: black;">/&gt;</span></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: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span>:HBox<span style="font-weight: bold; color: black;">&gt;</span></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: #009900;"><span style="font-weight: bold; color: black;">&lt;/mx</span>:Application<span style="font-weight: bold; color: black;">&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Abraço.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/26/dottedspacer-component/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox: web developer extension</title>
		<link>http://blog.dclick.com.br/2008/08/26/firefox-web-developer-extension-2/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/26/firefox-web-developer-extension-2/pt/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 14:56:21 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
		
		<category><![CDATA[(Sem Categoria)]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=594</guid>
		<description><![CDATA[Pra quem é web developer, não importa se é Flex, Flash, Java, HTML, e usa Firefox como browser, tem extensão que realmente torna trampo mais facil.
Plugin deixa você ter controle total sobre todos os aspectos da pagina e browser, como abilitando/desabilitando cache, estilos, conteudo, formas etc.
Web developer extension
Qunando instalado, vai aparecer dentro de Tools menu...
]]></description>
			<content:encoded><![CDATA[<p>Pra quem é <strong>web developer</strong>, não importa se é Flex, Flash, Java, HTML, e usa Firefox como browser, tem extensão que realmente torna trampo mais facil.<br />
Plugin deixa você ter controle total sobre todos os aspectos da pagina e browser, como abilitando/desabilitando cache, estilos, conteudo, formas etc.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web developer extension</a></p>
<p>Qunando instalado, vai aparecer dentro de Tools menu...</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/26/firefox-web-developer-extension-2/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Flex e PureMVC - Deferred Instantiation</title>
		<link>http://blog.dclick.com.br/2008/08/22/flex-e-puremvc-deferred-instantiation/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/22/flex-e-puremvc-deferred-instantiation/pt/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 18:11:04 +0000</pubDate>
		<dc:creator>Pablo Souza</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[puremvc]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=543</guid>
		<description><![CDATA[

Durante um trabalho recente utilizando Flex e o framework PureMVC, enfrentei um problema para registrar alguns mediators com as referências de componentes visuais que ainda não haviam sido criados durante o startup da aplicação.

Usando como exemplo um ViewStack ou um TabNavigator, onde embora vários filhos estejam definidos dentro do MXML, apenas o filho que estará [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
Durante um trabalho recente utilizando Flex e o framework PureMVC, enfrentei um problema para registrar alguns mediators com as referências de componentes visuais que ainda não haviam sido criados durante o startup da aplicação.</span></span></p>
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
Usando como exemplo um ViewStack ou um TabNavigator, onde embora vários filhos estejam definidos dentro do MXML, apenas o filho que estará visível inicialmente será instanciado, uma vez que você tenha setado o <em>creationPolicy=”auto” </em><br />
(ou não tenha setado nada, já que esse é o valor default da propriedade). Os demais filhos, portanto, serão instanciados somente à partir do momento que você navegar por eles.<br />
</span></span>
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"></p>
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;">Do ponto de vista da performance, isso seria excelente, já que o usuário poderia não navegar por todos os filhos e você estaria então poupando tempo e memória.<br />
</span></span></p>
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
Infelizmente, esse é um cenário simplista de uma aplicação e pode não ser suficiente para atender suas necessidades, já que no momento do startup nós não temos as referências de todos os componentes visuais, uma vez que eles ainda não foram criados.<br />
</span></span></p>
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
Embora nós possamos registrar todos mediators e mais tarde dar as referências dos seus respectivos componentes visuais, ou mesmo setar  <em>creationPolicy=”all”</em> (que diminuiria a performance e aumentaria o consumo de memória), isso vai de encontro com o comportamento de uma poderosa característica do Flex, chamada <em>deferred instantiation</em>.<br />
</span></span></p>
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
Seu uso traz benefícios de performance durante a inicialização da aplicação, se comparado com os exemplos anteriores, mas traz também um pouco mais de complicação para seu código. Dessa forma, é estritamente recomendado que todo desenvolvedor Flex conheça muito bem seu comportamento, não importando se está utilizando ou não o PureMVC.<br />
</span></span></p>
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
Em suma, ao invés de registrarmos todos os mediators no ApplicationMediator.as, nós o fazemos parcialmente, após a criação dos componentes visuais, com o auxílio de eventos. Ao navegar num ViewStack, por exemplo, um evento deve ser disparado informando que o filho (componente visual) foi criado, e tal evento deve ser então escutado no mediator correspondente do ViewStack. O método que será disparado por esse evento deverá registrar o mediator do filho (já que agora possuimos uma referência para o view), caso ele ainda não o esteja.</p>
<p style="margin-bottom: 0in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"><br />
Abaixo podemos observar um código que descreve o comportamento descrito acima: </span></span></p>
<p style="margin-bottom: 0.2in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"></p>
<p><strong>ApplicationMediator.as</strong></span></span></p>
<div class="igBar"><span id="lactionscript-12"><a href="#" onclick="javascript:showPlainTxt('actionscript-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-12">
<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;">override <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> onRegister<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</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; <span style="color: #66cc66;">&#123;</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; &nbsp; &nbsp; facade.<span style="color: #006600;">registerMediator</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> MainDisplayMediator<span style="color: #66cc66;">&#40;</span>app.<span style="color: #006600;">mainDisplay</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; &nbsp; &nbsp; app.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> Slacker.<span style="color: #006600;">SHOW_GALLERY</span>, onShowGallery <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; &nbsp; &nbsp; app.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> Slacker.<span style="color: #006600;">SHOW_EDITOR</span>, onShowEditor&nbsp; <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; &nbsp; &nbsp; app.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> Slacker.<span style="color: #006600;">SHOW_PROFILE</span>, onShowProfile <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; <span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p style="margin-bottom: 0.2in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"></p>
<p><strong>MainDisplay.mxml</strong></span></span></p>
<div class="igBar"><span id="lactionscript-13"><a href="#" onclick="javascript:showPlainTxt('actionscript-13'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-13">
<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;">&lt;mx:ViewStack id=<span style="color: #ff0000;">"myStack"</span> selectedIndex=<span style="color: #ff0000;">"{currentViewSelector}"</span> creationPolicy=<span style="color: #ff0000;">"auto"</span>&nbsp; <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">"100%"</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">"100%"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp;&lt;view:SplashView /&gt;</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;&lt;view:GalleryView creationComplete=<span style="color: #ff0000;">"sendEvent(GALLERY_CREATED)"</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp;&lt;view:EditorView creationComplete=<span style="color: #ff0000;">"sendEvent(EDITOR_CREATED)"</span>/&gt;</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;&lt;view:ProfileView creationComplete=<span style="color: #ff0000;">"sendEvent(PROFILE_CREATED)"</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;/mx:ViewStack&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p style="margin-bottom: 0.2in;"><span style="font-family: Verdana,sans-serif;"><span style="font-size: small;"></p>
<p><strong>MainDisplayMediator.as</strong></span></span></p>
<div class="igBar"><span id="lactionscript-14"><a href="#" onclick="javascript:showPlainTxt('actionscript-14'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-14">
<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;">override <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> onRegister<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</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; <span style="color: #66cc66;">&#123;</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; &nbsp; &nbsp; mainDisplay.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> MainDisplay.<span style="color: #006600;">GALLERY_CREATED</span>, onGalleryCreated <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; &nbsp; &nbsp; mainDisplay.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> MainDisplay.<span style="color: #006600;">EDITOR_CREATED</span>, onEditorCreated&nbsp; <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; &nbsp; &nbsp; mainDisplay.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> MainDisplay.<span style="color: #006600;">PROFILE_CREATED</span>, onProfileCreated <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; <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; &nbsp; protected <span style="color: #000000; font-weight: bold;">function</span> onGalleryCreated<span style="color: #66cc66;">&#40;</span> event:Event <span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</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; <span style="color: #66cc66;">&#123;</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; &nbsp; &nbsp; checkForMediator<span style="color: #66cc66;">&#40;</span> MainDisplay.<span style="color: #006600;">GALLERY</span>, mainDisplay.<span style="color: #006600;">activeView</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; <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;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;protected <span style="color: #000000; font-weight: bold;">function</span> checkForMediator<span style="color: #66cc66;">&#40;</span> childSelector:<span style="color: #0066CC;">Number</span>, child:<span style="color: #0066CC;">Object</span> <span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</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; <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; &nbsp; &nbsp; <span style="color: #b1b100;">switch</span> <span style="color: #66cc66;">&#40;</span>childSelector<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; &nbsp; &nbsp; <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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">case</span> MainDisplay.<span style="color: #006600;">PROFILE</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> ! facade.<span style="color: #006600;">hasMediator</span><span style="color: #66cc66;">&#40;</span> ProfileViewMediator.<span style="color: #0066CC;">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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;facade.<span style="color: #006600;">registerMediator</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> ProfileViewMediator<span style="color: #66cc66;">&#40;</span> child <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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">case</span> MainDisplay.<span style="color: #006600;">GALLERY</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> ! facade.<span style="color: #006600;">hasMediator</span><span style="color: #66cc66;">&#40;</span> GalleryViewMediator.<span style="color: #0066CC;">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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;facade.<span style="color: #006600;">registerMediator</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> GalleryViewMediator<span style="color: #66cc66;">&#40;</span> child <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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">case</span> MainDisplay.<span style="color: #006600;">EDITOR</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> ! facade.<span style="color: #006600;">hasMediator</span><span style="color: #66cc66;">&#40;</span> EditorViewMediator.<span style="color: #0066CC;">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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;facade.<span style="color: #006600;">registerMediator</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> EditorViewMediator<span style="color: #66cc66;">&#40;</span> child <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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</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; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span>&nbsp; &nbsp; &nbsp; &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;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><strong><span style="font-family: Verdana,sans-serif;"><br />
Referências:<br />
</span></strong></p>
<p><span style="font-family: Verdana,sans-serif;"><strong><a href="http://puremvc.org/pages/demos/AS3/Demo_AS3_Flex_Slacker/srcview/index.html"><br />
http://puremvc.org/pages/demos/AS3/Demo_AS3_Flex_Slacker/srcview/index.html</a></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/22/flex-e-puremvc-deferred-instantiation/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Nosso objetivo é desaparecer</title>
		<link>http://blog.dclick.com.br/2008/08/22/nosso-objetivo-e-desaparecer/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/22/nosso-objetivo-e-desaparecer/pt/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 13:56:11 +0000</pubDate>
		<dc:creator>Luciano Lobato</dc:creator>
		
		<category><![CDATA[Arquitetura da Informação]]></category>

		<category><![CDATA[Experience Design]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=553</guid>
		<description><![CDATA[Desde as CUIs (Command-line User Interface), passando pelas GUIs (Graphical User Interface), e indo na direção das NUIs (Natural User Interface), registrou-se um aumento impressionante no uso do computador como ferramenta de suporte de tarefas principalmente cognitivas, e ao mesmo tempo, uma diminuição gradativa do computador.
Não é preciso ser historiador das ciências da computação ou [...]]]></description>
			<content:encoded><![CDATA[<p>Desde as <a href="http://en.wikipedia.org/wiki/Command_line_interface">CUIs</a> (Command-line User Interface), passando pelas <a href="http://en.wikipedia.org/wiki/Graphical_user_interface">GUIs</a> (Graphical User Interface), e indo na direção das <a href="http://www.nuigroup.com/">NUIs</a> (Natural User Interface), registrou-se um aumento impressionante no uso do computador como ferramenta de suporte de tarefas principalmente cognitivas, e ao mesmo tempo, uma diminuição gradativa do computador.</p>
<p>Não é preciso ser historiador das ciências da computação ou profundo conhecedor da Interação Homem-Computador para perceber como o computador está em todo lugar atualmente. A revolução digital (clichê) já aconteceu e a computação ubíqua (o computador em todo lugar) se mostra cada vez mais próxima. Mas ao mesmo tempo, cada vez mais, o computador (tanto o hardware quanto o software) têm ficado mais invisivel para o usuário. Se o computador tem sido cada vez mais usado, ele também tem cada vez mais desaparecido. </p>
<p>Se no início, apenas os programadores mais cabeçudos conseguiam mexer nos enormes mainframes, atualmente existe um grande segmento do mercado (desde os miguxos que não param de enviar SMS até executivos de meia-idade interessados em monitorar o preço das ações) esperando pelo iPhone chegar no Brasil. E não se trata apenas de diferenças de tamanho da máquina que realiza as computações, mas principalmente do modelo de interação entre esses paradigmas e do que está no centro (foco) dessas interfaces. Enquanto nas CUIs, o usuário era obrigado a aprender a escrever uma nova linguagem arbitrária, no iPhone, <a href="http://www.youtube.com/watch?v=qw4l1ljViTU">até um bebê consegue brincar</a>. Ao invés de obrigar o usuário a aprender uma nova linguagem, é de se esperar (regra básica de usabilidade) que o desempenho da tarefa seja muito mais natural, se utilizarmos uma linguagem que ele já domine.</p>
<p>Nesse sentido, a história das tecnologias de informação e comunicação tem demonstrado que quanto menos interface, mais livre o usuário estará para alcançar seus objetivos. A interface, vista por esse ângulo, é algo extremamente negativo, funcionando como uma corrente que prende e atrasa o usuário. Quanto mais visível for as informações ou as funcionalidades (o motivo do usuário usar o software, no final das contas), mais escondida será a interface. Quanto mais invisível a interface, mais natural será o modelo de interação, melhores níveis de desempenho (eficácia e eficiência) serão alcançados na tarefa, e mais satisfatório será o uso do software. Sendo assim, o objetivo de qualquer user experience designer (arquitetos da informação, designers de interação, designers de interface etc.), deveria ser o de sumir, de fazer o seu trabalho ficar invisível para o usuário. Sabe aquelas interfaces que mais chamam a atenção? São exatamente elas que na grande maioria das vezes, são apenas decoração e depois de pouco tempo, revelam ter graves problemas de usabilidade. Um dos fatores de destaques dos aplicativos web 2.0 (ou RIAs ou seja lá como vamos chamá-los) em comparação aos antigos aplicativos que se utilizavam do modelo de hipertexto é justamente a forma mais natural do usuário interagir com a interface e dela ir sumindo aos poucos.</p>
<p><a href="http://www.edwardtufte.com/">Tufte</a>, um dos gurus da área de design de informação, em seu livro <a href="http://usabilidoido.com.br/the_visual_display_of_quantitative_information.html">The Visual Display of Quantitative Information</a>, criou o conceito de taxa de tinta de dados (<em>data-ink rate</em>), que significa a proporção da tinta de um gráfico empregada para exibição de informação. Esse conceito pode ser demonstrado matematicamente nas fórmulas:</p>
<ul>
<li>1.0 - proporção do gráfico que pode ser apagado sem perda de informações (redundância e elementos gráficos que não representam nenhum dado)</li>
<li>Tinta de dados / total de tinta para imprimir o gráfico</li>
</ul>
<p>Tufte fala para maximizar a taxa de tinta de dados dentro do possível, com o objetivo de aumentar a expressividade e a efetividade destas visualizações. Para ele, todo pedaço de tinta requer uma razão, e na grande maioria das vezes, esta razão deve ser a de apresentar informação. Gráficos devem direcionar a atenção do observador para o significado daquela representação. Um gráfico, acima de tudo, deve mostrar os dados.</p>
<p>Indo da mídia impressa para a mídia digital, Stephen Few traduz a afirmação do Tufte para o design de dashboards, criando o conceito de data-pixel ratio, ou seja, taxa de pixels de dados.</p>
<p>O conceito pode ser emprestado e utilizado na área de User Experience Design. Quanto maior a taxa de informação (conteúdo ou funcionalidade, dependendo do objetivo do aplicativo, site etc.), mais invisível a interface, e mais natural o tipo de interação e o desempenho da tarefa pelo usuário. Nosso objetivo então não é o de ganhar o Cannes ou virar case de originalidade, mas justamente o contrário, o de desaparecer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/22/nosso-objetivo-e-desaparecer/pt/feed/pt/</wfw:commentRss>
		</item>
		<item>
		<title>Como aumentar velocidade de Firefox 3 drasticamente</title>
		<link>http://blog.dclick.com.br/2008/08/22/como-aumentar-velocidade-de-firefox-3-drasticamente/pt/</link>
		<comments>http://blog.dclick.com.br/2008/08/22/como-aumentar-velocidade-de-firefox-3-drasticamente/pt/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 12:00:35 +0000</pubDate>
		<dc:creator>Emil Beli</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Otimiza&ccedil;&atilde;o]]></category>

		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.dclick.com.br/?p=541</guid>
		<description><![CDATA[Parece que FF3 tem probleminha com cache por causa de anti-phishing algoritmo. Encontrei isto no algum lugar na net, e realmente funciona.
Vai para FF preferences -> Security  e deseleciona segundo e terceiro checkbox,
"Tell me if ..."
Fecha preferencias e firefox.
Vai para settings do seu usuario onde FF guarda-los. No Windows deve ser num lugar dentro [...]]]></description>
			<content:encoded><![CDATA[<p>Parece que FF3 tem probleminha com cache por causa de anti-phishing algoritmo. Encontrei isto no algum lugar na net, e realmente funciona.</p>
<p>Vai para FF preferences -> Security  e deseleciona segundo e terceiro checkbox,<br />
"Tell me if ..."</p>
<p>Fecha preferencias e firefox.</p>
<p>Vai para settings do seu usuario onde FF guarda-los. No Windows deve ser num lugar dentro de "Dados de Aplicativos", não tenho certeza. No Linux, abre terminal e digita<br />
#> cd .mozilla/firefox<br />
e entra no diretorio da sua conta. (tem nome estranho, tipo "of6wel65.default")</p>
<p>deleta arquivos: urlclassif*.sqlite<br />
Starta firefox.</p>
<p>Isso ai.. cache vai ser recriado e reindexado e não vai influir a velocidade.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dclick.com.br/2008/08/22/como-aumentar-velocidade-de-firefox-3-drasticamente/pt/feed/pt/</wfw:commentRss>
		</item>
	</channel>
</rss>
