<?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>Phollow.me &#187; web</title>
	<atom:link href="http://phollow.fr/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://phollow.fr</link>
	<description>Un blog sur les nouvelles technologies, des tutoriaux, des comparaisons que ca soit sur le web, la programmation ou linux.</description>
	<lastBuildDate>Sat, 04 Feb 2012 21:42:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Enlarge your police</title>
		<link>http://phollow.fr/2012/02/enlarge-your-police/</link>
		<comments>http://phollow.fr/2012/02/enlarge-your-police/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 21:42:16 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[typographie]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[police]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3869</guid>
		<description><![CDATA[Rien à voir avec les spams de Viagra. Non. Sous ce titre un peu malicieux, je tenais à vous parler d’une chose que je ne supporte plus : les tailles de texte minuscules dans les pages html. Cette impression d’avoir sous les yeux le dictionnaire Édition Larousse en lisant un article de blog. Pourtant je [...]]]></description>
			<content:encoded><![CDATA[<figure>
<figcaption style="top:-96px;"><img style="margin-top:0;" src="http://phollow.fr/wp-content/uploads/2012/02/necroscope.jpg" alt="" title="necroscope" width="580" height="773" class="alignnone size-full wp-image-3898"></figcaption>
</figure>
<p style="margin-bottom: 0" class="lettrine">Rien à voir avec les spams de Viagra. Non. Sous ce titre un peu malicieux, je tenais à vous parler d’une chose que je ne supporte plus : les tailles de texte minuscules dans les pages <abbr>html</abbr>. Cette impression d’avoir sous les yeux le dictionnaire Édition Larousse en <em>lisant</em> un article de blog.</p>
<p style="text-indent:2.3em;margin-bottom:0;">Pourtant je ne pense pas qu’il soit plus difficile de lire sur un écran que de lire un livre. Il suffit de <em>copier</em> la façon dont les livres mettent en page le texte.</p>
<p style="text-indent:2.3em;">Pour être un peu plus précis, le problème se situe souvent sur le nombre de caractères que contient une ligne de texte. La taille de la police sera donc à priori proportionnelle à la largeur de son conteneur.</p>
<h3>Être lu comme on lit un livre</h3>
<p style="margin-bottom:0;">Partons d’un constat simple : je suppose que pour vous aussi il est plus facile de lire un bouquin que de lire pendant pas mal de temps sur votre écran d’ordinateur. Le premier argument pour ça est de dire que c’est l’écran qui fatigue les yeux. Pour moi la vraie raison est la taille minuscule des typos sur le net.</p>
<p style="text-indent:2.3em;">Depuis plusieurs jours j’ai une <em>obsession</em>. Je compare les articles de blog à des livres de ma bibliothèque. Et souvent je vois la même chose : on est largement <strong>en dessous des 16px</strong> par défaut des navigateurs. À croire que les designers cherchent à mettre le plus d’informations possible dans le moins d’espace possible. Ça peut marcher pour quelques applications web mais pas pour une longue lecture.</p>
<h3>Le nombre optimal de caractères par lignes</h3>
<p style="margin-bottom:0;">Tout est une histoire de rythme. Si une ligne est trop longue, le lecteur aura du mal à bien voir où une ligne commence et termine. Ça sera plus difficile de trouver la prochaine ligne sur de long bloc de texte. Pas top pour se concentrer dessus.</p>
<p style="text-indent:2.3em;">Inversement, des lignes trop courtes cassent le rythme de lecture. Elle se retrouve artificiellement accélérée et le lecteur sautera parfois des mots (pouvant être important à la compréhension).</p>
<blockquote style="margin-bottom:0"><p style="margin-bottom:0">Anything from 45 to 75 characters is widely regarded as a satisfactory length of line for a single-column page set in a serifed text face in a text size. The 66-character line (counting both letters and spaces) is widely regarded as ideal. For multiple column work, a better average is 40 to 50 characters.</p>
</blockquote>
<p><cite style="color:#99968A;">— The Elements <em>of</em> Typographic Style Applied <em>to the</em> Web <sup style="height: 0;line-height: 1;vertical-align: baseline;position: relative;bottom:1ex;">*</sup></cite></p>
<p style="margin-bottom: 0">La bonne pratique est donc d’avoir environ <strong>66 caractères par lignes</strong>, en comptant les espaces aussi. Le <abbr>css</abbr> avec les media-queries deviennent indispensables sur une page fluide, la largeur des colonnes de texte pouvant changer selon la résolution.<br /><em>Je dois d’ailleurs améliorer pas mal ça sur mon blog.</em></p>
<h3>Autres considérations</h3>
<p style="margin-bottom: 0;">Ne pas hésiter à utiliser des interlignes amples dans vos textes. En utilisant la propriété <abbr>css</abbr> <span class="code">line-height</span> avec un coefficient sans unité. Par exemple 1.5 est une bonne base, à ajuster suivant la police.</p>
<p style="text-indent: 2.3em;margin-bottom: 0;">Les nouveaux paragraphes doivent être bien marqués. On peut utiliser des lettrines, de l’indentation, un pied-de-mouche (❡) ou simplement un saut de ligne.</p>
<p style="text-indent: 2.3em;margin-bottom:0;">Éviter la justification sur des colonnes de textes minces. Mais généralement la justification sur le web ne <em>fonctionne pas</em>. À cause du support des <a href="http://phollow.fr/2011/10/les-cesures-dans-le-web/" title="césures">césures</a> encore aléatoire, du manque de crénage (kerning) automatique et des ligatures (on y vient avec Firefox <sup style="height: 0;line-height: 1;vertical-align: baseline;position: relative;bottom:0.5ex;">†</sup>).</p>
<p style="text-indent: 2.3em;">Enfin les polices <strong>serifs</strong> facilitent la lecture. Boudées pendant un temps à cause des résolutions assez basses de nos écrans, elles sont parfaitement <a href="http://phollow.fr/2011/10/mes-polices-web-preferees-serifs/" title="serifs">utilisables</a> de nos jours.</p>
<h3>Conclusion</h3>
<p>Voilà pourquoi j’ai augmenté la taille du texte ici. Si votre navigateur à une taille de police de 16px par défaut, alors ce texte devrait faire 20px. Et si vous avez lu mon article jusque ici, j’aurai gagné une partie de mon pari.</p>
<p><em>Et promis j’arrête de vous faire chier avec la typographie avant un bout de temps.</em></p>
<p style="text-align:center;font-size: 2em;">❧</p>
<section class="footnotes" style="color:#99968A;font-size:0.8em;">
<p><sup style="height: 0;line-height: 1;vertical-align: baseline;position: relative;bottom:1ex;">*</sup> Une lecture que je conseille fortement, plein de conseils et de bonnes pratiques sur la typographie adaptée à l’usage du web – <a href="http://webtypography.net/Rhythm_and_Proportion/Horizontal_Motion/2.1.2/" title="Choose a comfortable measure" target="_blank">source</a></p>
<p><sup style="height: 0;line-height: 1;vertical-align: baseline;position: relative;bottom:1ex;">†</sup> Using OpenType font features with CSS 3: Part 1 – <a href="http://blog.fontdeck.com/post/15777165734/opentype-1" target="_blank">source</a></p>
</section>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2011/01/je-suis-contre-le-single-line-css/" rel="bookmark" class="crp_title">Je suis contre le single-line CSS</a><span class="crp_excerpt"> La façon de coder est très personnelle. Ce billet n'a ...</span></li><li><a href="http://phollow.fr/2011/04/wallpapers-of-the-week-18/" rel="bookmark" class="crp_title">Wallpapers of the Week</a><span class="crp_excerpt"> Ça faisait longtemps et c'est reparti pour un tour. Toujours ...</span></li><li><a href="http://phollow.fr/2009/12/wallpapers-of-the-week-6/" rel="bookmark" class="crp_title">Wallpapers of the week</a><span class="crp_excerpt"> J'ai réussi à vous trouver cette semaine de nouveaux fonds ...</span></li><li><a href="http://phollow.fr/2009/11/wallpapers-of-the-week-5/" rel="bookmark" class="crp_title">Wallpapers of the week</a><span class="crp_excerpt"> On ne change pas les habitudes, nouvelle semaine, donc une ...</span></li><li><a href="http://phollow.fr/2009/10/wallpapers-of-the-week-3/" rel="bookmark" class="crp_title">Wallpapers of the week</a><span class="crp_excerpt"> Nouvelle session wallpapers of the week. Avec cette semaine 3 ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2012/02/enlarge-your-police/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mes polices web préférées [sans-serif]</title>
		<link>http://phollow.fr/2011/11/mes-polices-web-preferees-sans-serif/</link>
		<comments>http://phollow.fr/2011/11/mes-polices-web-preferees-sans-serif/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 12:35:38 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[typographie]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[sans-serif]]></category>
		<category><![CDATA[typekit]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3764</guid>
		<description><![CDATA[Après un premier article sur les polices de types serif, je continue sur ma lancée avec cette fois-ci les sans-serifs. Ce type de police n’a pas d’empattements, d’où leur nom. En français on les appellent aussi polices linéales. Elles ont été longuement privilégiées pour le corps de texte sur les écrans, car à l’époque les [...]]]></description>
			<content:encoded><![CDATA[<p>Après un <a title="Mes polices web preferees serifs" href="http://phollow.fr/2011/10/mes-polices-web-preferees-serifs/">premier article</a> sur les polices de types <strong>serif</strong>, je continue sur ma lancée avec cette fois-ci les <strong>sans-serifs</strong>. Ce type de police n’a pas d’empattements, <em>d’où leur nom</em>. En français on les appellent aussi polices <strong>linéales</strong>. Elles ont été longuement privilégiées pour le corps de texte sur les écrans, car à l’époque les écrans analogiques et la basse résolution ne rendaient pas l’affichage d‘une serif optimale. La nature simple des polices linéales fait qu’elles sont mieux lisibles sur ce type d’écran. De nos jours avec nos écrans LCD, l’antialiasing etc., ce n'est plus vrai je trouve.</p>
<p>Aujourd’hui je vais donc vous montrer quelques polices sans empattements que je trouve plutôt cool. Donc si vous en avez un peu marre <em>d’Helvetica</em> ou <em>d’Arial</em>, n’hésitez pas à les tester. Ces fonts ont été trouvés, à l’image de l’article précédent, sur <a title="Typekit" href="http://typekit.com">Typekit</a>.</p>
<h3>LFT Etica Web &amp; PT Sans</h3>
<p><strong>LFT Etica Web</strong> est une police moins froide que ces consoeurs, presque de type humaniste. Elle se décline sous 16 graisses/styles différents et peut être utilisée pour du texte ou des <em>headings</em>.</p>
<p><img src="http://phollow.fr/wp-content/uploads/2011/11/LFTEtica_0-640x285.gif" alt="" title="LFTEtica_0" width="640" height="285" class="alignnone size-medium wp-image-3788"></p>
<p><strong>PT Sans</strong> est une font au look moderne et humaniste. Là encore, elle possède plusieurs familles et styles et peut donc s’adapter à l’usage. Par exemple la famille <em>caption</em> sera utilisée pour les petits textes.</p>
<p><img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-29-à-13.27.532.jpg" alt="" title="Capture d’écran 2011-11-29 à 13.27.53" class="alignnone size-full wp-image-3793"></p>
<figure>
<p><a href="http://jonikorpi.com" target="_blank"><img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-29-à-13.06.37-640x463.jpg" alt="" title="Joni Korpi" width="640" height="463" class="alignnone size-medium wp-image-3782"></a></p>
<figcaption>Sur le site web de Joni Korpi, on peut voir l’utilisation de ces deux polices. Avec LFT Etica Web pour les titres et PT Sans pour le corps de texte.</figcaption>
</figure>
<h3>Proxima Nova</h3>
<p><strong>Proxima Nova</strong> (2005) est une refonte complète de Sans Proxima (1994). Les six polices originales (trois poids avec italique) ont été élargies à 42 polices OpenType complet. Proxima Nova chevauche l'écart entre les fontes comme Futura et Akzidenz Grotesk. Le résultat est un hybride combinant des proportions humanistes avec un aspect un peu géométrique.</p>
<figure>
<p><a href="http://sparrowmailapp.com/" title="Sparrow Mail" target="_blank"><img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-29-à-13.36.23-640x297.jpg" alt="" title="Proxima Nova" width="640" height="297" class="alignnone size-medium wp-image-3797"></a></p>
<p><a href="http://penguincreative.com/" target="_blank"><img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-30-à-00.42.44-640x380.jpg" alt="" title="Capture d’écran 2011-11-30 à 00.42.44" width="640" height="380" class="alignnone size-medium wp-image-3817"></a></p>
</figure>
<h3>FF Dagny Web Pro</h3>
<p>En 2002, le journal suédois Dagens Nyheter (DN) a migré du format broadsheet vers un format tabloïde. Le changement au format tabloïde a rendu le cadre plus compact et Pangea a été mandaté pour produire un correspondant sans-serif pour le journal Suédois. Cela est devenu DN Grotesk, qui a maintenant évolué en <strong>FF Dagny</strong>. Conçu par Örjan Nordling et Söderström Göran.</p>
<figure>
<p><a href="http://www.thedesigncubicle.com/" title="The Design Cubicle"><img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-30-à-00.37.09-640x515.jpg" alt="" title="The Design Cubicle" width="640" height="515" class="alignnone size-medium wp-image-3815"></a></p>
</figure>
<h3>Myriad Pro</h3>
<p><strong>Myriad Pro</strong>, un grand classique d‘Adobe est aussi disponible sur Typekit. 10 fonts au total (5 graisses différentes).</p>
<figure>
<p><a href="http://www.warbyparker.com/" title="Warby Parker" target="_blank"><img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-30-à-00.50.48-640x355.jpg" alt="" title="Warby Parker" width="640" height="355" class="alignnone size-medium wp-image-3820"></a></p>
<figcaption>Principalement utilisée sur ce site pour le corps de texte et quelques <em>headlines</em>.</figcaption>
</figure>
<h3>Ratio</h3>
<p><strong>Ratio</strong> est disponible en 6 graisses allant de minces à lourdes avec les italiques pour chaques. Que ce soit sur ​​papier ou sur écran, Ratio ajoute un niveau de sophistication et de polyvalence qui fait ressortir le meilleur dans n’importe quel design.</p>
<figure>
<p><a href="http://cargocollective.com/pstype#39674/Ratio" title="Ratio" target="_blank"><img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-30-à-01.00.40.jpg" alt="" title="Ratio" width="640" height="564" class="alignnone size-full wp-image-3822"></a></p>
<figcaption>Disponible aussi sur Typekit, avec la variante <a href="http://cargocollective.com/pstype#197264/Ratio-Display-new" title="Ratio Display" target="_blank">Ratio Display</a>.</figcaption>
</figure>
<p>Et voilà. Ce n’est qu’un petit échantillon des polices disponibles pour <em>font-face</em>, à l’heure où j’écris ces lignes, je compte plus de 140 sans-serifs sur Typekit. Pour le prochain article, je prépare une collection de <strong>slab-serifs</strong>.</p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2011/10/mes-polices-web-preferees-serifs/" rel="bookmark" class="crp_title">Mes polices web préférées [serifs]</a><span class="crp_excerpt"> Le marché des « web fonts » ne s'est jamais ...</span></li><li><a href="http://phollow.fr/2011/11/7-frameworks-css-pour-developper-en-responsive%c2%a0web%c2%a0design/" rel="bookmark" class="crp_title">7 frameworks CSS pour développer en Responsive Web Design</a><span class="crp_excerpt"> 
Je commence une série d'article à propos d'outils permettant de ...</span></li><li><a href="http://phollow.fr/2010/05/utiliser-dautres-polices-en-web-google-et-typekit/" rel="bookmark" class="crp_title">Utiliser d'autres polices en web : google et typekit</a><span class="crp_excerpt"> Si vous vous intéressez un peu au développement web, vous ...</span></li><li><a href="http://phollow.fr/2011/07/dotshare-it-partage-de-dotfiles/" rel="bookmark" class="crp_title">Dotshare.it, partage de .dotfiles</a><span class="crp_excerpt"> Je joue beaucoup avec les dotfiles – ces petits fichiers ...</span></li><li><a href="http://phollow.fr/2012/02/enlarge-your-police/" rel="bookmark" class="crp_title">Enlarge your <em>police</em></a><span class="crp_excerpt"> 


Rien à voir avec les spams de Viagra. Non. Sous ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/11/mes-polices-web-preferees-sans-serif/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>7 frameworks CSS pour développer en Responsive Web Design</title>
		<link>http://phollow.fr/2011/11/7-frameworks-css-pour-developper-en-responsive%c2%a0web%c2%a0design/</link>
		<comments>http://phollow.fr/2011/11/7-frameworks-css-pour-developper-en-responsive%c2%a0web%c2%a0design/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 12:51:19 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[grid css]]></category>
		<category><![CDATA[responsive web design]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3720</guid>
		<description><![CDATA[Je commence une série d'article à propos d'outils permettant de faciliter le développement d’un site internet responsive, s’adaptant dynamiquement à la taille de l’écran du média. Dans cet article, je vais parler uniquement de tout ce qui a un rapport avec le CSS. En particulier des grids et des templates CSS. 320 and up 320 [...]]]></description>
			<content:encoded><![CDATA[<p>
Je commence une série d'article à propos d'outils permettant de faciliter le développement d’un site internet <em>responsive</em>, s’adaptant dynamiquement à la taille de l’écran du média. Dans cet article, je vais parler uniquement de tout ce qui a un rapport avec le CSS. En particulier des <strong>grids</strong> et des <strong>templates</strong> CSS.
</p>
<h3>320 and up</h3>
<figure>
<p>
<img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-21-à-12.57.571-822x450.jpg" alt="" title="320-and-up" width="822" height="450" class="alignnone size-medium wp-image-3729">
</p>
<figcaption>
<strong>320 and up</strong> est un template basé sur <strong>HTML5 Boilerplate</strong> et la grid de <strong>Less Framework 4</strong>.<br />
</figcaption>
<p><a href="http://stuffandnonsense.co.uk/projects/320andup/" title="320 and up" target="_blank">320 and up</a></p>
</figure>
<h3>1140 CSS Grid</h3>
<figure>
<p>
<img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-21-à-13.08.58-832x376.jpg" alt="" title="1140" width="832" height="376" class="alignnone size-medium wp-image-3739">
</p>
<figcaption>
<p><strong>1140 CSS Grid</strong> se base sur la résolution d’un moniteur de 1280 de large, et se réduit de manière <strong>fluide</strong> sur les plus petites résolutions.</p>
</figcaption>
<p><a href="http://cssgrid.net/" title="1140 CSS Grid" target="_blank">1140 CSS Grid</a></p>
</figure>
<h3>Less Framework 4</h3>
<figure>
<p>
<img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-21-à-13.15.03-832x399.jpg" alt="" title="Less Framework 4" width="832" height="399" class="alignnone size-medium wp-image-3742">
</p>
<figcaption>
<p><strong>Less Framework 4</strong> permet de construire des sites web qui s’adaptent aux différents devices grâce à 4 templates et 3 pré-réglages typographiques.</p>
</figcaption>
<p><a href="http://lessframework.com/" title="Less Framework 4" target="_blank">Less Framework 4</a></p>
</figure>
<h3>Mobile Boilerplate</h3>
<figure>
<p>
<img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-21-à-13.21.14-832x442.jpg" alt="" title="Mobile Boilerplate" width="832" height="442" class="alignnone size-medium wp-image-3745">
</p>
<figcaption>
<p><strong>Mobile Boilerplate</strong> est une collection de CSS, HTML et diverses bibliothèques Javascript permettant de bien démarrer un projet web mobile.</p>
</figcaption>
<p><a href="http://html5boilerplate.com/mobile" title="Mobile Boilerplate" target="_blank">Mobile Boilerplate</a></p>
</figure>
<h3>Skeleton</h3>
<figure>
<p>
<img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-21-à-13.24.19-750x450.jpg" alt="" title="Skeleton" width="750" height="450" class="alignnone size-medium wp-image-3747">
</p>
<figcaption>
<p><strong>Skeleton</strong> contient une grille CSS et un style de base (typographie, formulaire, boutons…) pour commencer un projet.</p>
</figcaption>
<p><a href="http://www.getskeleton.com/" title="Skeleton" target="_blank">Skeleton</a></p>
</figure>
<h3>Golden Grid System</h3>
<figure>
<p>
<img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-21-à-13.28.08-832x344.jpg" alt="" title="Golden Grid System" width="832" height="344" class="alignnone size-medium wp-image-3750" />
</p>
<figcaption>
<p><strong>Golden Grid System</strong> : Pour moi une des grilles adaptatives les plus propres. L’avantage de celle-ci est qu’elle conserve plusieurs colonnes tout le temps, même au format mobile.</p>
</figcaption>
<p><a href="http://goldengridsystem.com/" title="Golden Grid System" target="_blank">Golden Grid System</a></p>
</figure>
<h3>The Semantic Grid System</h3>
<figure>
<p>
<img src="http://phollow.fr/wp-content/uploads/2011/11/Capture-d’écran-2011-11-21-à-13.36.24-832x386.jpg" alt="" title="The Semantic Grid System" width="832" height="386" class="alignnone size-medium wp-image-3754">
</p>
<figcaption>
<p><strong>The Semantic Grid System</strong> est intéressante dans le sens où c’est vous qui choisissez le nombres de colonnes, la taille des marges etc.</p>
</figcaption>
<p><a href="http://semantic.gs/" title="The Semantic Grid System" target="_blank">The Semantic Grid System</a></p>
</figure>
<p>Je vous conseille aussi de ne pas hésiter à modifier ces divers frameworks pour votre utilisation. Par exemple le thème de ce blog tourne sur une version modifiée de <strong>Skeleton</strong> — <em>j’ai rendu la grille fluide</em> – et les bibliothèques Javascript de <strong>320 and up</strong>.</p>
<p>En regardant le code de ces projets vous allez avoir une meilleure vision de ce qui se passe avec les <strong>media queries</strong>. Et ainsi adapter leurs fonctionnements à votre propre projet.</p>
<p>Si vous en connaissez d’autres, n’hésitez pas à en parler aux gens avec les commentaires.</p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2011/08/un-exercice-sur-le-responsive-web-design/" rel="bookmark" class="crp_title">Un exercice sur le Responsive Web Design</a><span class="crp_excerpt"> Mon blog est maintenant responsive. Terme que l'on peut traduire ...</span></li><li><a href="http://phollow.fr/2011/11/mes-polices-web-preferees-sans-serif/" rel="bookmark" class="crp_title">Mes polices web préférées [sans-serif]</a><span class="crp_excerpt"> Après un premier article sur les polices de types serif, ...</span></li><li><a href="http://phollow.fr/2011/10/mes-polices-web-preferees-serifs/" rel="bookmark" class="crp_title">Mes polices web préférées [serifs]</a><span class="crp_excerpt"> Le marché des « web fonts » ne s'est jamais ...</span></li><li><a href="http://phollow.fr/2011/07/dotshare-it-partage-de-dotfiles/" rel="bookmark" class="crp_title">Dotshare.it, partage de .dotfiles</a><span class="crp_excerpt"> Je joue beaucoup avec les dotfiles – ces petits fichiers ...</span></li><li><a href="http://phollow.fr/2011/11/homebrew-un-gestionnaire-de-paquet-pour-mac-osx/" rel="bookmark" class="crp_title">Homebrew, un gestionnaire de paquet pour Mac OS/X</a><span class="crp_excerpt"> 
Quand on a pris la bonne habitude de travailler sous ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/11/7-frameworks-css-pour-developper-en-responsive%c2%a0web%c2%a0design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mes polices web préférées [serifs]</title>
		<link>http://phollow.fr/2011/10/mes-polices-web-preferees-serifs/</link>
		<comments>http://phollow.fr/2011/10/mes-polices-web-preferees-serifs/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 20:04:59 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[typographie]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[serif]]></category>
		<category><![CDATA[typekit]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3539</guid>
		<description><![CDATA[Le marché des « web fonts » ne s'est jamais aussi bien porté. Et son avenir le semble tout autant. La quantité et la qualité des polices croissent tous les jours et avec l'aide des services comme Adobe Typekit et Google WebFonts, l'intégration est simple. Le processus de création d'une police pour le format web [...]]]></description>
			<content:encoded><![CDATA[<p>Le marché des <em>« web fonts »</em> ne s'est jamais aussi bien porté. Et son avenir le semble tout autant. La quantité et la qualité des polices croissent tous les jours et avec l'aide des services comme <a title="typekit" href="http://typekit.com" target="_blank">Adobe Typekit</a> et <a title="Google WebFonts" href="http://www.google.com/webfonts" target="_blank">Google WebFonts</a>, l'intégration est simple.</p>
<p>Le processus de création d'une police pour le format web est moins simple que l'on peut le penser au premier abord. Il ne suffit pas de prendre une simple .ttf et de la convertir au format <span class="code">@font-face</span>. La police doit être retravaillée complètement pour être lisible sur les différents OS/Navigateur. Un processus appelé en anglais <em>« hinting »</em> et très bien expliqué <a title="Type rendering" href="http://blog.typekit.com/2010/10/05/type-rendering-on-the-web/" target="_blank">ici</a> et <a title="Type rendering" href="http://blog.typekit.com/2010/10/15/type-rendering-operating-systems/" target="_blank">là</a> par Typekit. Les grandes fonderies travaillent donc à convertir leurs grands classiques au format web, pour mon plus grand plaisir !<br />
J'ai donc décidé dans cet article de vous présenter ma série de polices web préférées du moment, en me concentrant uniquement aujourd'hui sur la famille des <strong>serifs</strong>. Vous l'aurez compris d'autres articles viendront plus tard dans le même style.</p>
<h3>FF Meta Serif Web Pro</h3>
<p>Cette police a été créee en partant de la version sans-serif de base (FF Meta). Elle a été développée en 3 ans par 3 designers Erik Spiekermann, Christian Schwartz <em>&amp;</em> Kris Sowersby.</p>
<figure><a title="Trent Walton" href="http://trentwalton.com/info/" target="_blank"><img class="alignnone size-full wp-image-3607" title="Trent Walton" src="http://phollow.fr/wp-content/uploads/2011/10/Capture-d’écran-2011-10-23-à-19.34.42.jpg" alt="Trent Walton" width="700" height="339" /></a></p>
<figcaption><strong>Fig. 1:</strong> Le blog personnel de Trent Walton utilise cette police à 100%. Elle rend bien à n'importe quelle taille que ça soit pour les paragraphes ou les headings grâce notamment à son « x-height » élevé.</figcaption>
</figure>
<h3>Adobe Minion Pro</h3>
<p>Une police Adobe désignée par Robert Slimbach dans les années 90. Elle a le style des polices utilisées dans les livres pendant la Renaissance. Minion est élégante et très lisible.</p>
<figure><a href="http://robweychert.com/"><img class="alignnone size-full wp-image-3616" title="http://robweychert.com/" src="http://phollow.fr/wp-content/uploads/2011/10/Capture-d’écran-2011-10-23-à-20.00.43.jpg" alt="http://robweychert.com/" width="701" height="465" /></a></p>
<figcaption><strong>Fig. 2:</strong> Le blog de Rob Weychert l'utilise dans ces paragraphes.</figcaption>
</figure>
<h3>FF Tisa Web Pro</h3>
<p>Dessinée par Mitja Miklavčič pour l'usage dans des magazines modernes. Un <em>« x-height »</em> large et des serifs prononcés améliorent la lisibilité. Et je trouve vraiment la version italique jolie.</p>
<figure><a href="http://simplebits.com/"><img class="alignnone size-full wp-image-3621" title="Simplebits" src="http://phollow.fr/wp-content/uploads/2011/10/Capture-d’écran-2011-10-23-à-20.23.03.jpg" alt="Simplebits" width="700" height="340" /></a></p>
<figcaption><strong>Fig. 3:</strong> Dan Cederholm l'utilise dans les paragraphes de ces articles.</figcaption>
</figure>
<h3>Skolar Web</h3>
<p>Skolar, la police primée conçue par David Březina, est une serif qui a été désignée à l'origine pour des publications savantes et multilingues. La police maintient sa crédibilité tout en incorporant un style subtil personnel.</p>
<figure><a href="http://elliotjaystocks.com/about/"><img class="alignnone size-full wp-image-3626" title="http://elliotjaystocks.com/about/" src="http://phollow.fr/wp-content/uploads/2011/10/Capture-d’écran-2011-10-23-à-20.39.34.jpg" alt="http://elliotjaystocks.com/about/" width="700" height="345" /></a></p>
<figcaption><strong>Fig. 4:</strong> Elliot Jay Stocks utilise cette police à toutes les sauces. Dans les paragraphes ou les titres en majuscules avec un letter-spacing etc.</figcaption>
</figure>
<h3>FF Scala Web</h3>
<blockquote><p>FF Scala is an old style, humanist, serif typeface designed by Dutch typeface designer Martin Majoor in 1990 for the Vredenburg Music Center in Utrecht, the Netherlands. The FF Scala font family was named for the Teatro alla Scala (1776–78) in Milan. Like many contemporary Dutch serif faces, FF Scala is not an academic revival of a single historic typeface but shows influences of several historic models. Similarities can be seen with William Addison Dwiggins' 1935 design Electra in its clarity of form, and rhythmic, highly calligraphic italics. Eric Gill's 1931 typeface Joanna (released by Monotype in 1937), with its old style armature but nearly square serifs is also similar in its nearly mono-weighted stroke width.</p></blockquote>
<p>— Wikipedia, <a title="FF Scala" href="http://en.wikipedia.org/wiki/FF_Scala" target="_blank">source</a></p>
<p>C'est la police que j'utilise dans les paragraphes de ce blog. J'aime beaucoup les détails calligraphiques. Il existe plusieurs familles dont une <em>condensée</em> et une <em>« small-caps »</em>. Et aussi une version sans-serif.<br />
Toutes ces <em>fonts</em> sont disponibles sur <a title="Typekit" href="http://typekit.com" target="_blank">Typekit</a>. C'est d'ailleurs ce service que j'utilise, parce que c'est là où toutes les polices professionnelles se trouvent. J'ai testé un peu Google WebFonts et à vrai dire je n'en trouve pas beaucoup de bonne qualité. À part peut-être la famille de fonts Droid ou Lobster la nouvelle Comic Sans de nos chers <em>designerfags</em> en herbe — <em>Mais c'est cool ça fait retro !</em> — Bref je m'égare, je garde ma haine pour la mauvaise utilisation de Lobster dans un article à part.</p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2011/11/mes-polices-web-preferees-sans-serif/" rel="bookmark" class="crp_title">Mes polices web préférées [sans-serif]</a><span class="crp_excerpt"> Après un premier article sur les polices de types serif, ...</span></li><li><a href="http://phollow.fr/2010/05/utiliser-dautres-polices-en-web-google-et-typekit/" rel="bookmark" class="crp_title">Utiliser d'autres polices en web : google et typekit</a><span class="crp_excerpt"> Si vous vous intéressez un peu au développement web, vous ...</span></li><li><a href="http://phollow.fr/2011/11/7-frameworks-css-pour-developper-en-responsive%c2%a0web%c2%a0design/" rel="bookmark" class="crp_title">7 frameworks CSS pour développer en Responsive Web Design</a><span class="crp_excerpt"> 
Je commence une série d'article à propos d'outils permettant de ...</span></li><li><a href="http://phollow.fr/2012/02/enlarge-your-police/" rel="bookmark" class="crp_title">Enlarge your <em>police</em></a><span class="crp_excerpt"> 


Rien à voir avec les spams de Viagra. Non. Sous ...</span></li><li><a href="http://phollow.fr/2010/10/utiliser-la-police-ubuntu-en-web/" rel="bookmark" class="crp_title">Utiliser la police Ubuntu en web</a><span class="crp_excerpt"> La dernière version d'Ubuntu en date (10.10) inclut une nouvelle ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/10/mes-polices-web-preferees-serifs/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Les césures dans le web</title>
		<link>http://phollow.fr/2011/10/les-cesures-dans-le-web/</link>
		<comments>http://phollow.fr/2011/10/les-cesures-dans-le-web/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 21:59:14 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[typographie]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[césures]]></category>
		<category><![CDATA[hyphenation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3541</guid>
		<description><![CDATA[En typographie, la césure est l'art de couper un mot de telle manière à ce qu'il entre dans la justification. Cette pratique est utilisée dans les livres et depuis peu de temps possible aussi sur le web. On a inventé ce système pour pouvoir mettre plus de mots sur une page donc économiser du papier [...]]]></description>
			<content:encoded><![CDATA[<p>En typographie, la <strong>césure</strong> est l'art de couper un mot de telle manière à ce qu'il entre dans la justification. Cette pratique est utilisée dans les livres et depuis peu de temps possible aussi sur le web.</p>
<p>On a inventé ce système pour pouvoir mettre plus de mots sur une page donc économiser du papier à l'imprimerie et améliorer la justification. Même si on n'utilise pas de papier sur le web, on peut toujours gagner de la place et améliorer l'aspect général de la typographie.</p>
<p>Parfois les textes justifiés sont vraiment horribles sur les pages web, avec des <em>rivières</em> monstrueuses. Les <strong>césures</strong> améliorent nettement ça, donc passons maintenant au code.</p>
<p><img src="http://phollow.fr/wp-content/uploads/2011/10/books-900x600.jpg" alt="" title="books" width="900" height="600" class="alignnone size-large wp-image-3563" /></p>
<h3>Nouvelle méthode CSS3</h3>
<pre>
<div class="codecolorer-container text railscasts pygments" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">p {<br />
&nbsp; &nbsp; hyphens: auto;<br />
&nbsp; &nbsp; -webkit-hyphens: auto;<br />
&nbsp; &nbsp; -moz-hyphens: auto;<br />
}</div></div>
</pre>
<p>À l'heure où j'écris ces lignes, les navigateurs supportant ces propriétés sont <strong>Firefox</strong> 6+ et <strong>Safari</strong> 5.1+. Pour les désactiver il suffit de passer <span class="code">auto</span> en <span class="code">manual</span>. En mode manuel, les <span class="code">&amp;shy;</span> sont néanmoins toujours respectés.</p>
<p>Les césures ont des règles strictes d'utilisation, règles changeant suivant la langue. Le navigateur doit savoir dans quelle langue vous écrivez, donc vous devez la renseigner. Un <span class="code">lang="fr"</span> dans la balise <span class="code">&lt;html&gt;</span> suffit par exemple.</p>
<h3>Hyphenator</h3>
<p>Cette bibliothèque javascript permet d'activer les césures sur tous les navigateurs supportant le « <em>trait d'union conditionnel</em> ». Ce caractère <span class="code">&amp;shy;</span> est invisible quand on le place mais il sert à déterminer l'endroit où une césure peut avoir lieu.</p>
<p>L'avantage de ce script est qu'il privilégie l'utilisation de la méthode CSS3 sur les navigateurs la supportant.</p>
<p><a href="http://code.google.com/p/hyphenator/" title="hyphenator.js" target="_blank">http://code.google.com/p/hyphenator/</a></p>
<h3>Examples</h3>
<p>Les paragraphes de mon blog devraient maintenant tous fonctionner avec ce système de césures — <em>depuis la mise à jour du thème en fait</em> — et donc vous devriez les voir sur cet article (et les autres) — à condition d'avoir un navigateur assez récent, mais je ne me fais pas de soucis pour vous.</p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2011/11/homebrew-un-gestionnaire-de-paquet-pour-mac-osx/" rel="bookmark" class="crp_title">Homebrew, un gestionnaire de paquet pour Mac OS/X</a><span class="crp_excerpt"> 
Quand on a pris la bonne habitude de travailler sous ...</span></li><li><a href="http://phollow.fr/2011/08/un-exercice-sur-le-responsive-web-design/" rel="bookmark" class="crp_title">Un exercice sur le Responsive Web Design</a><span class="crp_excerpt"> Mon blog est maintenant responsive. Terme que l'on peut traduire ...</span></li><li><a href="http://phollow.fr/2011/01/licences-open-sources-utilisation/" rel="bookmark" class="crp_title">Licences open-sources &amp; utilisation</a><span class="crp_excerpt"> Les licences et leurs conditions d'utilisations ne sont pas évidentes ...</span></li><li><a href="http://phollow.fr/2010/10/utiliser-la-police-ubuntu-en-web/" rel="bookmark" class="crp_title">Utiliser la police Ubuntu en web</a><span class="crp_excerpt"> La dernière version d'Ubuntu en date (10.10) inclut une nouvelle ...</span></li><li><a href="http://phollow.fr/2009/08/emesene-1-5/" rel="bookmark" class="crp_title">Emesene 1.5</a><span class="crp_excerpt"> Emesene est un client Linux pour le protocole de messagerie ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/10/les-cesures-dans-le-web/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CSS Multi-Columns</title>
		<link>http://phollow.fr/2011/10/css-multi-columns/</link>
		<comments>http://phollow.fr/2011/10/css-multi-columns/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 22:28:43 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[typographie]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[css-multi-columns]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3490</guid>
		<description><![CDATA[Qu'est-ce que c'est ? Le module CSS multi-colums permet de diviser un long flux de texte en plusieurs colonnes de manière automatique. Et donc nous n'avons pas besoin, par exemple, pour 3 colonnes de créer 3 conteneurs. Cette technique est beaucoup utilisée dans les journaux ou les magazines mais encore très peu sur le web. [...]]]></description>
			<content:encoded><![CDATA[<p><img style="margin-top:0;" class="alignnone size-full wp-image-3503" title="css" src="http://phollow.fr/wp-content/uploads/2011/10/css.png" alt="" width="832" height="300" /></p>
<h3>Qu'est-ce que c'est ?</h3>
<p>Le module CSS <em>multi-colums</em> permet de diviser un long flux de texte en plusieurs colonnes de manière automatique. Et donc nous n'avons pas besoin, par exemple, pour 3 colonnes de créer 3 conteneurs. Cette technique est beaucoup utilisée dans les journaux ou les magazines mais encore très peu sur le web.</p>
<p>Ainsi de larges blocs de texte peuvent être divisés facilement en sous-colonnes pour offrir une meilleure lecture et améliorer l'esthétisme d'un site. C'est un avantage aussi d'un point de vue sémantique, car on se passe de balises supplémentaires nécessaires pour avoir le même rendu sans CSS3.</p>
<p>D'un autre côté la lisibilité d'un site peut être complètement ruinée avec une mauvaise utilisation de ce module. Un site web n'étant pas forcément statique comme le serait la page d'un magazine. Par exemple l'utilisateur ne doit pas avoir à scroller quand il lit la fin de la colonne et passe à la suivante.</p>
<h3>Compatibilité des navigateurs</h3>
<ul>
<li>Opera 11.10+, Opera Mobile 11.10+</li>
<li>IE 10+</li>
<li>Firefox 3.6+</li>
<li>Safari 3.2+</li>
<li>Chrome 10+</li>
</ul>
<h3>Utilisation</h3>
<p>Il y a deux façons de créer des colonnes, on peut d'une part spécifier un nombre fixe de colonnes à l'aide de la propriété <span class="code">column-count</span> ou alors spécifier la largeur des colonnes à l'aide de <span class="code">column-width</span> (pixels ou ems, mais pas de pourcentage…). Les deux propriétés peuvent être cumulées, mais le navigateur choisira l'une ou l'autre suivant les cas. Il existe bien sur d'autre propriétés :</p>
<ul>
<li><span class="code">column-gap</span> pour gérer l'espacement entres les colonnes</li>
<li><span class="code">column-rule</span>, <span class="code">column-rule-width</span>, <span class="code">column-rule-style</span>, <span class="code">column-rule-color</span> pour gérer l'apparence de la séparation des colonnes</li>
<li><span class="code">break-before</span>, <span class="code">break-after</span>, <span class="code">break-inside</span> permet par exemple de forcer le passage d'un élément sur la colonne suivante. Plus d'infos sur le site du <a title="w3c" href="http://www.w3.org/TR/css3-multicol/#column-breaks" target="_blank">w3c</a>.</li>
</ul>
<h3>Exemples</h3>
<h4>Séparation en deux colonnes</h4>
<div style="font-size: 80%; column-count: 2; column-gap: 20px; -moz-column-count: 2; -moz-column-gap: 20px; -o-column-count: 2; -o-column-gap: 20px; -webkit-column-count: 2; -webkit-column-gap: 20px; text-align: justify;">
<p>Now that we know who you are, I know who I am. I'm not a mistake! It all makes sense! In a comic, you know how you can tell who the arch-villain's going to be? He's the exact opposite of the hero. And most times they're friends, like you and me! I should've known way back when... You know why, David? Because of the kids. They called me Mr Glass.</p>
<p>Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, that's what you see at a toy store. And you must think you're in a toy store, because you're here shopping for an infant named Jeb.</p>
<p>Now that there is the Tec-9, a crappy spray gun from South Miami. This gun is advertised as the most popular gun in American crime. Do you believe that shit? It actually says that in the little book that comes with it: the most popular gun in American crime. Like they're actually proud of that shit.</p>
<p>Now that we know who you are, I know who I am. I'm not a mistake! It all makes sense! In a comic, you know how you can tell who the arch-villain's going to be? He's the exact opposite of the hero. And most times they're friends, like you and me! I should've known way back when... You know why, David? Because of the kids. They called me Mr Glass.</p>
<p>Look, just because I don't be givin' no man a foot massage don't make it right for Marsellus to throw Antwone into a glass motherfuckin' house, fuckin' up the way the nigger talks. Motherfucker do that shit to me, he better paralyze my ass, 'cause I'll kill the motherfucker, know what I'm sayin'?</p>
<p>Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing.</p>
</div>
<h4>Code</h4>
<p><code class="codecolorer css default pygments"><span class="css">div<span style="color: #6666ff;">.twocol</span> <span style="color: #00AA00;">&#123;</span><br />
column-count<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span><br />
column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span><br />
-moz-column-count<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span><br />
-moz-column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span><br />
-o-column-count<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span><br />
-o-column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span><br />
-webkit-column-count<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">2</span><span style="color: #00AA00;">;</span><br />
-webkit-column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></span></code></p>
<h4>Séparation en trois colonnes + style</h4>
<div style="font-size: 75%; column-count: 3; column-gap: 10px; column-rule-color: #ccc; column-rule-style: dotted; column-rule-width: 2px; -moz-column-count: 3; -moz-column-gap: 10px; -moz-column-rule-color: #ccc; -moz-column-rule-style: dotted; -moz-column-rule-width: 2px; -o-column-count: 3; -o-column-gap: 10px; -o-column-rule-color: #ccc; -o-column-rule-style: dotted; -o-column-rule-width: 2px; -webkit-column-count: 3; -webkit-column-gap: 10px; -webkit-column-rule-color: #ccc; -webkit-column-rule-style: dotted; -webkit-column-rule-width: 2px; text-align: justify;">
<p>The path of the righteous man is beset on all sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy My brothers. And you will know My name is the Lord when I lay My vengeance upon thee.</p>
<p>Look, just because I don't be givin' no man a foot massage don't make it right for Marsellus to throw Antwone into a glass motherfuckin' house, fuckin' up the way the nigger talks. Motherfucker do that shit to me, he better paralyze my ass, 'cause I'll kill the motherfucker, know what I'm sayin'?</p>
<p>Your bones don't break, mine do. That's clear. Your cells react to bacteria and viruses differently than mine. You don't get sick, I do. That's also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We're on the same curve, just on opposite ends.</p>
<p>Now that we know who you are, I know who I am. I'm not a mistake! It all makes sense! In a comic, you know how you can tell who the arch-villain's going to be? He's the exact opposite of the hero. And most times they're friends, like you and me! I should've known way back when... You know why, David? Because of the kids. They called me Mr Glass.</p>
<p>Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing.</p>
<p>Normally, both your asses would be dead as fucking fried chicken, but you happen to pull this shit while I'm in a transitional period so I don't wanna kill you, I wanna help you. But I can't give you this case, it don't belong to me. Besides, I've already been through too much shit this morning over this case to hand it over to your dumb ass.</p>
</div>
<p> </p>
<h4>Code</h4>
<p><code class="codecolorer css default pygments"><span class="css">div<span style="color: #6666ff;">.threecol</span> <span style="color: #00AA00;">&#123;</span><br />
column-count<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span><br />
column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><br />
column-rule-<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span><br />
column-rule-style<span style="color: #00AA00;">:</span> <span style="color: #993333;">dotted</span><span style="color: #00AA00;">;</span><br />
column-rule-<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span><br />
-moz-column-count<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span><br />
-moz-column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><br />
-moz-column-rule-<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span><br />
-moz-column-rule-style<span style="color: #00AA00;">:</span> <span style="color: #993333;">dotted</span><span style="color: #00AA00;">;</span><br />
-moz-column-rule-<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span><br />
-o-column-count<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span><br />
-o-column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><br />
-o-column-rule-<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span><br />
-o-column-rule-style<span style="color: #00AA00;">:</span> <span style="color: #993333;">dotted</span><span style="color: #00AA00;">;</span><br />
-o-column-rule-<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span><br />
-webkit-column-count<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">3</span><span style="color: #00AA00;">;</span><br />
-webkit-column-gap<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><br />
-webkit-column-rule-<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span><br />
-webkit-column-rule-style<span style="color: #00AA00;">:</span> <span style="color: #993333;">dotted</span><span style="color: #00AA00;">;</span><br />
-webkit-column-rule-<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></span></code></p>
<h3>Conclusion</h3>
<p>La propriété CSS <em>multi-columns</em> se dégrade assez naturellement sur les navigateurs qui ne supporte pas encore la spécification. On voit simplement qu'une seule colonne. Pouvoir gérer ce genre de layout sans avoir recours à des scripts quelconque est vraiment pratique. À l'heure où les designers donnent de plus en plus d'importance à la lisibilité du contenu, je pense qu'on en verra un peu plus d'ici quelques temps.</p>
<p>P.S. : Vous avez reconnu les citations des exemples ?</p>
<p>Réf. : <a href="http://www.w3.org/TR/css3-multicol/" target="_blank">Spécifications</a></p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2012/02/enlarge-your-police/" rel="bookmark" class="crp_title">Enlarge your <em>police</em></a><span class="crp_excerpt"> 


Rien à voir avec les spams de Viagra. Non. Sous ...</span></li><li><a href="http://phollow.fr/2011/10/les-cesures-dans-le-web/" rel="bookmark" class="crp_title">Les césures dans le web</a><span class="crp_excerpt"> En typographie, la césure est l'art de couper un mot ...</span></li><li><a href="http://phollow.fr/2011/04/wallpapers-of-the-week-18/" rel="bookmark" class="crp_title">Wallpapers of the Week</a><span class="crp_excerpt"> Ça faisait longtemps et c'est reparti pour un tour. Toujours ...</span></li><li><a href="http://phollow.fr/2009/08/emesene-1-5/" rel="bookmark" class="crp_title">Emesene 1.5</a><span class="crp_excerpt"> Emesene est un client Linux pour le protocole de messagerie ...</span></li><li><a href="http://phollow.fr/2011/08/un-exercice-sur-le-responsive-web-design/" rel="bookmark" class="crp_title">Un exercice sur le Responsive Web Design</a><span class="crp_excerpt"> Mon blog est maintenant responsive. Terme que l'on peut traduire ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/10/css-multi-columns/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Un exercice sur le Responsive Web Design</title>
		<link>http://phollow.fr/2011/08/un-exercice-sur-le-responsive-web-design/</link>
		<comments>http://phollow.fr/2011/08/un-exercice-sur-le-responsive-web-design/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 16:44:28 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[featured articles]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[phollow]]></category>
		<category><![CDATA[responsive web design]]></category>
		<category><![CDATA[thème]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3441</guid>
		<description><![CDATA[Mon blog est maintenant responsive. Terme que l'on peut traduire à l'arrache par qui répond bien. Le thème et le contenu va automatiquement s'adapter à la taille de l'écran. Le concept est intéressant et plus pratique que de faire un thème normal + un thème mobile par exemple. À l'heure actuelle les sites internets ne sont plus [...]]]></description>
			<content:encoded><![CDATA[<p>Mon blog est maintenant <em>responsive</em>. Terme que l'on peut traduire à l'arrache par <em>qui répond bien</em>. Le thème et le contenu va automatiquement s'adapter à la taille de l'écran. Le concept est intéressant et plus pratique que de faire un thème normal + un thème mobile par exemple. À l'heure actuelle les sites internets ne sont plus seulement affichés sur un ordinateur mais de plus en plus souvent sur des appareils de type mobile, smartphones ou tablettes.</p>
<h3>S'adapter</h3>
<p>Au début on avait pas énormément d'appareils <em>exotiques</em> en dehors du desktop. On voyait souvent un sous-domaine dédié à l'affichage d'un site sous iPhone, avec un thème propre. D'un point de vue conception on était tranquille, le thème mobile était indépendant du thème principal, et on connaissait les contraintes de l'iPhone. Mais maintenant on a beaucoup plus de smartphones et même des tablettes, chaque appareil possédant sa propre résolution. Et là on se rend compte que faire un thème dédié pour chacun de ces appareils est une idée complètement idiote. Donc le site web doit <strong>s'adapter</strong>.</p>
<h3>Bonjour media query</h3>
<p>Vous les avez déjà utilisées. Mais si, <span class="code">media="print"</span> pour avoir un CSS dédié à l'impression par exemple. C'est pas nouveau, ça date de la norme CSS 2.1. Ce qui est nouveau se sont les ajouts de la norme CSS3. Des ajouts nous permettant de tester la résolution de l'écran, le type de <em>device</em> etc.</p>
<p><span class="code">&lt;link rel="stylesheet" type="text/css" media="screen and (max-device-width: 480px)" href="mobile.css"/&gt;</span></p>
<p>Si l'appareil à une résolution inférieure ou égale à 480px en largeur, le fichier mobile.css sera lu. L'attribut <span class="code">@media</span> du CSS permet de faire la même chose sans avoir à le faire dans la balise <span class="code">&lt;link&gt;</span>.</p>
<p>Par exemple sur ce site quand la résolution devient petite, j'enlève la sidebar sur la gauche pour la placer en dessous du contenu. C'est ce que permettent de faire les <strong>media queries</strong>. On peut imaginer faire disparaître certains éléments qui n'auraient par leur place sur un petit écran, avec un <span class="code">display:none;</span> par exemple.</p>
<p>Les media queries de ce type ne fonctionnent que sur les navigateurs récents et sur la plupart des navigateurs mobiles (webkit, opera). Il y a donc un script js que j'utilise pour certains navigateurs (<em>Oh hai, Internet Explorer</em>). Vous pouvez le trouver sur <a title="respond.js" href="https://github.com/scottjehl/respond" target="_blank">cette page</a>.</p>
<h3>Responsive Grid</h3>
<p>Pour me faciliter le travail j'ai utilisé une Grid CSS réactive. Construite sur les media queries, les différents blocs peuvent se ré-agencer suivant la taille de l'écran. Voici une liste non-exhaustive</p>
<ul>
<li><a title="Less Framework 4" href="http://lessframework.com/" target="_blank">Less Framework 4</a></li>
<li><a title="Less+ Framework" href="http://www.angrycreative.se/projekt/less-framework/" target="_blank">Less+ Framework</a></li>
<li><a title="Skeleton" href="http://www.getskeleton.com/" target="_blank">Skeleton</a></li>
<li><a title="320 and up" href="http://stuffandnonsense.co.uk/projects/320andup/" target="_blank">320 and up</a></li>
</ul>
<h3>FitText</h3>
<div><img class="alignnone size-medium wp-image-3487" title="Capture d’écran 2011-09-06 à 11.23.57" src="http://phollow.fr/wp-content/uploads/2011/08/Capture-d’écran-2011-09-06-à-11.23.57-832x415.jpg" alt="" width="832" height="415" /></div>
<p> </p>
<p><a title="FitText.js" href="http://fittextjs.com/" target="_blank">FitText.js</a> est un plugin jQuery permettant de rendre les tailles de polices flexibles. Je l'utilise pour certains headers. Ce plugin va les redimensionner par rapport à la taille du conteneur. Pratique.</p>
<h3>Thème Phollow</h3>
<p>Je met en ligne la source du thème WordPress actuel sur Github pour les personnes intéressées. Vous pouvez le trouver sur <a title="Phollow WordPress Theme" href="https://github.com/Rydgel/Phollow3-Theme" target="_blank">cette adresse</a>. Les forks sont fortement encouragés.</p>
<p>Pour moi il est maintenant obligatoire de travailler sur des sites qui fonctionnent sur <em>n'importe quelles</em> resolutions que sur des sites qui fonctionnent sur les résolutions des appareils actuels.</p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2011/11/7-frameworks-css-pour-developper-en-responsive%c2%a0web%c2%a0design/" rel="bookmark" class="crp_title">7 frameworks CSS pour développer en Responsive Web Design</a><span class="crp_excerpt"> 
Je commence une série d'article à propos d'outils permettant de ...</span></li><li><a href="http://phollow.fr/2009/02/rendre-son-blog-visible-sur-mobile/" rel="bookmark" class="crp_title">Rendre son blog visible sur mobile</a><span class="crp_excerpt"> Depuis quelques jours mon blog est visible sur les mobiles. ...</span></li><li><a href="http://phollow.fr/2011/10/les-cesures-dans-le-web/" rel="bookmark" class="crp_title">Les césures dans le web</a><span class="crp_excerpt"> En typographie, la césure est l'art de couper un mot ...</span></li><li><a href="http://phollow.fr/2011/11/homebrew-un-gestionnaire-de-paquet-pour-mac-osx/" rel="bookmark" class="crp_title">Homebrew, un gestionnaire de paquet pour Mac OS/X</a><span class="crp_excerpt"> 
Quand on a pris la bonne habitude de travailler sous ...</span></li><li><a href="http://phollow.fr/2010/05/utiliser-dautres-polices-en-web-google-et-typekit/" rel="bookmark" class="crp_title">Utiliser d'autres polices en web : google et typekit</a><span class="crp_excerpt"> Si vous vous intéressez un peu au développement web, vous ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/08/un-exercice-sur-le-responsive-web-design/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Mockups des futures versions de Firefox 7 &amp; 8 — Mac, Windows</title>
		<link>http://phollow.fr/2011/08/mockups-des-futures-versions-de-firefox-7-8-%e2%80%94-mac-windows/</link>
		<comments>http://phollow.fr/2011/08/mockups-des-futures-versions-de-firefox-7-8-%e2%80%94-mac-windows/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 20:15:20 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3387</guid>
		<description><![CDATA[La team des designers Firefox ne cesse de rechercher à améliorer l'ergonomie du navigateur. Et aujourd'hui ils nous proposent des mockups de ce que pourrait ressembler les futures versions de Firefox 7 ou 8. Firefox 4 avait déjà vu son interface grandement changée, l'histoire risque encore de se répéter — et c'est tant mieux ! [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">La team des designers Firefox ne cesse de rechercher à améliorer l'ergonomie du navigateur. Et aujourd'hui ils nous proposent des mockups de ce que pourrait ressembler les futures versions de Firefox 7 ou 8. Firefox 4 avait déjà vu son interface grandement changée, l'histoire risque encore de se répéter — <em>et c'est tant mieux !</em></p>
<p style="text-align: justify;"><span id="more-3387"></span>Ces mockups ne seront pas forcément une image exacte des versions finales. Ils ont été réalisés avant tout dans une optique de recherche et de discussions. On peut voir sur ces premiers écrans la disparition de la barre de recherche, <em>que j'avais déjà enlevé personnellement la trouvant inutile</em>, un nouveau style de menu et un mode plein-écran qui a l'air plutôt sympathique.</p>
<p style="text-align: justify;"><a href="http://phollow.fr/wp-content/uploads/2011/08/01-Firefox-Australis-Mac.jpg"><img class="mainimage alignnone size-large wp-image-3394" title="Firefox 7 - 1" src="http://phollow.fr/wp-content/uploads/2011/08/01-Firefox-Australis-Mac-804x536.jpg" alt="Firefox 7 - 1" width="804" height="536" /></a></p>
<p style="text-align: justify;"><a href="http://phollow.fr/wp-content/uploads/2011/08/02-Firefox-Australis-Mac-FxMenu.jpg"><img class="mainimage alignnone size-large wp-image-3395" title="Firefox 7 - 2" src="http://phollow.fr/wp-content/uploads/2011/08/02-Firefox-Australis-Mac-FxMenu-804x536.jpg" alt="Firefox 7 - 2" width="804" height="536" /></a></p>
<p style="text-align: justify;"><a href="http://phollow.fr/wp-content/uploads/2011/08/03-Firefox-Australis-Mac-AddOns.jpg"><img class="mainimage alignnone size-large wp-image-3396" title="Firefox 7 - 3" src="http://phollow.fr/wp-content/uploads/2011/08/03-Firefox-Australis-Mac-AddOns-804x536.jpg" alt="Firefox 7 - 3" width="804" height="536" /></a></p>
<p style="text-align: justify;"><a href="http://phollow.fr/wp-content/uploads/2011/08/06-Firefox-Australis-Mac-Persona.jpg"><img class="mainimage alignnone size-large wp-image-3397" title="Firefox 7 - 4" src="http://phollow.fr/wp-content/uploads/2011/08/06-Firefox-Australis-Mac-Persona-804x536.jpg" alt="Firefox 7 - 4" width="804" height="536" /></a></p>
<p style="text-align: justify;"><a href="http://phollow.fr/wp-content/uploads/2011/08/01-Firefox-Australis-Mac-Fullscreen.jpg"><img class="mainimage alignnone size-large wp-image-3398" title="Firefox 7 - 5" src="http://phollow.fr/wp-content/uploads/2011/08/01-Firefox-Australis-Mac-Fullscreen-804x536.jpg" alt="Firefox 7 - 5" width="804" height="536" /></a></p>
<p style="text-align: justify;"><a href="http://phollow.fr/wp-content/uploads/2011/08/01-Firefox-Australis-Windows.jpg"><img class="mainimage alignnone size-large wp-image-3400" title="Firefox 7 - 6" src="http://phollow.fr/wp-content/uploads/2011/08/01-Firefox-Australis-Windows-804x536.jpg" alt="Firefox 7 - 6" width="804" height="536" /></a></p>
<p style="text-align: justify;"><a href="http://phollow.fr/wp-content/uploads/2011/08/01-Firefox-Australis-Windows-Fullscreen.jpg"><img class="mainimage alignnone size-large wp-image-3401" title="Firefox 7 - 7" src="http://phollow.fr/wp-content/uploads/2011/08/01-Firefox-Australis-Windows-Fullscreen-804x536.jpg" alt="Firefox 7 - 7" width="804" height="536" /></a></p>
<p style="text-align: justify;">Comme d'habitude ces expérimentations sont ouvertes et disponibles pour ceux qui veulent les tester. Mozilla a crée un nouveau build appelé Australis et téléchargeable à <a title="Firefox 8 - Australis - UX" href="https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-ux/" target="_blank">cette adresse</a>. Ce build est une nightly, donc tous les jours une update pourra être téléchargée. La team UX Firefox déclare que c'est sur cette version que seront déposé leurs différents tests.</p>
<p style="text-align: justify;">Maintenant je vais faire mon community manager en vous demandant ce que vous pensez de ces premiers concepts ? Pour ma part ça me plaît beaucoup même si on voit encore que Chrome a pas mal inspiré nos designers.</p>
<p style="text-align: justify;">Via <a title="Mozilla" href="http://people.mozilla.com/~shorlander/ux-presentation/ux-presentation.html" target="_blank">Mozilla</a></p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2009/05/midori-un-navigateur-ultra-leger/" rel="bookmark" class="crp_title">Midori, un navigateur ultra léger</a><span class="crp_excerpt"> Midori est un navigateur qui va dans le sens de ...</span></li><li><a href="http://phollow.fr/2009/07/chromium-continue-de-sameliorer/" rel="bookmark" class="crp_title">Chromium continue de s'améliorer</a><span class="crp_excerpt"> Chromium pour l'instant en version 3 continue de s'améliorer de ...</span></li><li><a href="http://phollow.fr/2009/05/utiliser-spotify-a-100-sous-wine/" rel="bookmark" class="crp_title">Utiliser Spotify à 100% sous wine</a><span class="crp_excerpt"> J'utilise depuis quelques temps, Spotify, au travers de Wine sous ...</span></li><li><a href="http://phollow.fr/2010/10/voler-les-sessions-facebook-twitter-et-autres-avec-firesheep/" rel="bookmark" class="crp_title">Voler les sessions Facebook, Twitter et autres avec Firesheep</a><span class="crp_excerpt"> L'extension Firefox: Firesheep permet de sniffer et de voler les ...</span></li><li><a href="http://phollow.fr/2009/05/bientot-chrome-2-sur-linux/" rel="bookmark" class="crp_title">Bientôt Chrome 2 sur Linux</a><span class="crp_excerpt"> Et oui Google Chrome, dans sa version 2, avance à ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/08/mockups-des-futures-versions-de-firefox-7-8-%e2%80%94-mac-windows/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Dotshare.it, partage de .dotfiles</title>
		<link>http://phollow.fr/2011/07/dotshare-it-partage-de-dotfiles/</link>
		<comments>http://phollow.fr/2011/07/dotshare-it-partage-de-dotfiles/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 11:45:31 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[customisation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[dotfiles]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3365</guid>
		<description><![CDATA[Je joue beaucoup avec les dotfiles – ces petits fichiers cachés qui servent généralement à configurer un programme. Si vous aimez justement personnaliser votre système, vous en avez sans doute ouverts déjà pas mal. C'est là ou rentre en jeu Dotshare.it, un site web que l'on ma présenté il y a quelques temps. Généralement il [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Je joue beaucoup avec les dotfiles – ces petits fichiers cachés qui servent généralement à configurer un programme. Si vous aimez justement personnaliser votre système, vous en avez sans doute ouverts déjà pas mal. C'est là ou rentre en jeu <a title="Dotshare.it" href="http://dotshare.it/" target="_blank">Dotshare.it</a>, un site web que l'on ma présenté il y a quelques temps.</p>
<p style="text-align: justify;">Généralement il y a toujours un thread <em>Post your screenshot and configs</em> sur les différents forum des distributions *nix. La config était généralement collée à l'arrache en dessous. Pas pratique pour les retrouver plus tard. Certains utilisent Github, ce qui me semble déjà une bonne évolution mais encore à un niveau en dessous de Dotshare, <em>qui lui est fait seulement pour ça</em>.</p>
<p style="text-align: justify;"><span id="more-3365"></span>Dotshare.it veut donc faciliter le partage et la recherche de fichiers dotfiles. Ils sont triés par applications, avec une capture du résultat. On peut aller chercher tous les fichiers d'un utilisateur en particulier sur sa page profil, suivre cette personne pour être alerté des updates etc.</p>
<p style="text-align: justify;"><img class="alignnone size-medium wp-image-3376" title="Capture d’écran 2011-07-27 à 13.24.27" src="http://phollow.fr/wp-content/uploads/2011/07/Capture-d’écran-2011-07-27-à-13.24.27-537x376.jpg" alt="" width="537" height="376" /></p>
<p style="text-align: justify;">Le look du site web est minimaliste et c'est une bonne chose. Ça ne devrait pas trop piquer les yeux des adeptes des CLI tools. L'information est bien présentée et l'essentiel est là. Il y a même des petites références au monde de la ligne de commande, comme <em>scrot</em> pour voir la capture du logiciel.</p>
<p style="text-align: justify;"><img class="mainimage alignnone size-large wp-image-3378" title="Capture d’écran 2011-07-27 à 13.33.06" src="http://phollow.fr/wp-content/uploads/2011/07/Capture-d’écran-2011-07-27-à-13.33.06-804x365.jpg" alt="" width="804" height="365" /></p>
<p style="text-align: justify;"><img class="mainimage alignnone size-large wp-image-3379" title="Capture d’écran 2011-07-27 à 13.38.51" src="http://phollow.fr/wp-content/uploads/2011/07/Capture-d’écran-2011-07-27-à-13.38.51-804x302.jpg" alt="" width="804" height="302" /></p>
<p style="text-align: justify;">On a donc tout pour avoir un joli petit réseau social pour le partage des fichier de conf. Unix. Reste à voir si les gens vont suivre. Si vous avez des recommendations ou des demandes à faire aux devs vous pouvez toujours allez faire un tour sur <em>#dotshare at freenode.</em></p>
<p style="text-align: justify;">Via <a title="Dotshare.it" href="http://dotshare.it/" target="_blank">dotshare</a></p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2011/11/7-frameworks-css-pour-developper-en-responsive%c2%a0web%c2%a0design/" rel="bookmark" class="crp_title">7 frameworks CSS pour développer en Responsive Web Design</a><span class="crp_excerpt"> 
Je commence une série d'article à propos d'outils permettant de ...</span></li><li><a href="http://phollow.fr/2011/04/cloudflare-retour-experiences/" rel="bookmark" class="crp_title">CloudFlare, retour d'expériences</a><span class="crp_excerpt"> CloudFlare est un reverse proxy, un CDN et un firewall. ...</span></li><li><a href="http://phollow.fr/2010/08/rdio-concurrent-americain-de-spotify-2/" rel="bookmark" class="crp_title">Rdio : Concurrent Américain de spotify</a><span class="crp_excerpt"> 
Grâce à mon petit VPN perso (basé aux USA), je ...</span></li><li><a href="http://phollow.fr/2011/08/un-exercice-sur-le-responsive-web-design/" rel="bookmark" class="crp_title">Un exercice sur le Responsive Web Design</a><span class="crp_excerpt"> Mon blog est maintenant responsive. Terme que l'on peut traduire ...</span></li><li><a href="http://phollow.fr/2011/11/mes-polices-web-preferees-sans-serif/" rel="bookmark" class="crp_title">Mes polices web préférées [sans-serif]</a><span class="crp_excerpt"> Après un premier article sur les polices de types serif, ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/07/dotshare-it-partage-de-dotfiles/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Streaming Twitter: NodeJS &amp; Socket.IO</title>
		<link>http://phollow.fr/2011/05/streaming-twitter-nodejs-socket-io/</link>
		<comments>http://phollow.fr/2011/05/streaming-twitter-nodejs-socket-io/#comments</comments>
		<pubDate>Sun, 15 May 2011 19:48:38 +0000</pubDate>
		<dc:creator>Jérôme M.</dc:creator>
				<category><![CDATA[bout de codes]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[nodejs]]></category>
		<category><![CDATA[socket.io]]></category>

		<guid isPermaLink="false">http://phollow.fr/?p=3321</guid>
		<description><![CDATA[Bonjour les enfants. Aujourd'hui on va s'amuser un peu avec Node.js et les Web Sockets. Pour ceux qui vivent encore dans une grotte, Node.js est un framework Javascript côté serveur basé sur V8 (Chrome). L'avantage est qu'il gère les entrées/sorties de manière asynchrone et supporte un modèle de programmation événementiel. En gros il est parfait pour [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-3324" title="nodejs" src="http://phollow.fr/wp-content/uploads/2011/05/nodejs.jpg" alt="" width="537" height="300" /></p>
<p style="text-align: justify;">Bonjour les enfants. Aujourd'hui on va s'amuser un peu avec <a title="Node.js" href="http://nodejs.org/" target="_blank">Node.js</a> et les Web Sockets. Pour ceux qui vivent encore dans une grotte, <strong>Node.js</strong> est un framework Javascript côté serveur basé sur <strong>V8</strong> (Chrome). L'avantage est qu'il gère les entrées/sorties de manière asynchrone et supporte un modèle de programmation événementiel. En gros il est parfait pour les applications web temps réels (notifications, push serveur, streaming…).</p>
<p style="text-align: justify;">En quelques lignes de codes on va être capable de faire cette <a title="Twitter streaming - Node.js - Socket.io" href="http://phollow.fr/tweet-stream/tweets.html" target="_blank">petite démo</a>. Tu as besoin d'avoir un navigateur <em>à la pointe de la technologie</em> pour que ça marche mon ami.</p>
<p><span id="more-3321"></span></p>
<h1 style="text-align: justify;">Installation</h1>
<p style="text-align: justify;">Pour commencer il nous faut Node.js bien sur. Alors là tu as plusieurs solutions. Tu peux déjà commencer par <a title="Node.js installing manager" href="https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager" target="_blank">regarder</a> si il est disponible sous forme de paquet dans ton OS ou distribution GNU/Linux. Sinon tu vas devoir le compiler, mais c'est pas très difficile: <a href="https://github.com/joyent/node/wiki/Installation" target="_blank">regarde</a>.</p>
<p style="text-align: justify;">Il est aussi important d'installer <strong>npm</strong> (Node Package Manager), il va nous simplifier la vie quand on voudra installer des extensions à Node.js.</p>
<div class="codecolorer-container bash railscasts pygments" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">curl http:<span style="color: #000000; font-weight: bold;">//</span>npmjs.org<span style="color: #000000; font-weight: bold;">/</span>install.sh <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sh</span></div></div>
<h1 style="text-align: justify;">Socket.io</h1>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-3340" title="socket" src="http://phollow.fr/wp-content/uploads/2011/05/socket.jpg" alt="" width="537" height="260" /></p>
<p style="text-align: justify;"><a href="http://socket.io/" target="_blank">Socket.io</a> est la première extension que l'on va installer pour ce tutorial. Le but de cette librairie est de faciliter le développement d'applications web temps réel dans tous les navigateurs. Parce que tu as certains navigateurs qui gèrent les sockets et d'autres non. Alors cette librairie va décider elle-même quel chemin prendre pour tes échanges parmi ceux-là :</p>
<ul>
<li>Websocket</li>
<li>Adobe Flash $ocket ©</li>
<li>Ajax long polling</li>
<li>Multipart XHR</li>
<li>Forever iFrame (lol IE)</li>
<li>JSONP polling</li>
</ul>
<div class="codecolorer-container bash railscasts pygments" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">npm <span style="color: #c20cb9; font-weight: bold;">install</span> socket.io</div></div>
<p style="text-align: justify;">Et puisque l'on va jouer avec l'API streaming de Twitter, tu peux aussi installer l'excellent <a href="https://github.com/technoweenie/twitter-node" target="_blank">twitter-node</a> de la même manière.</p>
<h1 style="text-align: justify;">Code serveur</h1>
<div class="codecolorer-container javascript railscasts pygments" style="border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> config      <span style="color: #339933;">=</span> <span style="color: #009900;">{</span>user<span style="color: #339933;">:</span> <span style="color: #3366CC;">"pseudo"</span><span style="color: #339933;">,</span> password<span style="color: #339933;">:</span> <span style="color: #3366CC;">"password"</span><span style="color: #339933;">,</span> action<span style="color: #339933;">:</span> <span style="color: #3366CC;">"filter"</span><span style="color: #339933;">,</span> track<span style="color: #339933;">:</span> <span style="color: #009900;">[</span><span style="color: #3366CC;">'bieber'</span><span style="color: #009900;">]</span><span style="color: #009900;">}</span><span style="color: #339933;">,</span><br />
sys         <span style="color: #339933;">=</span> require<span style="color: #009900;">(</span><span style="color: #3366CC;">'sys'</span><span style="color: #009900;">)</span><span style="color: #339933;">,</span><br />
server      <span style="color: #339933;">=</span> require<span style="color: #009900;">(</span><span style="color: #3366CC;">'http'</span><span style="color: #009900;">)</span>.<span style="color: #660066;">createServer</span><span style="color: #009900;">(</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span>req<span style="color: #339933;">,</span> res<span style="color: #009900;">)</span><span style="color: #009900;">{</span><br />
res.<span style="color: #660066;">writeHead</span><span style="color: #009900;">(</span><span style="color: #CC0000;">200</span><span style="color: #339933;">,</span> <span style="color: #009900;">{</span><span style="color: #3366CC;">'Content-Type'</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">'text/html'</span><span style="color: #009900;">}</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
res.<span style="color: #660066;">end</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'<br />
&lt;h1&gt;Twitter live stream&lt;/h1&gt;<br />
'</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<br />
server.<span style="color: #660066;">listen</span><span style="color: #009900;">(</span><span style="color: #CC0000;">8080</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
console.<span style="color: #660066;">log</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'Server running at http://127.0.0.1:8080/'</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #003366; font-weight: bold;">var</span> socket      <span style="color: #339933;">=</span> require<span style="color: #009900;">(</span><span style="color: #3366CC;">'socket.io'</span><span style="color: #009900;">)</span>.<span style="color: #660066;">listen</span><span style="color: #009900;">(</span>server<span style="color: #009900;">)</span><span style="color: #339933;">,</span><br />
twitter     <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> <span style="color: #009900;">(</span>require<span style="color: #009900;">(</span><span style="color: #3366CC;">"twitter-node"</span><span style="color: #009900;">)</span>.<span style="color: #660066;">TwitterNode</span><span style="color: #009900;">)</span><span style="color: #009900;">(</span>config<span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<br />
twitter<br />
.<span style="color: #660066;">addListener</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'error'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span>error<span style="color: #009900;">)</span><span style="color: #009900;">{</span><br />
console.<span style="color: #660066;">log</span><span style="color: #009900;">(</span>error.<span style="color: #660066;">message</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><br />
.<span style="color: #660066;">addListener</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'tweet'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span>tweet<span style="color: #009900;">)</span><span style="color: #009900;">{</span><br />
socket.<span style="color: #660066;">broadcast</span><span style="color: #009900;">(</span>JSON.<span style="color: #660066;">stringify</span><span style="color: #009900;">(</span>tweet<span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><br />
.<span style="color: #660066;">addListener</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'limit'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span>limit<span style="color: #009900;">)</span><span style="color: #009900;">{</span><br />
sys.<span style="color: #660066;">puts</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'LIMIT: '</span> <span style="color: #339933;">+</span> sys.<span style="color: #660066;">inspect</span><span style="color: #009900;">(</span>limit<span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><br />
.<span style="color: #660066;">addListener</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'delete'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span>del<span style="color: #009900;">)</span><span style="color: #009900;">{</span><br />
sys.<span style="color: #660066;">puts</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'DELETE: '</span> <span style="color: #339933;">+</span> sys.<span style="color: #660066;">inspect</span><span style="color: #009900;">(</span>del<span style="color: #009900;">)</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><br />
.<span style="color: #660066;">addListener</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'end'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span>resp<span style="color: #009900;">)</span><span style="color: #009900;">{</span><br />
sys.<span style="color: #660066;">puts</span><span style="color: #009900;">(</span><span style="color: #3366CC;">'wave goodbye...'</span> <span style="color: #339933;">+</span> resp.<span style="color: #660066;">statusCode</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><br />
.<span style="color: #660066;">stream</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span></div></div>
<p style="text-align: justify;">Au début du code on instancie quelques variables, dont la variable config que l'on passera à notre objet twitter-node. Elle contient les accès Twitter, le fait que l'on veut utiliser l'API Twitter en mode filtre et le mot sur lequel on veut filter. On instancie aussi un serveur Node.js, dans mon cas sur le port 8080.</p>
<p style="text-align: justify;">On attache un objet socket.io sur notre serveur et on instancie un objet twitter-node. On démarre le stream de Twitter en attachant des fonctions aux évènements que l'on peut recevoir.</p>
<p style="text-align: justify;">L'évènement du nom de “ tweet ” est appelé à chaque fois que l'on reçoit <strong>un</strong> tweet. Les évènements limit et delete sont envoyés par l'API Twitter. Par exemple le cas du delete est important à prendre en compte si on construit un client Twitter sur l'API de streaming. Imaginons que quelqu'un poste un tweet et l'efface 2s après. Vous l'aurez déjà reçu et affiché. Mais 2s après vous allez recevoir un signal DELETE sur ce tweet et votre client pourra gérer sa disparition.</p>
<p style="text-align: justify;">Quand on passe dans l'évènement Tweet, je demande à Socket.io d'envoyer en <em>broadcast</em> (à toutes les personnes connectées sur mon serveur) d'envoyer un objet JSON du tweet reçu.</p>
<h1 style="text-align: justify;">Côté Client</h1>
<div class="codecolorer-container javascript railscasts pygments" style="border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;!</span>DOCTYPE HTML<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>head<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>meta charset<span style="color: #339933;">=</span><span style="color: #3366CC;">"utf-8"</span><span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>title<span style="color: #339933;">&gt;</span>Twitter live stream <span style="color: #339933;">:</span> NodeJS <span style="color: #339933;">+</span> Socket.<span style="color: #660066;">io</span><span style="color: #339933;">&lt;/</span>title<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;/</span>head<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>body<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>ul<span style="color: #339933;">&gt;&lt;/</span>ul<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span><br />
<span style="color: #009900;">(</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span>document<span style="color: #339933;">,</span> window<span style="color: #339933;">,</span> undefined<span style="color: #009900;">)</span> <span style="color: #009900;">{</span><br />
<span style="color: #003366; font-weight: bold;">var</span> script <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">(</span><span style="color: #3366CC;">"script"</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
script.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">"http://code.jquery.com/jquery.min.js"</span><span style="color: #339933;">;</span><br />
script.<span style="color: #000066;">onload</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span><br />
$.<span style="color: #660066;">getScript</span><span style="color: #009900;">(</span><span style="color: #3366CC;">"http://127.0.0.1:8080/socket.io/socket.io.js"</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span> <span style="color: #009900;">{</span><br />
<span style="color: #003366; font-weight: bold;">var</span> socket <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> io.<span style="color: #660066;">Socket</span><span style="color: #009900;">(</span><span style="color: #3366CC;">"127.0.0.1"</span><span style="color: #339933;">,</span> <span style="color: #009900;">{</span><span style="color: #3366CC;">"port"</span><span style="color: #339933;">:</span> <span style="color: #CC0000;">8080</span><span style="color: #009900;">}</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
socket.<span style="color: #660066;">on</span><span style="color: #009900;">(</span><span style="color: #3366CC;">"message"</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">(</span>json<span style="color: #009900;">)</span> <span style="color: #009900;">{</span><br />
data <span style="color: #339933;">=</span> JSON.<span style="color: #660066;">parse</span><span style="color: #009900;">(</span>json<span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
$<span style="color: #009900;">(</span><span style="color: #3366CC;">"&lt;li&gt;&lt;/li&gt;"</span><span style="color: #009900;">)</span>.<span style="color: #660066;">text</span><span style="color: #009900;">(</span><span style="color: #3366CC;">"@"</span> <span style="color: #339933;">+</span> data.<span style="color: #660066;">user</span>.<span style="color: #660066;">screen_name</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">" "</span> <span style="color: #339933;">+</span> data.<span style="color: #660066;">text</span><span style="color: #009900;">)</span>.<span style="color: #660066;">prependTo</span><span style="color: #009900;">(</span><span style="color: #3366CC;">"ul"</span><span style="color: #009900;">)</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
socket.<span style="color: #660066;">connect</span><span style="color: #009900;">(</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #339933;">;</span><br />
document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">(</span><span style="color: #3366CC;">"head"</span><span style="color: #009900;">)</span><span style="color: #009900;">[</span><span style="color: #CC0000;">0</span><span style="color: #009900;">]</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">(</span>script<span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">}</span><span style="color: #009900;">)</span><span style="color: #009900;">(</span>document<span style="color: #339933;">,</span> window<span style="color: #009900;">)</span><span style="color: #339933;">;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;/</span>body<span style="color: #339933;">&gt;</span><br />
<span style="color: #339933;">&lt;/</span>html<span style="color: #339933;">&gt;</span></div></div>
<p style="text-align: justify;">Donc là je charge jQuery et une fois que c'est fait je vais chercher le script socket.io.js. Il est automatiquement fournit par le serveur node, donc tu as peut-être le port à changer. Une fois que c'est fait on peut créer un nouveau socket et attacher une fonction à l'évènement <strong>message</strong>. Cet évènement est appelé à chaque fois que le serveur nous envoi quelque chose. Dans notre cas un tweet, donc je l'affiche.</p>
<h1 style="text-align: justify;">Lancement du serveur</h1>
<div class="codecolorer-container bash railscasts pygments" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">node serveur.js</div></div>
<p style="text-align: justify;">Tu n'as plus qu'a ouvrir la partie cliente dans ton navigateur et ça devrait marcher. Je trouve Node.js vraiment intéressant et je n'avais pas pris le temps de le creuser plus que ça. Mais le développement de ce programme est vraiment rapide et s'améliore de jour en jour. Il existe des wrappers node pour Mysql, mongodb et d'autres base de données. Et d'autres plugins aussi utiles que Twitter-node ou socket.io. Il y a même des frameworks de type MVC et cie. On en trouve une bonne liste sur <a href="https://github.com/joyent/node/wiki/modules" target="_blank">cette page</a>.</p>
<p style="text-align: justify;"><a href="http://phollow.fr/tweet-stream/tweets.html" target="_blank">Démo</a></p>
<div id="crp_related"><h3>Articles similaires</h3><ul><li><a href="http://phollow.fr/2010/06/serveur-web-leger-lighttpd-et-freebsd/" rel="bookmark" class="crp_title">Serveur web léger Lighttpd et FreeBSD</a><span class="crp_excerpt"> Dans cet article je vais vous parler de la configuration ...</span></li><li><a href="http://phollow.fr/2009/07/serveur-debian-lenny-apache-mysql-php/" rel="bookmark" class="crp_title">Serveur Debian Lenny - Apache, MySQL &amp; PHP</a><span class="crp_excerpt"> Je commence une toute nouvelle série de billets, sur l'installation ...</span></li><li><a href="http://phollow.fr/2008/11/effets-de-menu-avec-mootools/" rel="bookmark" class="crp_title">Effets de menu avec Mootools</a><span class="crp_excerpt"> Prototype, JQuery, script.aculo.us ... Les frameworks JavaScript sont nombreux et ...</span></li><li><a href="http://phollow.fr/2008/11/adobe-air-rich-internet-application/" rel="bookmark" class="crp_title">Adobe Air : Rich Internet Application</a><span class="crp_excerpt"> Les Rich Internet Application (RIA) sont des applications web qui ...</span></li><li><a href="http://phollow.fr/2009/11/open-source-et-microblogging/" rel="bookmark" class="crp_title">Open-source et microblogging</a><span class="crp_excerpt"> Le micro-blogging est en effervescence depuis la sortie de Twitter. ...</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://phollow.fr/2011/05/streaming-twitter-nodejs-socket-io/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Object Caching 2400/2493 objects using apc

Served from: phollow.fr @ 2012-02-05 03:21:36 -->
