<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Alexandre Debril &#187; php</title>
	<atom:link href="http://alexdebril.wordpress.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexdebril.wordpress.com</link>
	<description>Web Programming &#38; Application Design</description>
	<lastBuildDate>Fri, 23 Jan 2009 06:45:51 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='alexdebril.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/65f69652b37b7cb0ba70243c67ad0299?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Alexandre Debril &#187; php</title>
		<link>http://alexdebril.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://alexdebril.wordpress.com/osd.xml" title="Alexandre Debril" />
		<item>
		<title>xDebug &amp; apd for Xampp linux 1.6.3 &#8230;</title>
		<link>http://alexdebril.wordpress.com/2007/07/25/xdebug-apd-for-xampp-linux-163/</link>
		<comments>http://alexdebril.wordpress.com/2007/07/25/xdebug-apd-for-xampp-linux-163/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 15:51:23 +0000</pubDate>
		<dc:creator>astennu</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://alexdebril.wordpress.com/2007/07/25/xdebug-apd-for-xampp-linux-163/</guid>
		<description><![CDATA[Oh my God, Things are going so fast &#8230;
 xdebug_and_apd_for_xampp-1.6.3.tar.gz (hosted @ box.net)
And  now, I can go on holidays!
Have a nice profiling  
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexdebril.wordpress.com&blog=1181889&post=16&subd=alexdebril&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Oh my God, Things are going so fast &#8230;</p>
<p><a href="http://www.box.net/shared/50g51jatb7"> xdebug_and_apd_for_xampp-1.6.3.tar.gz (hosted @ box.net)</a></p>
<p>And  now, I can go on holidays!</p>
<p>Have a nice profiling <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexdebril.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexdebril.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexdebril.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexdebril.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexdebril.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexdebril.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexdebril.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexdebril.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexdebril.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexdebril.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexdebril.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexdebril.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexdebril.wordpress.com&blog=1181889&post=16&subd=alexdebril&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexdebril.wordpress.com/2007/07/25/xdebug-apd-for-xampp-linux-163/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8f4ebea7f5d37ecdcb53821847d19f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">astennu</media:title>
		</media:content>
	</item>
		<item>
		<title>xDebug &amp; apd for Xampp linux 1.6.2</title>
		<link>http://alexdebril.wordpress.com/2007/07/23/xdebug-apd-for-xampp-linux-162/</link>
		<comments>http://alexdebril.wordpress.com/2007/07/23/xdebug-apd-for-xampp-linux-162/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 07:25:47 +0000</pubDate>
		<dc:creator>astennu</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://alexdebril.wordpress.com/2007/07/23/xdebug-apd-for-xampp-linux-162/</guid>
		<description><![CDATA[For all web developers willing to profile their scripts, you will find below an archive containing xDebug and apd compiled for Xampp 1.6.2 under linux.
 xdebug_and_apd_for_xampp-1.6.2.tar.gz (hosted @ box.net)
Copy your archive in the /opt folder, then uncompress it and restart your xampp server :

cp xdebug_and_apd_for_xampp-1.6.2.tar.gz /opt
tar -xvzf xdebug_and_apd_for_xampp-1.6.2.tar.gz
lampp/lampp restart

This archive features xdebug.so, apd.so and php.ini [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexdebril.wordpress.com&blog=1181889&post=13&subd=alexdebril&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For all web developers willing to profile their scripts, you will find below an archive containing xDebug and apd compiled for Xampp 1.6.2 under linux.</p>
<p><a href="http://www.box.net/shared/ml0kchnyv1"> xdebug_and_apd_for_xampp-1.6.2.tar.gz (hosted @ box.net)</a></p>
<p>Copy your archive in the /opt folder, then uncompress it and restart your xampp server :</p>
<blockquote>
<pre>cp xdebug_and_apd_for_xampp-1.6.2.tar.gz /opt</pre>
<pre>tar -xvzf xdebug_and_apd_for_xampp-1.6.2.tar.gz</pre>
<pre>lampp/lampp restart</pre>
</blockquote>
<p>This archive features xdebug.so, apd.so and php.ini configured so you will just need to restart your web server after uncompressing it.</p>
<p>Then, each time a PHP script is executed, a cachegrind.out file will be created in /tmp . This file is a trace of the whole script&#8217;s execution and brings a clear look on what is going on while the script is running. I suggest opening this file with kCachcgrind :</p>
<p><a title="kcachegrind-1.png" href="http://alexdebril.files.wordpress.com/2007/07/kcachegrind-1.png"><img src="http://alexdebril.files.wordpress.com/2007/07/kcachegrind-1.png?w=500&#038;h=375" alt="kcachegrind-1.png" width="500" height="375" /></a></p>
<p><a title="kcachegrind-2.png" href="http://alexdebril.files.wordpress.com/2007/07/kcachegrind-2.png"><img src="http://alexdebril.files.wordpress.com/2007/07/kcachegrind-2.png?w=500&#038;h=375" alt="kcachegrind-2.png" width="500" height="375" /></a></p>
<p>You can also use the xdebug functions inside your code (at the end of the main script):</p>
<blockquote>
<pre>if (extension_loaded('xdebug') ) {

    echo "&lt;p&gt;Memory Usage : "  . xdebug_memory_usage(). "&lt;/p&gt;";

    echo "&lt;p&gt;duration : "  . xdebug_time_index(). "&lt;/p&gt;";

}</pre>
</blockquote>
<p>that will print :</p>
<blockquote><p>Memory Usage : 251992</p>
<p>duration : 0.00704598426819</p></blockquote>
<p>Enjoy, and have a nice profiling <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexdebril.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexdebril.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexdebril.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexdebril.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexdebril.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexdebril.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexdebril.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexdebril.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexdebril.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexdebril.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexdebril.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexdebril.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexdebril.wordpress.com&blog=1181889&post=13&subd=alexdebril&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexdebril.wordpress.com/2007/07/23/xdebug-apd-for-xampp-linux-162/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8f4ebea7f5d37ecdcb53821847d19f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">astennu</media:title>
		</media:content>

		<media:content url="http://alexdebril.files.wordpress.com/2007/07/kcachegrind-1.png" medium="image">
			<media:title type="html">kcachegrind-1.png</media:title>
		</media:content>

		<media:content url="http://alexdebril.files.wordpress.com/2007/07/kcachegrind-2.png" medium="image">
			<media:title type="html">kcachegrind-2.png</media:title>
		</media:content>
	</item>
		<item>
		<title>Pear::DB is dead. Long live PDO!</title>
		<link>http://alexdebril.wordpress.com/2007/06/04/peardb-is-dead-long-live-pdo/</link>
		<comments>http://alexdebril.wordpress.com/2007/06/04/peardb-is-dead-long-live-pdo/#comments</comments>
		<pubDate>Mon, 04 Jun 2007 12:09:59 +0000</pubDate>
		<dc:creator>astennu</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://alexdebril.wordpress.com/2007/06/04/peardb-is-dead-long-live-pdo/</guid>
		<description><![CDATA[Pear::DB is deprecated in favor of Pear::MDB2. I guess this is a good thing because MDB2 is faster, smaller and provides more features. I only guess because I am not a pear user,I do not like Pear as its installation is really weird and the documentation is sometimes insufficient.
By now, two database abstractions are still [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexdebril.wordpress.com&blog=1181889&post=6&subd=alexdebril&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Pear::DB is deprecated in favor of Pear::MDB2. I guess this is a good thing because MDB2 is faster, smaller and provides more features. I only guess because I am not a pear user,I do not like Pear as its installation is really weird and the documentation is sometimes <span>insufficient.</span></p>
<p>By now, two database abstractions are still active in the PHP community : PDO &amp; Pear::MDB2. I recommend PDO If you are writing your application using PHP5 and/or you want your application to be really fast (PDO is a PHP inner class). Pear::MDB2 can be a good thing for PHP4 applications or if you need a high-level of database abstraction in your application.</p>
<p>the Pear::MDB2 package : <a href="http://pear.php.net/package/MDB2/redirected" title="http://pear.php.net/package/MDB2/redirected">http://pear.php.net/package/MDB2/redirected</a></p>
<p>the PDO Class : <a href="http://php.net/manual/en/ref.pdo.php" title="http://php.net/manual/en/ref.pdo.php">http://php.net/manual/en/ref.pdo.php</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/alexdebril.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/alexdebril.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexdebril.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexdebril.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexdebril.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexdebril.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexdebril.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexdebril.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexdebril.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexdebril.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexdebril.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexdebril.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexdebril.wordpress.com&blog=1181889&post=6&subd=alexdebril&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://alexdebril.wordpress.com/2007/06/04/peardb-is-dead-long-live-pdo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8f4ebea7f5d37ecdcb53821847d19f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">astennu</media:title>
		</media:content>
	</item>
	</channel>
</rss>