<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>The Pimp (Entries tagged as symfony)</title>
    <link>http://blog.thepimp.net/</link>
    <description>Moving Pixels</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.3 - http://www.s9y.org/</generator>
    <pubDate>Tue, 06 May 2008 10:12:36 GMT</pubDate>

    <image>
        <url>http://blog.thepimp.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: The Pimp - Moving Pixels</title>
        <link>http://blog.thepimp.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>PHP Test Fest Munich</title>
    <link>http://blog.thepimp.net/archives/PHP-Test-Fest-Munich.html</link>
            <category>PHP</category>
    
    <comments>http://blog.thepimp.net/archives/PHP-Test-Fest-Munich.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=224</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.thepimp.net/rss.php?version=2.0&amp;type=comments&amp;cid=224</wfw:commentRss>
    

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_left&quot; style=&quot;width: 91px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!-- s9ymdb:1 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;91&quot; height=&quot;110&quot;  src=&quot;http://blog.thepimp.net/uploads/muenchen_stadt_wappen.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;serendipity_imageComment_left&quot; style=&quot;width: 100px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!-- s9ymdb:2 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;100&quot; height=&quot;60&quot;  src=&quot;http://blog.thepimp.net/uploads/bavaria_flag.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;serendipity_imageComment_left&quot; style=&quot;width: 99px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!-- s9ymdb:3 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;99&quot; height=&quot;110&quot;  src=&quot;http://blog.thepimp.net/uploads/testfest.serendipityThumb.png&quot; alt=&quot;&quot; /&gt;&lt;/div&gt;&lt;/div&gt;

	&lt;p&gt;Yet another &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; TestFest call, this time for the Munich area (and even for all Southern Germany).&lt;/p&gt;

	&lt;p&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/schlueters.de/blog/archives/71-PHP-TestFest-at-Munich.html&#039;);&quot;  href=&quot;http://schlueters.de/blog/archives/71-PHP-TestFest-at-Munich.html&quot;&gt;Johannes&lt;/a&gt; and I are trying to organize one or more TestFest days. No &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; internal knowledge is required (like C knowledges), all you need is willing to help to improve &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; and a good mood &lt;img src=&quot;http://blog.thepimp.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;

	&lt;p&gt;So if you&amp;#8217;re interested in meeting core devs and participating in the TestFest and possibly win a few nice prizes please take a look at the TestFest page to get more information and drop a mail to me (pierre at php dot net or use the contact form here) or Johannes (johannes on php.net) so we can plan this month.&lt;/p&gt;

	&lt;p&gt;Please note that we can also organize a TestFest day for an enterprise. It could be a good opportunity for a company to give something back to &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt;, get contacts in the core teams as well as teaching their developers how to test &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; codes using phpt.&lt;/p&gt;

	&lt;p&gt;See the &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/qa.php.net/testfest.php&#039;);&quot;  href=&quot;http://qa.php.net/testfest.php&quot;&gt;&lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; QA page&lt;/a&gt; for more info about the Test Fest.&lt;/p&gt;

	&lt;p&gt;Happy testing!&lt;/p&gt; 
    </content:encoded>

    <pubDate>Tue, 06 May 2008 12:00:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/224.html</guid>
    <category>bavaria</category>
<category>germany</category>
<category>munich</category>
<category>php</category>
<category>symfony</category>
<category>testfest</category>

