<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.webitoo.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>WebIToo</title>
  <link>http://www.webitoo.com/</link>
  <description>A blog about web 2.0 development, AJAX, MVC, good practice and handy tools to make your life easier in everyday's web developper life.</description>
  <language>en</language>
  <pubDate>Fri, 25 Jul 2008 23:41:07 +0200</pubDate>
  <copyright>All rights reserved</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>PERL Packages having Sex?</title>
    <link>http://www.webitoo.com/post/2007/11/07/PERL-Packages-having-Sex</link>
    <guid isPermaLink="false">urn:md5:1a8a141121967f5d8d7274c99b5a068a</guid>
    <pubDate>Wed, 07 Nov 2007 15:24:00 +0100</pubDate>
    <dc:creator>Romain</dc:creator>
        <category>Fun stuff</category>
            
    <description>    &lt;p&gt;Perl packages can make love, and procreate new little PERL offspring... Can't believe it? Well install the Sex CPAN package, or check out the &lt;a href=&quot;http://search.cpan.org/~mschwern/Sex-0.69/Sex.pm&quot; hreflang=&quot;en&quot;&gt;documentation&lt;/a&gt;.&lt;/p&gt;


&lt;pre&gt;* &lt;a href=&quot;http://search.cpan.org/~mschwern/Sex-0.69/&quot; hreflang=&quot;en&quot;&gt;Sex Package on CPAN&lt;/a&gt;
* &lt;a href=&quot;http://search.cpan.org/src/MSCHWERN/Sex-0.69/Sex.pm&quot; hreflang=&quot;perl&quot;&gt;Sex Package Source Code&lt;/a&gt;&lt;/pre&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>How to set the wrap attribute of a textarea without breaking valid XHTML code</title>
    <link>http://www.webitoo.com/post/2007/11/04/How-to-set-the-wrap-attribute-of-a-textarea-without-breaking-valid-XHTML-code</link>
    <guid isPermaLink="false">urn:md5:bb8351ab3218e0f83ac40818c7d8a3e2</guid>
    <pubDate>Sun, 04 Nov 2007 14:59:00 +0100</pubDate>
    <dc:creator>Romain</dc:creator>
        <category>Tricks</category>
        <category>firefox</category><category>javascript</category><category>textarea</category><category>trick</category><category>wrap</category><category>xhtml</category>    
    <description>    &lt;p&gt;WRAP attribute of textarea is not standard. That does not means it's useless, and you'd often want to set it, but then W3C validator will fail.&lt;/p&gt;


&lt;p&gt;Here's a little trick to set it via Javascript, and to make it work under firefow which would not activate it if you just set it with textarea.wrap = ...:&lt;/p&gt;

&lt;div class=&quot;code&quot;&gt;&lt;code class=&quot;javascript&quot;&gt;&amp;lt;script type=&lt;span style=&quot;color: #3366CC;&quot;&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;
&amp;nbsp; document.&lt;span style=&quot;color: #006600;&quot;&gt;ready&lt;/span&gt; = &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; obj = document.&lt;span style=&quot;color: #006600;&quot;&gt;all&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;code&lt;/span&gt;, pn = obj.&lt;span style=&quot;color: #006600;&quot;&gt;parentNode&lt;/span&gt;, ns = obj.&lt;span style=&quot;color: #006600;&quot;&gt;nextSibling&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; obj.&lt;span style=&quot;color: #006600;&quot;&gt;wrap&lt;/span&gt; = &lt;span style=&quot;color: #3366CC;&quot;&gt;'off'&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; pn.&lt;span style=&quot;color: #006600;&quot;&gt;removeChild&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;obj&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; pn.&lt;span style=&quot;color: #006600;&quot;&gt;obj&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;obj, ns&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/div&gt;


&lt;p&gt;It will set the attribute, and rebuild the textarea to make the reticent browser take in account all parameters.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Ignoring undesired files in subversion</title>
    <link>http://www.webitoo.com/post/2007/08/15/Ignoring-undesired-files-in-subversion</link>
    <guid isPermaLink="false">urn:md5:aa3b453475c6638426ad155b90e1d8ed</guid>
    <pubDate>Wed, 15 Aug 2007 11:02:00 +0200</pubDate>
    <dc:creator>Romain</dc:creator>
        <category>Tools</category>
        <category>howto</category><category>subversion</category>    
    <description>    &lt;p&gt;Good web development practices includes versionning your source code, to be able to rapidly track new appearing bugs and efficiently share work on same source code between more than one people (In fact i use it also for personnal projects, that only involves one developper).&lt;/p&gt;


