<?xml version="1.0" encoding="UTF-8"?>
<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>Gatellier.be &#187; Débogage</title>
	<atom:link href="http://www.gatellier.be/blog/tags/marin/debogage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gatellier.be/blog</link>
	<description>Interwebs with passion.</description>
	<lastBuildDate>Thu, 01 Jul 2010 12:17:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://www.gatellier.be/blog/?pushpress=hub'/>
		<item>
		<title>Bug: IE n&#8217;affiche pas mes CSS</title>
		<link>http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/</link>
		<comments>http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 16:58:24 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Performances]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[concatenate]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[minify]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=325</guid>
		<description><![CDATA[IE6, IE7, IE8 ne supportent pas la gestion de plus de 31 CSS dans une page web...]]></description>
			<content:encoded><![CDATA[<p>Un <a href="http://support.microsoft.com/kb/262161" hreflang="en">magnifique bug</a> (parmi de nombreux autres) existe dans Internet Explorer (IE6, IE7, IE8).</p>
<p>IE6, IE7, IE8 ne supportent pas plus de 31 fichiers <abbr title="Cascading StyleSheet" lang="en">CSS</abbr> liés dans une page html (que se soit par tag <code>&lt;link rel="stylesheet" ...&gt;</code> ou CSS <code>@import</code>).</p>
<p>Toutes les <strong>CSS venant après la 31ème seront simplement ignorées</strong>&nbsp;!</p>
<p>Ok, ça n'est pas idéal, d'un point de vue performance, de splitter ses CSS mais des fois nous n'avons pas le choix. (Ex&nbsp;: Développement Drupal avec quelques modules rajoutant chacun sa propre CSS).</p>

<h3>La solution pour Drupal&nbsp;:</h3>
<p>Un module existe (il ne loade pas de CSS propre)&nbsp;: <strong><a href="http://drupal.org/project/ie_css_optimizer">IE CSS Optimizer</a></strong> concatène les CSS trouvées dans les répertoires <code>/modules/</code> d'un projet Drupal une fois configuré et activé.</p>

<h3>Et si je n'emploie pas Drupal&nbsp;?&nbsp;:</h3>

<p>Comme Microsoft le suggère <small>[<a href="/blog/bug-ie-rendu-css-drupal/#ft-note-drupa-perf-01">1</a>]</small>&nbsp;:</p>
<p><cite lang="en">To work around this limitation, combine multiple classes into a single style tag.</cite></p>
<p><cite>Pour contourner cette limitation, combinez les différentes classes dans un seul tag style.</cite></p>
<p>Le plus simple est de vérifier si les CSS liées sont vraiment nécessaires et en supprimer si besoin. D'autres solutions de concaténation existent (voir la <a href="http://code.google.com/p/minify/" hreflang="en">librairie Minify</a>) </p>

<h4>Liens relatifs&nbsp;:</h4>
<ul>
	<li><a href="http://john.albin.net/ie-css-limits/link-test.html" hreflang="en">Testcase des différentes solutions envisageables</a></li>
	<li><a href="http://drupal.org/project/ie_css_optimizer" hreflang="en">Drupal IE CSS Optimizer Module</a></li>
	<li>via <a href="http://john.albin.net/css/ie-stylesheets-not-loading" hreflang="en">John Albin</a></li>
	<li><small>[1]</small>&nbsp;: <a href="http://support.microsoft.com/kb/262161" hreflang="en" id="ft-note-drupa-perf-01">Résolution proposée par Microsoft</a></li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2010. |
<a href="http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/">Permalink</a> |
<a href="http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/#comments">2 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/&title=Bug: IE n&#8217;affiche pas mes CSS">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/bug/" rel="tag">bug</a>, <a href="http://www.gatellier.be/blog/tag/concatenate/" rel="tag">concatenate</a>, <a href="http://www.gatellier.be/blog/tag/css/" rel="tag">CSS</a>, <a href="http://www.gatellier.be/blog/tag/drupal/" rel="tag">Drupal</a>, <a href="http://www.gatellier.be/blog/tag/ie/" rel="tag">IE</a>, <a href="http://www.gatellier.be/blog/tag/ie6/" rel="tag">IE6</a>, <a href="http://www.gatellier.be/blog/tag/ie7/" rel="tag">IE7</a>, <a href="http://www.gatellier.be/blog/tag/ie8/" rel="tag">IE8</a>, <a href="http://www.gatellier.be/blog/tag/minify/" rel="tag">minify</a>, <a href="http://www.gatellier.be/blog/tag/performances/" rel="tag">Performances</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/bug-ie-rendu-css-drupal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Retrouver la version d&#8217;un Framework JavaScript</title>
		<link>http://www.gatellier.be/blog/retrouver-version-framework-javascript/</link>
		<comments>http://www.gatellier.be/blog/retrouver-version-framework-javascript/#comments</comments>
		<pubDate>Thu, 14 May 2009 17:02:17 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=311</guid>
		<description><![CDATA[Je me dis que ça pourrait aider du monde d'avoir une compilation des méthodes pour retrouver les versions des différents frameworks JavaScript]]></description>
			<content:encoded><![CDATA[<p>Après avoir passé quelques temps à débugger le code d'un collègue, j'ai eu l'heureuse surprise de me rendre compte qu'une <strong>ancienne version d'un Framework</strong> était employée. Elle ne comprennait pas les dernières méthodes utilisées maintenant.</p>
<p>Je me dis que ça pourrait aider du monde d'avoir une compilation des méthodes pour retrouver les <strong>versions des Frameworks JavaScript</strong>.</p>
<p>Vous n'avez qu'à entrer les lignes suivantes dans une console firebug ou en faire un alerte JavaScript.</p>

<h3><a href="http://jquery.com/">jQuery</a></h3>
<pre class="brush: javascript;">
jQuery.fn.jquery;
//returns jQuery version number ie: &quot;1.2.6&quot;
</pre>

<h3><a href="http://www.prototypejs.org/">Prototype JS</a></h3>
<pre class="brush: javascript;">
Prototype.Version;
//returns Prototype version number ie: &quot;1.5.2_pre0&quot;
</pre>

<h3><a href="http://mootools.net/">Mootools</a></h3>
<pre class="brush: javascript;">
MooTools.version;
//returns MooTools version number ie: &quot;1.2.0&quot;
</pre>

<h3><a href="http://extjs.com/">ExtJS</a></h3>
<pre class="brush: javascript;">
Ext.version;
//returns ExtJS version number ie: &quot;2.2.1&quot;
</pre>

<h3>Yahoo! User Interface Library (YUI)</h3>
<h4><a href="http://developer.yahoo.com/yui/">YUI v2</a></h4>
<pre class="brush: javascript;">
YAHOO.VERSION;
//returns YUI version number ie: &quot;2.5.2&quot;
</pre>

<h4><a href="http://developer.yahoo.com/yui/3/">YUI v3</a></h4>
<pre class="brush: javascript;">
YUI().Env.meta.version;
//returns YUI version number ie: &quot;3.0.0pr2&quot;
</pre>

<h3><a href="http://www.dojotoolkit.org/">Dojo Toolkit</a></h3>
<pre class="brush: javascript;">
dojo.version;
/*
returns an object representing DOJO version number ie: &quot;1.3.0 (16807)&quot; major=1 minor=3 patch=0 revision=16807
with major, minor, patch and revision properties
dojo.version.major, dojo.version.minor, etc
*/
</pre>

<p>Si vous employez d'autres Frameworks JavaScript, n'hésitez pas à laisser un commentaire, je mettrai cette liste à jour.</p><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2009. |
<a href="http://www.gatellier.be/blog/retrouver-version-framework-javascript/">Permalink</a> |
<a href="http://www.gatellier.be/blog/retrouver-version-framework-javascript/#comments">5 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/retrouver-version-framework-javascript/&title=Retrouver la version d&#8217;un Framework JavaScript">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/retrouver-version-framework-javascript/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>IE: supprimer les alertes de sécurité en mode https</title>
		<link>http://www.gatellier.be/blog/ie-https-supprimer-alertes-de-securite-en-mode-https/</link>
		<comments>http://www.gatellier.be/blog/ie-https-supprimer-alertes-de-securite-en-mode-https/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 16:04:35 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Bonnes pratiques]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[webstandards]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[scheme]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=265</guid>
		<description><![CDATA[Internet Explorer, dans toutes ses versions, affiche une alerte de sécurité lorsque l'on visite une page, servie via le protocole de sécurité https, si celle-ci contient des ressources servies via le protocole http. Voici comment les supprimer une fois pour toute.]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer, dans toutes ses versions, affiche une <strong>alerte de sécurité</strong> lorsque l'on visite une page, servie via le <strong>protocole de sécurité <acronym title="Hypertext Transfer Protocol Secure">https</acronym></strong>, si celle-ci contient des ressources servies via le protocole <acronym title="Hypertext Transfer Protocol">http</acronym>.</p>

<h3>Alerte de sécurité sur <acronym title="Microsoft Internet Explorer">IE</acronym> &lt; 8.</h3>

<p><a href="https://noscript.be/demo/https-mixed-content-warning/"><img src="http://static.gatellier.be/i/090215/IE7-security-warning.png" width="332" height="150" alt="Capture d'écran IE7: Security Information, This page contains both secure and unsecure items. Do you want to display the nonsecure items?" /></a></p>
<dl>
	<dt><strong>Security Information</strong></dt>
	<dd>
		<p>This page contains both secure and unsecure items.</p>
		<p>Do you want to display the nonsecure items?</p>
		<p>[<em>Yes</em>] [No] [More Info]</p>
	</dd>
</dl>

<p>Ou en français&nbsp;:</p>

<dl>
	<dt><strong>Information sur la sécurité</strong></dt>
	<dd>
		<p>Cette page contient des éléments sécurisés et non sécurisés.</p>
		<p>Souhaitez-vous afficher les éléments non sécurisés&nbsp;?</p>
		<p>[<em>Oui</em>] [Non] [Plus d'infos]</p>
	</dd>
</dl>

<h3>Alerte de sécurité sur IE8b2.</h3>
<p>A l'heure actuelle, la version finale d'IE8 n'est pas encore sortie. J'ai donc fait des tests sur la version bêta 2.</p>
<p><a href="https://noscript.be/demo/https-mixed-content-warning/"><img src="http://static.gatellier.be/i/090215/IE8-security-warning.png" width="456" height="162" alt="Capture d'écran IE8b2: Security Warning, Do you want to view only the webpage content that was delivered securely?" /></a></p>
<dl>
	<dt><strong>Security Warning</strong></dt>
	<dd>
		<p><strong>Do you want to view only the webpage content that was delivered securely?</strong></p>
		<p>This webpage contains content that will not be delivered usin a secure HTTPS connection, which could compromise the security of the entire webpage.</p>
		<p>[More Info] [<em>Yes</em>] [No]</p>
	</dd>
</dl>
<p>Notez la tournure de la phrase qui est completement l'inverse du message de sécurité des versions précédantes...</p>

<h3>Examples d'alerte de sécurité.</h3>
<h4>Démonstration.</h4>
<p>J'ai mis en place une <a href="https://noscript.be/demo/https-mixed-content-warning/"><strong>page démontrant cette popup de sécurité</strong></a>. Je sais que le certificat n'est pas valable pour le domain, d'où la première alerte.</p>
<p>Cette page est servie via le protocole sécurisé https et contient un lien vers une image servie via http.</p>
<p>Sur Internet Explorer, vous devriez avoir le message d'alerte ci-dessus.</p>

<h4>Code.</h4>

<pre class="brush: html;">
&lt;div&gt;
&lt;img src=&quot;http://noscript.be/demo/https-mixed-content-warning/404.jpg&quot; alt=&quot;Un chat dans un pc démonté&quot; title=&quot;src: http://www.catswhocode.com/blog/404&quot; /&gt;
&lt;/div&gt;
</pre>


<h3>Supprimer l'alerte de sécurité une fois pour toute.</h3>
<p>Il y a plusieurs solutions pour cela. Dont une consiste à <a href="http://ask-leo.com/can_i_get_rid_of_the_this_page_contains_both_secure_and_nonsecure_items_warning.html" hreflang="en">changer les paramètres d'IE</a>.</p>
<p>Je me vois mal conseiller à mes clients de changer leurs paramètres.</p>
<p>La seule solution est d'employer correctement le <a href="http://tools.ietf.org/html/rfc1738#page-5" lang="en" hreflang="en">Common Internet Scheme Syntax</a>, en <strong>supprimant le protocole</strong>.</p>


<h4>Démonstration.</h4>
<p>Dans cet exemple, le <a href="https://noscript.be/demo/https-mixed-content-warning/fix.htm"><strong>protocole https du lien vers l'image à simplement été supprimé</strong></a>.</p>
<p>Le message de sécurité n'apparaît plus.</p>

<h4>Code.</h4>

<pre class="brush: html;">
&lt;div&gt;
&lt;img src=&quot;//noscript.be/demo/https-mixed-content-warning/404.jpg&quot; alt=&quot;Un chat dans un pc démonté&quot; title=&quot;src: http://www.catswhocode.com/blog/404&quot; /&gt;
&lt;/div&gt;
</pre>


<p>Notez que la même technique est d'application pour les fichiers <code>.swf</code> que vous pourriez avoir dans vos pages sécurisées.</p>

<pre class="brush: html;">
&lt;OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=&quot;//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;
WIDTH=&quot;550&quot; HEIGHT=&quot;400&quot; id=&quot;myMovieName&quot;&gt;
&lt;PARAM NAME=movie VALUE=&quot;myFlashMovie.swf&quot;&gt;
&lt;PARAM NAME=quality VALUE=high&gt;
&lt;PARAM NAME=bgcolor VALUE=#FFFFFF&gt;
&lt;EMBED src=&quot;/support/flash/ts/documents/myFlashMovie.swf&quot;quality=high bgcolor=#FFFFFF WIDTH=&quot;550&quot; HEIGHT=&quot;400&quot;
NAME=&quot;myMovieName&quot; ALIGN=&quot;&quot; TYPE=&quot;application/x-shockwave-flash&quot;
PLUGINSPAGE=&quot;http://www.macromedia.com/go/getflashplayer&quot;&gt;
&lt;/EMBED&gt;
&lt;/OBJECT&gt;
</pre>


<p><small>code vu sur la <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_4150" hreflang="en">base de connaissance Macromedia</a></small></p>
<p>J'ai enlevé le protocole http de l'attribut <code>codebase</code> du tag <code>object</code>.</p>
<p>Maintenant, ceux qui utilisent encore Internet Explorer (et qui devraient vraiment <a href="http://getfirefox.com/">essayer</a> <a href="http://www.apple.com/safari/">un</a> <a href="http://www.opera.com/">meilleur</a> <a href="http://www.google.com/chrome/">browser</a>) n'ont plus de raisons de se plaindre de ces messages d'alerte&nbsp;!</p>


<hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2009. |
<a href="http://www.gatellier.be/blog/ie-https-supprimer-alertes-de-securite-en-mode-https/">Permalink</a> |
<a href="http://www.gatellier.be/blog/ie-https-supprimer-alertes-de-securite-en-mode-https/#comments">2 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/ie-https-supprimer-alertes-de-securite-en-mode-https/&title=IE: supprimer les alertes de sécurité en mode https">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/https/" rel="tag">https</a>, <a href="http://www.gatellier.be/blog/tag/ie/" rel="tag">IE</a>, <a href="http://www.gatellier.be/blog/tag/scheme/" rel="tag">scheme</a>, <a href="http://www.gatellier.be/blog/tag/security/" rel="tag">security</a>, <a href="http://www.gatellier.be/blog/tag/url/" rel="tag">url</a>, <a href="http://www.gatellier.be/blog/tag/warning/" rel="tag">warning</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/ie-https-supprimer-alertes-de-securite-en-mode-https/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Taux de p&#233;n&#233;tration de Firefox 3, deux semaines apr&#232;s.</title>
		<link>http://www.gatellier.be/blog/taux-penetration-firefox3-semaine2/</link>
		<comments>http://www.gatellier.be/blog/taux-penetration-firefox3-semaine2/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 20:52:32 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Dragonfly]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[webstandards]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[firefox3]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[penetration rate]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/taux-penetration-firefox3-semaine2/</guid>
		<description><![CDATA[Firefox 3 est sorti depuis deux, on a pu remarquer quelques comportements bizarres dont un bug de rendu sur les background-images. Suite des statistiques sur le taux de pénétration de Firefox 3.]]></description>
			<content:encoded><![CDATA[<p>Voici maintenant deux semaines que Firefox 3 est sorti, on a pu correctement se faire la main sur le panda et remarquer quelques comportements bizarres (et pour certains certains de mes coll&egrave;gues quelques crashes intempestifs).</p>

<h3>Bug de rendu de background-images</h3>
<p><img src="http://z.gatellier.be/i/080702/bug-background-image-firefox3.png" alt="Bug de rendu de background-images dans Firefox 3" /></p>
<p>Je suis tomb&eacute; aujourd'hui sur un <strong>bug myst&eacute;rieux de background-image mal rendue</strong>. L'image de fond des list-items est &eacute;videmment la m&ecirc;me, le premier rendu &eacute;tant le bon. Le <a href="http://www.nivas.hr/blog/2008/06/18/firefox-3-blurring-mystery/" hreflang="en">bug est connu</a> (depuis au moins le <a href="http://www.nivas.hr/blog/2008/04/08/firefox-3-beta-5-blurring-images/" hreflang="en">mois d'avril</a>) et devrait &ecirc;tre <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=433640" hreflang="en">corrig&eacute; dans la prochaine version de Firefox</a>.</p>

<h3>Taux de p&eacute;n&eacute;tration de Firefox 3 - suite</h3>
<h4>Semaine 2 - les navigateurs visitant ce blog&nbsp;:</h4>

<p><a href="http://z.gatellier.be/i/080702/gatellierbe_browsers.csv"><img src="http://z.gatellier.be/i/080702/gatellierbe_browsers.png" alt="Partage des navigateurs" /></a><br />
Navigateurs 25/06/2008 - 1/07/2008</p>

<p><a href="http://z.gatellier.be/i/080702/gatellierbe_firefox_usage.csv"><img src="http://z.gatellier.be/i/080702/gatellierbe_firefox_usage.png" alt="P&eacute;n&eacute;tration Firefox" /></a><br />
P&eacute;n&eacute;tration Firefox 25/06/2008 - 1/07/2008</p>

<p><a href="http://z.gatellier.be/i/080702/gatellierbe_ie_usage.csv"><img src="http://z.gatellier.be/i/080702/gatellierbe_ie_usage.png" alt="P&eacute;n&eacute;tration Internet Explorer" /></a><br />
P&eacute;n&eacute;tration Internet Explorer 25/06/2008 - 1/07/2008</p>

<h5>Analyse&nbsp;:</h5>
<p>Je sais tr&egrave;s bien que les donn&eacute;es r&eacute;colt&eacute;es sur deux semaines et sur un blog technologique ne sont pas du tout repr&eacute;sentatives.</p>
<p>N&eacute;anmoins, la majorit&eacute; des <strong>visiteurs de ce blog emploient &agrave; pr&eacute;sent Firefox 3 (29,4%)</strong> suivi de tr&egrave;s pr&egrave;s par les versions de Firefox 2 (26,4%) puis IE7 (25,3%) et enfin IE6 (12,1%).</p>
<p>Par rapport &agrave; <a href="/blog/taux-penetration-firefox3-semaine1/">la semaine derni&egrave;re</a>, l'avanc&eacute;e est belle&nbsp;!</p>

<h4>Semaine 2 - les navigateurs visitant un site tout public&nbsp;:</h4>

<p><a href="http://z.gatellier.be/i/080702/sitebe_browsers.csv"><img src="http://z.gatellier.be/i/080702/sitebe_browsers.png" alt="Partage des navigateurs" /></a><br />
Navigateurs 25/06/2008 - 1/07/2008</p>

<p><a href="http://z.gatellier.be/i/080702/sitebe_firefox_usage.csv"><img src="http://z.gatellier.be/i/080702/sitebe_firefox_usage.png" alt="P&eacute;n&eacute;tration Firefox" /></a><br />
P&eacute;n&eacute;tration Firefox 25/06/2008 - 1/07/2008</p>

<p><a href="http://z.gatellier.be/i/080702/sitebe_ie_usage.csv"><img src="http://z.gatellier.be/i/080702/sitebe_ie_usage.png" alt="P&eacute;n&eacute;tration Firefox" /></a><br />
P&eacute;n&eacute;tration Internet Explorer 25/06/2008 - 1/07/2008</p>

<h5>Analyse&nbsp;:</h5>
<p>Entre ces deux semaines, sur un site grand public sur lequel je ne peux malheureusement pas donner plus d'infos, pas des masses d'&eacute;volutions sur les r&eacute;partitions des browsers.</p>
<p>Par contre, dans l'ensemble des visites sur Firefox, on voit une <strong>avanc&eacute;e notoire</strong> de la part de march&eacute; de la version 3 (<strong>de 8,9% &agrave; 26,7%</strong> - et ce au d&eacute;triment de Firefox 2). Pas mal non plus&nbsp;!</p>

<p><small>Merci encore &agrave; <a href="http://www.chacsam.be/2008/06/27/penetration-de-firefox-3/">Chacsam</a>, <a href="http://www.expressions.be/2008/06/30/mes-stats-firefox-30/">Gaetano</a> <a href="http://www.gwix.net/blog/fr/statistiques/adoption-firefox-3.asp">Laurent</a> pour leurs statistiques.</small></p>


<h3>Autres nouvelles du monde des navigateurs&nbsp;:</h3>
<h4>Mise &agrave; jour pour Firefox 2&nbsp;:</h4>
<p>La branche 2 de Firefox est pass&eacute;e en version 2.0.0.15 suite &agrave; des <strong><a href="http://www.mozilla.org/projects/security/known-vulnerabilities.html#firefox2.0.0.15" hreflang="en">failles de s&eacute;curit&eacute;</a></strong>. Je vous recommande donc vivement de mettre &agrave; jour si vous &ecirc;tes toujours sur Firefox 2.</p>

<h4>Opera Dragonfly est disponible en alpha 2&nbsp;:</h4>
<p>Le d&eacute;veloppement du <a href="http://my.opera.com/dragonfly/blog/" hreflang="en">firebug-like d'Opera</a> (tr&egrave;s prometteur) avance &agrave; grand pas.</p>

<h4>Trop d'internautes emploient un navigateur non s&eacute;curis&eacute;&nbsp;:</h4>
<p>Selon <a href="http://www.zdnet.fr/actualites/internet/0,39020774,39382108,00.htm" hreflang="fr">ZDNet</a>, seulement <strong>52% des utilisateurs</strong> d'Internet Explorer seulement ont opt&eacute;s pour IE7, le reste &eacute;tant squatt&eacute; par des anciennes versions (brrr). </p>
<p>Pour moi, un nombre tellement important d'utilisateurs d'anciennes versions ne peut s'expliquer que par du <strong>code non standard</strong>, d'intranets et autres applications internet d&eacute;velopp&eacute;s il y a un bout de temps for&ccedil;ant les soci&eacute;t&eacute;s &agrave; garder une <strong>version obsol&egrave;te d'Internet Explorer</strong>.</p>
<p>Une initiative est n&eacute;e pour <a href="http://www.savethedevelopers.org/" hreflang="en">sauver les d&eacute;veloppeurs</a>.</p><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2008. |
<a href="http://www.gatellier.be/blog/taux-penetration-firefox3-semaine2/">Permalink</a> |
<a href="http://www.gatellier.be/blog/taux-penetration-firefox3-semaine2/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/taux-penetration-firefox3-semaine2/&title=Taux de p&eacute;n&eacute;tration de Firefox 3, deux semaines apr&egrave;s.">del.icio.us</a>
<br/>
Post tags: <a href="http://www.gatellier.be/blog/tag/browser/" rel="tag">browser</a>, <a href="http://www.gatellier.be/blog/tag/firefox/" rel="tag">Firefox</a>, <a href="http://www.gatellier.be/blog/tag/firefox3/" rel="tag">firefox3</a>, <a href="http://www.gatellier.be/blog/tag/ie/" rel="tag">IE</a>, <a href="http://www.gatellier.be/blog/tag/opera/" rel="tag">Opera</a>, <a href="http://www.gatellier.be/blog/tag/penetration-rate/" rel="tag">penetration rate</a>, <a href="http://www.gatellier.be/blog/tag/stats/" rel="tag">stats</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/taux-penetration-firefox3-semaine2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#201;diter le fichiers HOSTS sur MacOSX et Windows</title>
		<link>http://www.gatellier.be/blog/editer-fichier-hosts-macosx-windows/</link>
		<comments>http://www.gatellier.be/blog/editer-fichier-hosts-macosx-windows/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 18:07:11 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Débogage]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[utilitaire]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=179</guid>
		<description><![CDATA[Le fichier HOSTS est l'équivalent d'une mini-base de donnée DNS contenant les informations pour retrouver les adresses IP en fonction des noms de domaines. Editer son fichier HOSTS sous MacOSX Sous MacOSX, il faut ouvrir une console Terminal. Pour pouvoir éditer le fichier hosts, dans la console, il faut lancer la commande : sudo pico [...]]]></description>
			<content:encoded><![CDATA[<p>Le fichier HOSTS est l'équivalent d'une mini-base de donnée <acronym title="Domain Name Server">DNS</acronym> contenant les informations pour retrouver les adresses IP en fonction des noms de domaines.</p>
<h3>Editer son fichier <kbd>HOSTS</kbd> sous MacOSX</h3>
<p class="centered"><a href="/blog/blog/?pp_album=1&#038;pp_image=macosx-sudo-pico-etc-hosts.png"><img src="/blog/wp-content/photos/macosx-sudo-pico-etc-hosts.png" alt="Console Terminal MacOSX édition du fichier HOSTS" title="Console Terminal MacOSX édition du fichier HOSTS" /></a></p>
<p>Sous MacOSX, il faut ouvrir une console Terminal.</p>
<p>Pour pouvoir éditer le fichier hosts, dans la console, il faut lancer la commande :<br />
<strong><kbd>sudo pico /etc/hosts</kbd></strong><br />
(il faut avoir le mot de passe de l'administrateur local de votre Mac).</p>
<p>Entrez les lignes désirées, sauvez vos modifications via le raccourcis clavier <strong><kbd>CTRL+O</kbd></strong> et enfin fermez la console avec <strong><kbd>CTRL+X</kbd></strong></p>
<h3>Editer son fichier <kbd>HOSTS</kbd> sous MS Windows</h3>
<p>Sous Windows, c'est assez facile de trouver le fichier et de le modifier.</p>
<p>Sous MS Windows, ce fichier se trouve dans le répertoire: <strong><kbd>C:\WINDOWS\system32\drivers\etc\</kbd></strong> où il suffit d'ouvrir le fichier <kbd>HOSTS</kbd> (qui n'a pas d'extension) avec un éditeur de texte et de rajouter adresses ip et nom de domaine, de sauver ce fichier et eventuellement redémarrer son navigateur.</p>
<div class="tip">
<h4>Astuce : Le raccourcis d'édition du fichier HOSTS</h4>
<p>On peut éditer très facilement le fichier HOSTS sur Windows en créant simplement un raccourcis spécifique.</p>
<p>Ce raccourcis aura comme target :<br />
<kbd>"C:\Program Files\Windows NT\Accessories\wordpad.exe" C:\WINDOWS\SYSTEM32\DRIVERS\etc\HOSTS</kbd></p>
<p>Et devra démarrer dans le répertoire :<br />
<kbd>C:\%SystemRoot%\SYSTEM32\DRIVERS\ETC</kbd></p>
</div>
<h4>En savoir plus :</h4>
<ul>
<li><a href="http://www.commentcamarche.net/faq/sujet-5993-modifier-son-fichier-hosts">le fichier HOSTS, comment ça marche ?</a></li>
</ul>
<hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2007. |
<a href="http://www.gatellier.be/blog/editer-fichier-hosts-macosx-windows/">Permalink</a> |
<a href="http://www.gatellier.be/blog/editer-fichier-hosts-macosx-windows/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/editer-fichier-hosts-macosx-windows/&title=&#201;diter le fichiers HOSTS sur MacOSX et Windows">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/editer-fichier-hosts-macosx-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Valider son code (X)HTML avec Tidybot</title>
		<link>http://www.gatellier.be/blog/valider-code-x-html-avec-tidybot/</link>
		<comments>http://www.gatellier.be/blog/valider-code-x-html-avec-tidybot/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 16:02:15 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[productivité]]></category>
		<category><![CDATA[utilitaire]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=159</guid>
		<description><![CDATA[Tidybot vous permet de vérifier rapidement la validité de la syntaxe de vos pages web tout en n'étant pas connecté à internet. Spécifiez les répertoires à valider, et scannez. Tidybot génèrera un rapport complet pour les pages contenant des erreurs de syntaxe (x)html voir l'exemple de rapport de page Tidybot. Des paramètres avancés vous permettent [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kronto.org/tidybot/" hreflang="en" lang="en"><strong>Tidybot</strong></a> vous permet de <strong>vérifier rapidement la validité de la syntaxe</strong> de vos pages web tout en n'étant pas connecté à internet.</p>

<p style="text-align:center;"><a href="/blog/?pp_album=1&amp;pp_image=tidybot_screenshot.png"><img src="/blog/wp-content/photos/tidybot_screenshot.png" alt="Capture d'écran de l'application Tidybot" title="Capture d'écran de l'application Tidybot" /></a></p>

<p>Spécifiez les répertoires à valider, et scannez. Tidybot génèrera un rapport complet pour les pages contenant des erreurs de syntaxe (x)<abbr title="HyperText Markup Language" lang="en">html</abbr> voir <a href="/blog/posts/2007/01/tidybot/tidybot.html" hreflang="en">l'exemple de rapport de page Tidybot</a>.</p>

<p>Des paramètres avancés vous permettent de spécifier, entre autres, de ne pas afficher tel type fichier ou tels types d'erreurs.</p>

<p>Dommage seulement de ne pas pouvoir vérifier des pages en ligne. Disponible pour Window et Unix avec ou sans interface</p>

<h3>Liens relatifs&nbsp;:</h3>
<ul>
	<li>La page du validateur <a href="http://www.kronto.org/tidybot/" hreflang="en" lang="en">Tidybot</a></li>
	<li>L'<a href="/blog/posts/2007/01/tidybot/tidybot.html" hreflang="en">exemple de rapport</a> de page tidybot</li>
	<li>Via&nbsp;: l'excellent <a href="http://www.wats.ca/show.php?contentid=46"><abbr title="Web Accessibility Technical Services" lang="en">WATS</abbr>.ca</a> (excellente ressource d'outils de développement).</li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2007. |
<a href="http://www.gatellier.be/blog/valider-code-x-html-avec-tidybot/">Permalink</a> |
<a href="http://www.gatellier.be/blog/valider-code-x-html-avec-tidybot/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/valider-code-x-html-avec-tidybot/&title=Valider son code (X)HTML avec Tidybot">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/valider-code-x-html-avec-tidybot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Charles sniffe de l&#8217;Ajax et du swf</title>
		<link>http://www.gatellier.be/blog/charles-sniffe-ajax-et-swf/</link>
		<comments>http://www.gatellier.be/blog/charles-sniffe-ajax-et-swf/#comments</comments>
		<pubDate>Tue, 17 Oct 2006 16:17:58 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[browsing]]></category>
		<category><![CDATA[productivité]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[utilitaire]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=146</guid>
		<description><![CDATA[non je ne parles pas de mon (plus si) petit voisin On a vu récemment que sous Firefox, il était très facile de tracer les requêtes Ajax avec l'extension Firebug. Et pour Internet Explorer? Il existe une application multi platforme (Win/MacOS/Linux) qui permet de renifler tout le traffic passant par les navigateurs. Le nom de [...]]]></description>
			<content:encoded><![CDATA[<p><small>non je ne parles pas de mon (plus si) <a href="http://www.pakpak.be/Charles_Coppin.jpg">petit voisin</a></small></p>
<p>On a vu récemment que sous Firefox, il était très facile de <a href="/blog/je-redecouvre-firebug-debogage-facile/" hreflang="fr">tracer les requêtes Ajax avec l'extension Firebug</a>.</p>

<p align="center"><a href="http://xk72.com/charles/"><img src="/blog/wp-content/photos/charles.png" alt="Splash Screen de Charles Web Debugging Proxy" title="Splash Screen de Charles Web Debugging Proxy" border="0" /></a></p>

<h3>Et pour Internet Explorer?</h3>

<p>Il existe une application multi platforme (Win/MacOS/Linux) qui permet de renifler tout le traffic passant par les navigateurs. Le nom de ce bonheur pour les développeurs: <strong><a href="http://xk72.com/charles/" hreflang="en">Charles</a></strong></p>
<p>Une fois installé et activé, Charles se comporte comme un serveur proxy et enregistre les différentes requêtes <acronym title="HyperText Transfer Protocol">HTTP</acronym></p>

<p align="center"><a href="/blog/?pp_album=1&amp;pp_image=charles_results.png"><img src="/blog/wp-content/photos/charles_results.png" alt="Charles Web Debugging Proxy: résultat d'analyse" title="Charles Web Debugging Proxy: résultat d'analyse" border="0" /></a></p>

<p>L'analyse des données de la partie droite de l'écran permet de retrouver une foule d'informations sur la ressource demandée. Dans ce cas-ci, il s'agissait d'un flux <acronym title="Résumé Systématique de Site ;)">RSS</acronym>.</p>
<p>L'onglet Général nous indique tout ce qui est relatif au fichier demandé lui-même (taille, vitesse de téléchargement, etc), l'onglet Request reprend ce que le browser a demandé au serveur, et l'onglet Response reprend ce que le serveur a répondu.</p> <p>Exactement ce qu'on cherche pour <strong>déboguer nos applications Ajax</strong>.</p>

<p>Comme ce programme se comporte comme un proxy, il capture <em>tous</em> le traffic, même les requêtes qui sont faites par des fichier .swf tels <a href="/blog/diaporama-html-javascript-flash-slideshowpro/trackback/">des diaporamas</a> ou des <a href="http://vego.be/">applications FlashComm</a></p>

<p>Quand je vous disais que c'était le bonheur&nbsp;!</p>
<p>Disponible sur le <a href="http://xk72.com/charles/">site du développeur</a>, la version d'essais est tout à fait fonctionnelle sauf qu'elle s'arrête après trente minutes (assez pour certains). Sinon, l'application coûte US$50,-. Pas si cher que ça.</p>
<h4>Liens relatifs</h4>
<ul>
<li><strong><a href="http://xk72.com/charles/" hreflang="en">Charles Web Debugging Proxy</a></strong></li>
<li><a href="/blog/je-redecouvre-firebug-debogage-facile/">Déboguer grâce à Firebug</a></li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2006. |
<a href="http://www.gatellier.be/blog/charles-sniffe-ajax-et-swf/">Permalink</a> |
<a href="http://www.gatellier.be/blog/charles-sniffe-ajax-et-swf/#comments">6 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/charles-sniffe-ajax-et-swf/&title=Charles sniffe de l&#8217;Ajax et du swf">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/charles-sniffe-ajax-et-swf/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Je (re)découvre Firebug ou le débogage facile</title>
		<link>http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/</link>
		<comments>http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/#comments</comments>
		<pubDate>Wed, 11 Oct 2006 16:11:26 +0000</pubDate>
		<dc:creator>Marin</dc:creator>
				<category><![CDATA[Addons]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Débogage]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[emakina]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[productivité]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.gatellier.be/blog/?p=144</guid>
		<description><![CDATA[En préparant un petit article, je suis tombé sur cette vidéo qui montre comment déboguer avec Firebug. Je suis presque tombé de ma chaise. Je ne connaissais pas la moitié des capacités de cette merveilleuse extension de débogage pour FireFox, que j'emploie quand même depuis un bout de temps (v0.2 si les souvenirs sont bons). [...]]]></description>
			<content:encoded><![CDATA[<p>En préparant un petit article, je suis tombé sur <a href="http://www.digitalmediaminute.com/screencast/firebug-js/">cette vidéo qui montre comment déboguer avec Firebug</a>.</p>

<p>Je suis presque tombé de ma chaise. Je ne connaissais pas la moitié des capacités de cette merveilleuse <a href="https://addons.mozilla.org/firefox/1843/">extension de débogage pour FireFox</a>, que j'emploie quand même depuis un bout de temps (v0.2 si les souvenirs sont bons).</p>

<p>Avant, je ne l'employais que pour <strong>tracer mes appels Ajax</strong> et les réponses du serveur et tester des variables et fonctions, le tout dans la console.</p>
<p>Je n'avais pas vraiment vu la puissance du débogueur.</p>
<h3>Une petit explication s'impose.</h3>
<p>Pour que Firebug s'arrête à chaque erreur, il faut que l'option soit activée. (onglet "Debugger", menu "Options").</p>
<p style="text-align:center;"><a href="/blog/?pp_album=1&#038;pp_image=option_activation_debogage_firebug.png"><img border="0" alt="L'option pour activer le débogueur de Firebug" title="L'option pour activer le débogueur de Firebug" src="/blog/wp-content/photos/option_activation_debogage_firebug.png" /></a></p>
<p>Je pensais que toutes les options étaient regroupées à un seul endroit. Soit, je m'encroûte, soit l'interface n'est pas super parlante.</p>

<p>Bon maintenant regardons tout ce que l'on peut faire avec ce débogueur.</p>

<p>Le principe est le suivant : on appelle des méthodes de l'objet console en lui passant des paramètres.</p>

<p>
<code>console.log("message" [,objects])</code><br />
<code>console.debug("message" [,objects])</code><br />
<code>console.info("message" [,objects])</code><br />
<code>console.warn("message" [,objects])</code><br />
<code>console.error("message" [,objects])</code><br />
etc...</p>

<p>La <a href="http://www.joehewitt.com/software/firebug/docs.php"><strong>liste complète des méthodes de Firebug</strong></a> est bien évidemment disponible en ligne.</p>

<p>Vraiment bien fait ces petites méthodes (surtout celles qui permettent d'évaluer le temps qu'un javascript met).</p>

<p>Adopté par toute l'équipe des intégrateurs, et certains développeurs. Merci Joe Hewitt !</p>
<h4>Liens relatifs :</h4>
<ul>
	<li><a href="https://addons.mozilla.org/firefox/1843/">Firebug, l'extension de débogage pour Firefox</a></li>
	<li>Le <a href="http://www.joehewitt.com/">blog du développeur</a> de l'extension Firefox</li>
	<li>La <a href="http://www.digitalmediaminute.com/screencast/firebug-js/"><strong>vidéo explicative</strong></a> - qui m'a révélé le potentiel de Firebug</li>
	<li>Un autre <a href="http://encytemedia.com/blog/articles/2006/05/12/an-in-depth-look-at-the-future-of-javascript-debugging-with-firebug">article intéressant sur Firebug</a></li>
</ul><hr />
<p><small>© Marin for <a href="http://www.gatellier.be/blog">Gatellier.be</a>, 2006. |
<a href="http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/">Permalink</a> |
<a href="http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/&title=Je (re)découvre Firebug ou le débogage facile">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.gatellier.be/blog/je-redecouvre-firebug-debogage-facile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