</item>
<item>
    <title>Debugging symfony (or any php script) with vim and Xdebug</title>
    <link>http://blog.thepimp.net/archives/Debugging-symfony-or-any-php-script-with-vim-and-Xdebug.html</link>
            <category>Uncategorized</category>
    
    <comments>http://blog.thepimp.net/archives/Debugging-symfony-or-any-php-script-with-vim-and-Xdebug.html#comments</comments>
    <wfw:comment>http://blog.thepimp.net/wfwcomment.php?cid=215</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://blog.thepimp.net/rss.php?version=2.0&amp;type=comments&amp;cid=215</wfw:commentRss>
    

    <author>nospam@example.com (Pierre)</author>
    <content:encoded>
    &lt;p&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.xdebug.org&#039;);&quot;  href=&quot;http://www.xdebug.org&quot;&gt;Xdebug&lt;/a&gt; is one of the best debugger and profiler for php (maybe the only good one in open source &lt;img src=&quot;http://blog.thepimp.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;. The only problem is its lack of dedicated client (there is some work being done for a client but it targets only windows for now), however there is many plugins for many &lt;span class=&quot;caps&quot;&gt;IDE&lt;/span&gt; or editors like Eclipse &lt;span class=&quot;caps&quot;&gt;PDT&lt;/span&gt; or weaverslave and even for my favourite editor, Vim.&lt;/p&gt; &lt;p&gt;The vim plugin I will use here has been originally written by Seung Woo Shin and modified/improved by Sam Ghods. I find Sam&amp;#8217;s version less noisy and seems to work better. As far as I rembember it is also included in Andrei&amp;#8217;s vim script (I don&amp;#8217;t have it at hand, but check the &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.gravitonic.com/talks/&#039;);&quot;  href=&quot;http://www.gravitonic.com/talks/&quot;&gt;Andrei&amp;#8217;s talk&lt;/a&gt; about php and vim, the url should be in there)&lt;/p&gt; &lt;h2&gt;Xdebug setup&lt;/h2&gt; &lt;p&gt;The first step is to install Xdebug, this procedure is well described in the Xdebug documentation. Check it out &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/xdebug.org/docs/install&#039;);&quot;  href=&quot;http://xdebug.org/docs/install&quot;&gt;here&lt;/a&gt;. Don&amp;#8217;t forget to enable the extension in your php.ini (the one used by your webserver, fcgi or cli) using&lt;/p&gt; &lt;pre&gt;[Bash] zend_extension=/path/to/lib/php/extensions/xdebug.so &lt;/pre&gt; &lt;p&gt;or if you use a &lt;strong&gt;debug&lt;/strong&gt; build of php:&lt;/p&gt; &lt;pre&gt;[Bash] zend_extension_debug=/path/to/lib/php/extensions/xdebug.so &lt;/pre&gt; &lt;h2&gt;Vim Setup&lt;/h2&gt; &lt;p&gt;To run this plugin you will need the python interpreter in Vim, you can verify whether vim has it enabled or not using the following command in Vim:&lt;/p&gt; &lt;pre&gt;[Bash] :version &lt;/pre&gt; &lt;p&gt;Be sure to see &amp;quot;+python and +signs&amp;quot; in the list. If you miss them, recompile Vim with &amp;quot;&amp;#8212;enable-pythoninterp&amp;quot; or install it using your favourite package manager. For Ubuntu, this command should give you all you need (ubuntu does not install a full vim per default):&lt;/p&gt; &lt;pre&gt;[Bash] apt-get install vim-full python2.5 &lt;/pre&gt; &lt;p&gt;Fetch the plugin archive &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.vim.org/scripts/script.php?script_id=1929&#039;);&quot;  href=&quot;http://www.vim.org/scripts/script.php?script_id=1929&quot;&gt;here&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Extract the archive in your plugin directory, usually ~/.vim/ or /usr/share/vim/addon/. It should look like:&lt;/p&gt; &lt;pre&gt;[Bash] /home/johndoe/.vim/plugin/ |-- debugger.py `-- debugger.vim &lt;/pre&gt; &lt;h2&gt;Begin a debug session&lt;/h2&gt; &lt;p&gt;To tell Xdebug to initialize a debug session, you can pass an extra &lt;span class=&quot;caps&quot;&gt;GET&lt;/span&gt; parameter called XDEBUG_SESSION_START:&lt;/p&gt; &lt;pre&gt;[Bash] http://testsym.local/frontend_dev.php/home?XDEBUG_SESSION_START=1 &lt;/pre&gt; &lt;p&gt;The debugger will not start magiclly &lt;img src=&quot;http://blog.thepimp.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; You have to ask the plugin to wait for Xdebug to send him a signal and the debugging data. Do it by pressing &amp;quot;F5&amp;quot; while being in vim and quickly switch to your browser to reload your page. If vim does nothing but idle after you pressed F5, double check the plugin install, it is not working.&lt;/p&gt; &lt;p&gt;And a little screenshot to show how fantastic are Vim and xDebug:&lt;/p&gt; &lt;p&gt;&lt;img src=&quot;http://blog.thepimp.net/public/images/vimxdebug.png&quot; alt=&quot;vimxdebug.png&quot; /&gt;&lt;/p&gt; &lt;p&gt;ps: how to make a &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.mail-archive.com/symfony-users@googlegroups.com/msg05092.html&#039;);&quot;  href=&quot;http://www.mail-archive.com/symfony-users@googlegroups.com/msg05092.html&quot;&gt;pookey&lt;/a&gt; happy &lt;img src=&quot;http://blog.thepimp.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 24 Jan 2008 19:00:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.thepimp.net/archives/215.html</guid>
    <category>debugger</category>
<category>PHP</category>
<category>profiler</category>
<category>symfony</category>
<category>vim</category>
<category>Xdebug</category>

</item>

</channel>
</rss>