&lt;p&gt;Basic usage is pretty straightforward, and the Subversion Book (see related links) will get you started pretty fast (it took me about an afternoon to read the basic chapters, install subversion, set up svnserve not to give my code to anybody requesting it, installing trac (web interface/wiki/ticket/timeline frontend to svn) and learning the basics to import/checkout/update/revert/resolve stuff in a svn tree.&lt;/p&gt;


&lt;p&gt;Recently, some new problem came to me, and I was glad to see that it was not a problem at all because of subversion properties. Properties are text values you set on a svn versionned folder that can have a special meaning. For example, svn:externals property allows you to use another project as a subpart of your tree, very handy in case of plugins, or dependencies for example.&lt;/p&gt;


&lt;p&gt;But todays property that interests us is svn:ignore. Pretty self explaining, it allows you to ignore some files, or file patterns, when commiting your changes. Why? Imagine python development, where .pyc (python compiled) files arise everywhere you run .py (python source) files... Ignoring *.pyc would be usefull, don't you think? Ok, you do not write python, so what? Imagine a cache system... Or a website logs... The interest is the same, you'd like to simply ignore the cache, or log folder from svn status or svn commit, thoose folders are usefull but versionning them is very questionable, if not complete nonsense.&lt;/p&gt;


&lt;p&gt;So here is how to proceed. The svn commands we're going to use are propset, propget, propedit and propget.&lt;/p&gt;


&lt;p&gt;svn propset svn:ignore &amp;lt;mask&amp;gt; &amp;lt;dir&amp;gt; &amp;lt;path&amp;gt;
svn propset svn:ignore &amp;lt;dir&amp;gt; &amp;lt;path&amp;gt;&lt;/p&gt;


&lt;p&gt;Once set, you can simply propedit it, with your favorite text editor (set SVN_EDITOR, or EDITOR environment variable to the one you like):&lt;/p&gt;


&lt;p&gt;svn propedit svn:ignore &amp;lt;path&amp;gt;&lt;/p&gt;


&lt;p&gt;To look at the current value of the property:&lt;/p&gt;


&lt;p&gt;svn propget svn:ignore &amp;lt;path&amp;gt;&lt;/p&gt;



&lt;p&gt;Related links:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://svnbook.red-bean.com/&quot; hreflang=&quot;en&quot;&gt;The Subversion Book&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Nice CreativeCommomns icons for use on your website</title>
    <link>http://www.webitoo.com/post/2007/10/19/Nice-CreativeCommomns-icons-for-use-on-your-website</link>
    <guid isPermaLink="false">urn:md5:d6ebd8da9e10468ce9076b0aa8f7d476</guid>
    <pubDate>Tue, 19 Jun 2007 10:43:00 +0200</pubDate>
    <dc:creator>Romain</dc:creator>
        <category>Resources</category>
        <category>creativecommons</category><category>design</category><category>graphic</category><category>icon</category><category>resource</category>    
    <description>    &lt;p&gt;When you're designing a website, you're often in the need of icons to make the navigation more intuitive. But when you're not a company, you won't often have the money to buy a license of a big professional icon/symbol pack. Hopefully, some very nice work is available in permissive licenses, like CreativeCommons.&lt;/p&gt;


&lt;p&gt;FamFamFam is one site that propose such work, that you can use according to the license terms (see the reference at the bottom). About 700 PNG icons are available in 16x16 format, and other collections propose GIF and PNG sets.&lt;/p&gt;


&lt;p&gt;Related sites:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.famfamfam.com/&quot; hreflang=&quot;en&quot;&gt;FamFamFam Icons&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://creativecommons.org/licenses/by-nc-sa/2.0/&quot; hreflang=&quot;en&quot;&gt;Creative Commons License&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Symfony 1.0 is out!</title>
    <link>http://www.webitoo.com/post/2007/02/19/Symfony-10-is-out</link>
    <guid isPermaLink="false">urn:md5:eeb56aa62b1c1aed01fd942171d53efc</guid>
    <pubDate>Mon, 19 Feb 2007 10:22:00 +0100</pubDate>
    <dc:creator>Romain Dorgueil</dc:creator>
        <category>Tools</category>
        <category>doctrine</category><category>framework</category><category>MVC</category><category>PHP</category><category>propel</category><category>release</category><category>symfony</category>    
    <description>    &lt;p&gt;Despite the DIGG side effects of which symfony project server suffered because of heavy traffic brought by the well known social bookmarking site's homepage anouncing symfony's first &quot;stable&quot; release, the long awaited 1.0 version is here!&lt;/p&gt;


&lt;p&gt;For thoose who don't know it, Symfony is a MVC (Model-View-Component) PHP5 framework aiming to Rapid Application Development and good codinig practices like the DRY (Don't Repeat Yourself) principle. Their main contributors, french developpers from Sensio Labs Fabien Potencier and François Zaninotto have written a very good documentation book about it, that you can either buy at amazon (for thoose who like holding a real book), or download/read freely on the symfony project website as a PDF file.&lt;/p&gt;


&lt;p&gt;Supported by a large community, you'll find support about symfony in diverse flavour, from the symfony forum to different languages mailing lists, going thru #symfony and #symfony-fr (for french developpers) on Freenode IRC network.&lt;/p&gt;


&lt;p&gt;As the official release note is saying:
&lt;q&gt;At last, the long-awaited 1.0 stable version of symfony is just released. For all those who waited for the &quot;stable&quot; status to dive into symfony, the time has come.&lt;/q&gt;&lt;/p&gt;


&lt;p&gt;Some reference sites about symfony:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.symfony-project.com/&quot; hreflang=&quot;en&quot;&gt;Symfony Project Official Website&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.symfony-forge.com/&quot; hreflang=&quot;en&quot;&gt;Symfony Forge Plugin Repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://propel.phpdb.org/&quot; hreflang=&quot;en&quot;&gt;Propel ORM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://doctrine.pengus.net/&quot; hreflang=&quot;en&quot;&gt;Doctrine ORM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.symforc.com/&quot; hreflang=&quot;en&quot;&gt;Symfony Resources Central&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>