<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 03 Dec 2008 19:58:11 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chuck Burgess' Blog: Remote CLI Debugging via Eclipse PDT]]></title>
      <guid>http://www.phpdeveloper.org/news/11498</guid>
      <link>http://www.phpdeveloper.org/news/11498</link>
      <description><![CDATA[<p>
<i>Chuck Burgess</i> has <a href="http://thenazg.blogspot.com/2008/12/remote-cli-debugging-via-eclipse-pdt.html">posted a discovery</a> he made while working with Eclipse PDT and a command line script that he needed to debug:
</p>
<blockquote>
This week, I found a need to do this same kind of remote debugging, but for a command-line PHP script. This seems to be something that Eclipse is not already designed to do, as there is no "perpetual listener" available for its debug client. <A href="http://www.xdebug.org/docs/remote">Instructions for remote CLI debugging</a> are available, which showed me that environment variables might be the missing link to getting it working with Eclipse. It turned out to be one of two missing links. The other link was tricking Eclipse into keeping a debug session open (and therefore "listening").
</blockquote>
<p>
He found that by loading up the PHP file in a shell script with the XDEBUG_CONFIG and XDEBUG_SESSION variables defined, it allows the Eclipse listener to connect and work through the file like a normal web page request.
</p>]]></description>
      <pubDate>Wed, 03 Dec 2008 12:53:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Evert Pot's Blog: Forking and MySQL connections]]></title>
      <guid>http://www.phpdeveloper.org/news/11497</guid>
      <link>http://www.phpdeveloper.org/news/11497</link>
      <description><![CDATA[<p>
<i>Evert Pot</i> has a <a href="http://www.rooftopsolutions.nl/article/213">quick post</a> showing how you can make your code fork MySQL connections for better performance.
</p>
<blockquote>
For some of our long-running processes we use PHP. It makes total sense from our perspective, because we can re-use all our existing business logic from our main PHP web application. To make things more efficient, I recently started some work on using forks and have a couple of worker processes around.
</blockquote>
<p>
His sample script makes use of the <a href="http://php.net/pcntl_fork">pcntl_fork</a> and <a href="http://php.net/pcntl_wait">pcntl_wait</a> functions in PHP to spawn off processes that will be closed off when no longer needed.
</p>]]></description>
      <pubDate>Wed, 03 Dec 2008 12:07:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Null and Empty Strings]]></title>
      <guid>http://www.phpdeveloper.org/news/11496</guid>
      <link>http://www.phpdeveloper.org/news/11496</link>
      <description><![CDATA[<p>
On DevShed today, there's a <a href="http://www.devshed.com/c/a/MySQL/Null-and-Empty-Strings/">new tutorial</a> posted looking at two things that can cause headaches for PHP developers (especially when evaluating and comparing values) - nulls and empty strings.
</p>
<blockquote>
Anyone who has programmed for any length of time has encountered the concepts of null and empty strings. They are not the same, and confusing the two can cause some serious problems. This article deals with these concepts in the context of PHP and MySQL.
</blockquote>
<p>
They start with a bit of a quiz before getting into how to handle them correctly - making null "safe" and working with it correctly in a MySQL context. SQL statements and table structures are included for their examples.
</p>]]></description>
      <pubDate>Wed, 03 Dec 2008 11:16:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Smashing Magazine: 10 Useful RSS-Tricks and Hacks For WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/11495</guid>
      <link>http://www.phpdeveloper.org/news/11495</link>
      <description><![CDATA[<p>
Smashing Magazine has a few <a href="http://www.smashingmagazine.com/2008/12/02/10-useful-rss-hacks-for-wordpress/">helpful RSS tips and tricks</a> for WordPress users out there:
</p>
<blockquote>
Let's take a look at 10 useful, yet rather unknown RSS-tricks for WordPress. Each section of the article presents a problem, suggests a solution and provides you with an explanation of the solution, so that you can not just solve some of your RSS-related problems but also understand what you are actually doing.
</blockquote>
<p>Here's their list:</p>
<ul>
<li>Control When Your Posts are Available via RSS
<li>Redirecting WordPress Feeds to FeedBurner Feeds
<li>Insert Ads (or Anything Else) in Your RSS Feed
<li>Format Your Images for Feed Readers
<li>Provide Your Readers with a Feed for Each Post
<li>Exclude Categories from Your RSS Feed
<li>Display Any RSS Feed on Your WordPress Blog
<li>Use Category-Specific RSS Feeds
<li>List RSS Feeds by Category
<li>Get Rid of RSS Feeds the Clean Way
</ul>]]></description>
      <pubDate>Wed, 03 Dec 2008 10:28:41 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: New French Zend Framework Book By Julien Pauli]]></title>
      <guid>http://www.phpdeveloper.org/news/11494</guid>
      <link>http://www.phpdeveloper.org/news/11494</link>
      <description><![CDATA[<p>
In <a href="http://blog.astrumfutura.com/archives/372-New-French-Zend-Framework-Book-By-Julien-Pauli.html">this new post</a> to his blog <i>Padraic Brady</i> takes a quick look at a book by <a href="http://julien-pauli.developpez.com/">Julien Pauli</a> and <i>Guillaume Poncon</i> - "Zend Framework: Bien developper en PHP".
</p>
<blockquote>
Weighing in at around 450 pages, the contents table is replete with all the topics one would expect including chapters on MVC in the Zend Framework, all the typical components, and appendices (a lot of appendices!) on topics like MVC Theory, Subversion, Databases, Object Oriented Programming, Testing with PHPUnit, etc. It's a very complete book that should be suitable even for absolute beginners to PHP web application frameworks, or anyone visiting from Ruby/Python/Java.
</blockquote>
<p>
You can find the book at a local (French) bookseller or it can be ordered online from someplace like <a href="http://www.amazon.fr/Zend-Framework-Bien-d%C3%A9velopper-PHP/dp/2212123922/">Amazon.fr</a>.
</p>]]></description>
      <pubDate>Wed, 03 Dec 2008 09:32:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings Blog: symfony 1.2: It's not just about code]]></title>
      <guid>http://www.phpdeveloper.org/news/11493</guid>
      <link>http://www.phpdeveloper.org/news/11493</link>
      <description><![CDATA[<p>
<i>Stefan Koopmanschap</i> has <A href="http://www.ibuildings.com/blog/archives/1532-symfony-1.2-Its-not-just-about-code.html">a new post</a> to the Ibuildings blog today about symfony's 1.2 release.
</p>
<blockquote>
The first day of december started well: It meant the release of the new symfony 1.2.0 version. Aside from the additions and improvements in the code, this new branch of symfony also reinstates an old tradition in symfony: It comes paired with a huge amount of documentation in many forms. Let's have a look at what symfony 1.2 has to offer.
</blockquote>
<p>
He mentions multiple updates and changes to the framework as well as three specific improvements in the realm of documentation - the <a href="http://www.symfony-project.org/blog/2008/12/01/do-you-know-jobeet">jobeet</a> advent calendar, a <a href="http://www.symfony-project.org/blog/2008/12/02/introducing-the-symfony-doctrine-book">symfony + doctrine book</a> and the constant stream of tutorials coming out of the community.
</p>]]></description>
      <pubDate>Wed, 03 Dec 2008 08:44:03 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[AskAboutPHP.com: Codeigniter: Helpers, Plugins and Libraries]]></title>
      <guid>http://www.phpdeveloper.org/news/11492</guid>
      <link>http://www.phpdeveloper.org/news/11492</link>
      <description><![CDATA[<p>
On the AskAboutPHP.com blog <i>eldee</i> takes a look at <a href="http://www.askaboutphp.com/tutorials/51/codeigniter-helpers-plugins-and-libraries.html">helpers, plugins and libraries</a> in the CodeIgniter PHP framework including some examples.
</p>
<blockquote>
With so many published PHP classes and functions, it would be a shame if we couldn't use them in CI. Fortunately CI (like all good frameworks) provides not one but three ways to integrate 3rd code, by using Helpers, Plugins and Libraries. [...] As I found out during the course of my CI project, Helpers, Plugins and Libraries are nothing more than glorified includes. I can pretty much take any 3rd party code and integrate into my application using any of the 3 methods.
</blockquote>
<p>
His example uses the <a href="http://www.phpclasses.org/browse/package/4299.html">Google Graph</a> class as each type (helper, library and plugin) with some example code.
</p>]]></description>
      <pubDate>Wed, 03 Dec 2008 07:57:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Latest Releases from PHPClasses.org]]></title>
      <guid>http://www.phpdeveloper.org/news/11491</guid>
      <link>http://www.phpdeveloper.org/news/11491</link>
      <description><![CDATA[<ul><li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/Bf1L-ZR3WCk/4981.html">PHP XML Little Parser</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/pKcD_jqjgKc/4980.html">Smaller Sudoku</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/V9KyezLUsyI/4983.html">Simple ADO</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/5hMaox2kyZs/4985.html">ubtemplate</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/nzeweccODGA/4991.html">byte converter class</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/2xagN4V9ZW0/4984.html">Simple Abstract Table</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/ipZs_nkbBoQ/4996.html">MySQL DB Management Class</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/-sGC-Yp1uJU/4974.html">Rand</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/Fxl-vTd40Xs/4997.html">ASCII85 - binary to text</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/14X2EenucUw/4998.html">File Importer</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/J3ClQBHDnD4/4990.html">youtube downloader</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/iSmSKZUJmFE/5001.html">mailLogger</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/qxu_KGiHFpc/4988.html">adv_net</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/QwVsVwfqLH4/4977.html">Facebook Notification Class</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/iRGniXrBK3o/4950.html">Dash Media Player</a>
<li><a href="http://feedproxy.google.com/~r/phpclasses-xml/~3/tsoPMVUzJ1c/4995.html">INI Manager Improved</a>
</ul>]]></description>
      <pubDate>Wed, 03 Dec 2008 07:06:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Andre Liem's Blog: 5 tips and tools to optimize your php application - Part 1 simple]]></title>
      <guid>http://www.phpdeveloper.org/news/11490</guid>
      <link>http://www.phpdeveloper.org/news/11490</link>
      <description><![CDATA[<p>
<i>Andre Liem</i> has posted <a href="http://blog.midstride.com/2008/12/01/5-tips-and-tools-to-optimize-your-php-application-part-1-simple/">five simple tips</a> (part one of a two-part series) on ways to optimize your PHP applications.
</p>
<blockquote>
After experiencing some issues with an application running the Zend Framework, I realized there were a lot of things I was not doing to optimize my application.  There are simple and more complex actions you can take to speed up your application.  Since time is precious, and developers with an expertise on optimization are not always available, I've split this post into two sections (simple and more advanced).  This post focuses on the simple part.
</blockquote>
<p>
His simpler suggestions include using the YSlow extension in Firefox, minification of Javascript and CSS, merging CSS/JS requests, using gzip and avoiding CSS background images.
</p>]]></description>
      <pubDate>Tue, 02 Dec 2008 15:31:07 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Basic's Blog: MyUrl view helper for Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/11488</guid>
      <link>http://www.phpdeveloper.org/news/11488</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has <A href="http://robertbasic.com/blog/myurl-view-helper-for-zend-framework/">posted a view helper</a> for the Zend Framework he's developed - one to more correctly handle URLs without dropping the query string information.
</p>
<blockquote>
Zend Framework's built in URL view helper - Zend_View_Helper_Url - is discarding the query string of the URL, thus breaking some links.
</blockquote>
<p>
The included helper for URL building formats the output in a slightly unexpected way, so his helper uses this format and, with the help of a few loops and some string appending, spits a "more correct" version out the other side. Complete code and a usage example are <A href="http://robertbasic.com/blog/myurl-view-helper-for-zend-framework/">included</a>.
</p>]]></description>
      <pubDate>Tue, 02 Dec 2008 12:54:32 -0600</pubDate>
    </item>
  </channel>
</rss>
