<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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" version="2.0">

<channel>
	<title>NotePad</title>
	
	<link>http://martin.filliau.com/blog</link>
	<description>Martin Filliau</description>
	<pubDate>Mon, 27 Oct 2008 10:07:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/nitramf" type="application/rss+xml" /><item>
		<title>SQL - Trouver des lignes dupliquées</title>
		<link>http://martin.filliau.com/blog/2008/10/27/sql-trouver-des-lignes-dupliquees/</link>
		<comments>http://martin.filliau.com/blog/2008/10/27/sql-trouver-des-lignes-dupliquees/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 10:07:12 +0000</pubDate>
		<dc:creator>Martin Filliau</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Essentiel]]></category>

		<category><![CDATA[Technologies]]></category>

		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://martin.filliau.com/blog/?p=20</guid>
		<description><![CDATA[SELECT Column1, Column2, COUNT (*) AS NumberOfEntries
FROM Table
GROUP BY Column1, Column2
HAVING COUNT(*) &#62; 1
]]></description>
			<content:encoded><![CDATA[<p>SELECT Column1, Column2, COUNT (*) AS NumberOfEntries<br />
FROM Table<br />
GROUP BY Column1, Column2<br />
HAVING COUNT(*) &gt; 1</p>
]]></content:encoded>
			<wfw:commentRss>http://martin.filliau.com/blog/2008/10/27/sql-trouver-des-lignes-dupliquees/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Renommer un objet avec SQL Server</title>
		<link>http://martin.filliau.com/blog/2008/09/29/renommer-un-objet-avec-sql-server/</link>
		<comments>http://martin.filliau.com/blog/2008/09/29/renommer-un-objet-avec-sql-server/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 08:13:06 +0000</pubDate>
		<dc:creator>Martin Filliau</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[sql]]></category>

		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://martin.filliau.com/blog/?p=18</guid>
		<description><![CDATA[EXEC sp_rename
@objname = &#8216;table_name.old_column_name&#8217;,
@newname = &#8216;new_column_name&#8217;,
@objtype = &#8216;COLUMN&#8217;
]]></description>
			<content:encoded><![CDATA[<p>EXEC sp_rename<br />
@objname = &#8216;table_name.old_column_name&#8217;,<br />
@newname = &#8216;new_column_name&#8217;,<br />
@objtype = &#8216;COLUMN&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://martin.filliau.com/blog/2008/09/29/renommer-un-objet-avec-sql-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SubSonic - configuration</title>
		<link>http://martin.filliau.com/blog/2008/06/28/subsonic-configuration/</link>
		<comments>http://martin.filliau.com/blog/2008/06/28/subsonic-configuration/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 14:54:00 +0000</pubDate>
		<dc:creator>Martin Filliau</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Essentiel]]></category>

		<category><![CDATA[Technologies]]></category>

		<category><![CDATA[.net]]></category>

		<category><![CDATA[microsoft]]></category>

		<category><![CDATA[subsonic]]></category>

		<guid isPermaLink="false">http://martin.filliau.com/blog/?p=17</guid>
		<description><![CDATA[SubSonic est un générateur de DAL (Data Access Layer, va retourner des objets depuis une base de données relationnelle) pour projets en .net.
Configuration rapide

Ajouter la référence à la DLL de SubSonic dans le projet.
Dans web.config :

Ajouter une nouvelle configSection : &#60;section name=&#8220;SubSonicService&#8220; type=&#8220;SubSonic.SubSonicSection, SubSonic&#8220; requirePermission=&#8220;false&#8220;/&#62;
Ajouter une connectionString (example) : &#60;add name=&#8220;Contacts&#8220; connectionString=&#8220;Data Source=localhost\SQLExpress; Database=contacts; Integrated [...]]]></description>
			<content:encoded><![CDATA[<p>SubSonic est un générateur de DAL (Data Access Layer, va retourner des objets depuis une base de données relationnelle) pour projets en .net.</p>
<h2>Configuration rapide</h2>
<ol>
<li>Ajouter la référence à la DLL de SubSonic dans le projet.</li>
<li>Dans <strong>web.config</strong> :
<ol>
<li>Ajouter une nouvelle <strong>configSection</strong> : <span style="color: blue;">&lt;</span><span style="color: #a31515;">section</span><span style="color: blue;"> </span><span style="color: red;">name</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">SubSonicService</span>&#8220;<span style="color: blue;"> </span><span style="color: red;">type</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">SubSonic.SubSonicSection, SubSonic</span>&#8220;<span style="color: blue;"> </span><span style="color: red;">requirePermission</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">false</span>&#8220;<span style="color: blue;">/&gt;</span></li>
<li><span style="color: blue;"><span style="color: #000000;">Ajouter une <strong>connectionString</strong> (example) :</span></span><span style="color: blue;"> &lt;</span><span style="color: #a31515;">add</span><span style="color: blue;"> </span><span style="color: red;">name</span><span style="color: blue;">=</span>&#8220;<span style="color: #0000ff;">Contacts</span>&#8220;<span style="color: blue;"> </span><span style="color: red;">connectionString</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">Data Source=localhost\SQLExpress; Database=</span><span style="color: #0000ff;">contacts</span><span style="color: blue;">; Integrated Security=true;</span>&#8220;<span style="color: blue;">/&gt;</span></li>
<li><span style="color: blue;"><span style="color: #000000;">Ajouter un <strong>provider</strong> pour SubSonic : </span></span>
<div style="background: #f8f8f8 none repeat scroll 0% 50%; font-size: 9pt; color: black; font-family: consolas; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<p style="margin: 0px;"><span style="color: blue;"> &lt;</span><span style="color: #a31515;">SubSonicService</span><span style="color: blue;"> </span><span style="color: red;">defaultProvider</span><span style="color: blue;">=</span>&#8220;<span style="color: #0000ff;">Contacts</span>&#8220;<span style="color: blue;">&gt;</span></p>
<p style="margin: 0px;"><span style="color: blue;"> &lt;</span><span style="color: #a31515;">providers</span><span style="color: blue;">&gt;</span></p>
<p style="margin: 0px;"><span style="color: blue;"> &lt;</span><span style="color: #a31515;">clear</span><span style="color: blue;">/&gt;</span></p>
<p style="margin: 0px;"><span style="color: blue;"> &lt;</span><span style="color: #a31515;">add</span><span style="color: blue;"> </span><span style="color: red;">name</span><span style="color: blue;">=</span>&#8220;<span style="color: #0000ff;">Contacts</span>&#8220;<span style="color: blue;"> </span><span style="color: red;">type</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">SubSonic.SqlDataProvider, SubSonic</span>&#8220;<span style="color: blue;"> </span><span style="color: red;">connectionStringName</span><span style="color: blue;">=</span>&#8220;<span style="color: #0000ff;">Contacts</span>&#8220;<span style="color: blue;"> </span><span style="color: red;">generatedNamespace</span><span style="color: blue;">=</span>&#8220;<span style="color: #0000ff;">Contacts</span>&#8220;<span style="color: blue;">/&gt;</span></p>
<p style="margin: 0px;"><span style="color: blue;"> &lt;/</span><span style="color: #a31515;">providers</span><span style="color: blue;">&gt;</span></p>
<p style="margin: 0px;"><span style="color: blue;"> &lt;/</span><span style="color: #a31515;">SubSonicService</span><span style="color: blue;">&gt;</span></p>
</div>
</li>
</ol>
</li>
<li><span style="color: blue;"><span style="color: #000000;">Pour générer la DAL rapidement, il faut déclarer un <strong>buildProvider</strong> :</span></span>
<ol>
<li><span style="color: blue;"><span style="color: #000000;">Dans web.config : </span></span>
<div style="background: #f8f8f8 none repeat scroll 0% 50%; font-size: 9pt; color: black; font-family: consolas; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<p style="margin: 0px;"><span style="color: blue;"> &lt;</span><span style="color: #a31515;">compilation</span><span style="color: blue;"> </span><span style="color: red;">debug</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">true</span>&#8220;<span style="color: blue;"> </span><span style="color: red;">defaultLanguage</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">C#</span>&#8220;<span style="color: blue;">&gt;</span></p>
<p style="margin: 0px;"><span style="color: blue;"> &lt;</span><span style="color: #a31515;">buildProviders</span><span style="color: blue;">&gt;</span></p>
<p style="margin: 0px;"><span style="color: blue;"> &lt;</span><span style="color: #a31515;">add</span><span style="color: blue;"> </span><span style="color: red;">extension</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">.abp</span>&#8220;<span style="color: blue;"> </span><span style="color: red;">type</span><span style="color: blue;">=</span>&#8220;<span style="color: blue;">SubSonic.BuildProvider, SubSonic</span>&#8220;<span style="color: blue;">/&gt;</span></p>
<p style="margin: 0px;"><span style="color: blue;"> &lt;/</span><span style="color: #a31515;">buildProviders</span><span style="color: blue;">&gt;</span></p>
</div>
</li>
<li><span style="color: blue;"><span style="color: #000000;">Dans le dossier <strong>App_Code</strong>, créer un fichier build.abp (seule l&#8217;extension compte vraiment) comportant juste &#8220;*&#8221;.</span></span></li>
</ol>
</li>
</ol>
<h2>Les outils</h2>
<p>SubSonic arrive avec plusieurs outils permettant de génerer des classes et du scaffolding.</p>
<ul>
<li><strong>SubCommander</strong> : application en ligne de commande</li>
<li><strong>SubStage</strong> : application graphique</li>
<li><strong>SubSonicCentral</strong> : application web</li>
</ul>
<p>Plus d&#8217;informations sur le <a title="Site officiel du SubSonic project." href="http://subsonicproject.com/"  target="_blank">site officiel</a> du projet.</p>
]]></content:encoded>
			<wfw:commentRss>http://martin.filliau.com/blog/2008/06/28/subsonic-configuration/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WPF / XAML : les différents panels</title>
		<link>http://martin.filliau.com/blog/2008/06/23/wpf-xaml-panels/</link>
		<comments>http://martin.filliau.com/blog/2008/06/23/wpf-xaml-panels/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 20:52:21 +0000</pubDate>
		<dc:creator>Martin Filliau</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Essentiel]]></category>

		<category><![CDATA[Technologies]]></category>

		<category><![CDATA[cheatsheet]]></category>

		<category><![CDATA[panels]]></category>

		<category><![CDATA[RIA]]></category>

		<category><![CDATA[wpf]]></category>

		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://martin.filliau.com/blog/?p=16</guid>
		<description><![CDATA[Il existe différents types de panels pour décrire une interface graphique en WPF.

StackPanel : disposer des éléments verticalement / horizontalement sur la même ligne / colonne
WrapPanel : dispose les éléments séquentiellement (passe à une nouvelle ligne / colonne après x éléments)
DockPanel : attacher les éléments aux quatre points cardinaux du panel
Canvas : positionnement libre
Grid : [...]]]></description>
			<content:encoded><![CDATA[<p>Il existe différents types de panels pour décrire une interface graphique en WPF.</p>
<ul>
<li><strong>StackPanel </strong>: disposer des éléments verticalement / horizontalement sur la même ligne / colonne</li>
<li><strong>WrapPanel </strong>: dispose les éléments séquentiellement (passe à une nouvelle ligne / colonne après x éléments)</li>
<li><strong>DockPanel </strong>: attacher les éléments aux quatre points cardinaux du panel</li>
<li><strong>Canvas </strong>: positionnement libre</li>
<li><strong>Grid </strong>: grille d&#8217;éléments, et ce qui en découle :
<ul>
<li><strong>UniformGrid</strong>, pour obtenir des cellules &#8220;uniformes&#8221; (= d&#8217;une même taille) comme son nom l&#8217;indique,</li>
<li>(<em>more to come</em>)</li>
</ul>
</li>
<li><strong>VirtualizingPanel </strong>: base permettant de n&#8217;afficher des composants seulement si ils sont effectivement visibles à l&#8217;écran</li>
</ul>
<p>Plus à venir, merci à <a title="Blog de Matthieu Dordolo" href="http://blog.matthieudordolo.com/"  target="_blank">Matt</a> pour ses informations <img src='http://martin.filliau.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://martin.filliau.com/blog/2008/06/23/wpf-xaml-panels/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Insérer une page JSF dans une autre page JSF</title>
		<link>http://martin.filliau.com/blog/2008/06/06/inserer-une-page-jsf-dans-une-autre-page-jsf/</link>
		<comments>http://martin.filliau.com/blog/2008/06/06/inserer-une-page-jsf-dans-une-autre-page-jsf/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 12:35:38 +0000</pubDate>
		<dc:creator>Martin Filliau</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Technologies]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[jsf]]></category>

		<guid isPermaLink="false">http://martin.filliau.com/blog/?p=15</guid>
		<description><![CDATA[Dans la page à inclure :

Ne pas mettre de &#60;f:view&#62;

Dans les autres pages :

Créer une &#60;f:subView&#62; à l&#8217;intérieur d&#8217;une &#60;f:view&#62;
Insérer un &#60;jsp:include&#62; avec flush=&#8221;false&#8221;

]]></description>
			<content:encoded><![CDATA[<p>Dans la page à inclure :</p>
<ul>
<li>Ne pas mettre de &lt;f:view&gt;</li>
</ul>
<p>Dans les autres pages :</p>
<ul>
<li>Créer une &lt;f:subView&gt; à l&#8217;intérieur d&#8217;une &lt;f:view&gt;</li>
<li>Insérer un &lt;jsp:include&gt; avec flush=&#8221;false&#8221;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://martin.filliau.com/blog/2008/06/06/inserer-une-page-jsf-dans-une-autre-page-jsf/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
