<?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, 22 May 2013 05:06:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Should You Close Your PHP Code Tags?]]></title>
      <guid>http://www.phpdeveloper.org/news/15158</guid>
      <link>http://www.phpdeveloper.org/news/15158</link>
      <description><![CDATA[<p>
On the SitePoint PHP blog there's a new post with an interesting question for PHP developers that might go against how they were tought to code from their early days - should you <a href="http://blogs.sitepoint.com/2010/09/18/should-you-close-your-php-code-tags/">close your PHP tags</a> at the end of your code?
</p>
<blockquote>
Even those with a modest grasp of PHP know that code must be enclosed within special <?php and ?> tags. [...] However, if your file contains just PHP - and no escaped HTML code - the closing ?> tag is entirely optional. Many developers argue that unnecessary code should be removed but there's another reason you could consider scrapping the closing tag.
</blockquote>
<p>
Their rationale is that, in some situations, extra characters or other information could pop up after that closing PHP tag and cause problems in your code. If you drop the closing tag completely, there's no risk that this could happen and PHP parses it the same way.
</p>
<p>
There's <a href="http://blogs.sitepoint.com/2010/09/18/should-you-close-your-php-code-tags/#comments">lots of great comments</a> with opinions both for and against.
</p>]]></description>
      <pubDate>Mon, 20 Sep 2010 13:34:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Closing and reopening GitHub issues via PHPUnit tests]]></title>
      <guid>http://www.phpdeveloper.org/news/13876</guid>
      <link>http://www.phpdeveloper.org/news/13876</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2010/01/closing-and-reopening-github-issues-via.html">an interesting idea</a> about PHPUnit plugin (GitHub_TicketListener) that allows you to close (or reopen) <a href="http://github.com">Github</a> issues via PHPUnit tests.
</p>
<blockquote>
Since PHPUnit 3.4.0 a new extension point for interacting with issue tracking systems [...]. The extension point has been introduced by an abstract PHPUnit_Extensions_TicketListener class, which allows developer to add tailor-made ticket listeners supporting their favoured TTS. 
</blockquote>
<p>
The "@ticket" notation that PHPUnit allows as an annotation is the key to linking together your unit tests with the new listener. Two methods, getTicketInfo and updateTicket, are used to have the listener make a cURL connection over to Github and send the request to a REST-like service on the remote side. 
</p>]]></description>
      <pubDate>Wed, 20 Jan 2010 11:16:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Cloning the ZF SVN repository in Git]]></title>
      <guid>http://www.phpdeveloper.org/news/13142</guid>
      <link>http://www.phpdeveloper.org/news/13142</link>
      <description><![CDATA[<p>
If you're a fan of the <a href="http://git-scm.com">Git</a> version control library and have been wanting to work with your Zend Framework applications in it, <i>Matthew Weier O'Phinney</i>'s blog has <a href="http://weierophinney.net/matthew/archives/222-Cloning-the-ZF-SVN-repository-in-Git.html">a post you should read</a>. He's worked up a method to clone the Zend Framework repository in a Git instance.
</p>
<blockquote>
I've been using <a href="http://git-scm.com/">Git</a> for around a year now. My interest in it originally was to act as a replacement for <a href="http://svk.bestpractical.com/">SVK</a>, with which I'd had some bad experiences (when things go wrong with svk, they go very wrong). 
</blockquote>
<p>
He steps through the full process, providing a basic introduction to cloning in Git as well as how to define the correct settings in Git's config file to grab the latest version from the Zend Framework site.
</p>]]></description>
      <pubDate>Tue, 01 Sep 2009 10:28:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PEAR Blog: First PEAR bug triage over!]]></title>
      <guid>http://www.phpdeveloper.org/news/9905</guid>
      <link>http://www.phpdeveloper.org/news/9905</link>
      <description><![CDATA[<p>
According to <a href="http://blog.pear.php.net/2008/03/28/first-pear-bug-triage-over/">this post</a> on the PEAR blog, the first PEAR bug triage is now over:
</p>
<blockquote>
PEAR's bug tracker hit the 600+ open bugs mark a month ago. [...] So with 600+ open bugs (not including the feature requests), we had to do something. [...] The logical step was to hold our own bug smashing event and see how it works for PEAR.
</blockquote>
<p>
Back on March 22nd and 23rd (Easter weekend) they hunted for bugs. Several developers showed to help out and many bugs were fixed and they managed to bring the number of open bugs for PEAR down to 547 with the two days of work. There were some milestones reached too:
</p>
<blockquote>
Thanks to the triage, we are close to reaching two important milestones: Closing bug reports with lower bug ID than 1000 (1 bug left!) and 2000 (5 left).
</blockquote>]]></description>
      <pubDate>Thu, 03 Apr 2008 10:26:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[John Walsh's Blog: Benchmark - MYSQL vs MYSQLi]]></title>
      <guid>http://www.phpdeveloper.org/news/8031</guid>
      <link>http://www.phpdeveloper.org/news/8031</link>
      <description><![CDATA[<p>
<i>John Walsh</i> got to thinking about performance when it comes to the MySQL functions versus MySQLi in PHP - <a href="http://myphpdigest.com/tutorial/Benchmark_-_MYSQL_vs_MYSQLi">this quick post</a> is the result:
</p>
<blockquote>
I've decided that a little investigation in weather it can connect,query and close faster than the MYSQL function I prefer the MYSQLi version as the _connect function is a lot more organised with the DB select in it.
</blockquote>
<p>
The code used for the benchmarks is simple - just a connect, query and close (no fetch). The results of running each 1500 times shows that, by a pretty narrow margin, the MySQL extension comes in around 92 milliseconds faster than MySQLi.
</p>]]></description>
      <pubDate>Tue, 12 Jun 2007 13:34:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ryan Malesevich's Blog: Comments Closed After 21 Days]]></title>
      <guid>http://www.phpdeveloper.org/news/6864</guid>
      <link>http://www.phpdeveloper.org/news/6864</link>
      <description><![CDATA[<p>
After having <a href="http://ryanslife.net/2006/12/10/topped-4000-spam-comments/">some issues</a> with spam comments over on his blog, <i>Ryan Malesevich</i> decided to do something about it. So, being the WordPress fan that he is, he <a href="http://ryanslife.net/2006/12/10/comments-closed-after-21-days/">implemented a new plugin</a> to help things a bit - removing the ability to comment on a post older than 21 days.
</p>
<blockquote>
I'm using a plugin called <a href="http://codex.wordpress.org/Plugins/Auto_shutoff_comments">Auto-Close Comments</a>. Whenever you write a post, edit a post, or anything similar to that, it will go through the database and close any comments for posts older than three weeks. I'm going to try it out for a while to see how my spam comments are altered.
</blockquote>
<p>
You need to install <a href="http://codex.wordpress.org/Plugins/Auto_shutoff_comments">it manually</a> since there's no official packaged plugin for it, but it's a pretty simple matter of cut & paste to get it working. Then, you just define the number of days that you want the cutoff to be and you're all set.
</p>]]></description>
      <pubDate>Mon, 11 Dec 2006 11:57:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DotVoid.com: PHP streams and http 1.1 gotcha]]></title>
      <guid>http://www.phpdeveloper.org/news/5031</guid>
      <link>http://www.phpdeveloper.org/news/5031</link>
      <description><![CDATA[If you work with streams in PHP, <i>Dotvoid</i> has a tip that just might come in handy some day in the future. <a href="http://www.dotvoid.com/view.php?id=58">The tip</a> deals with the difference between HTTP 1.1 and 1.0.
<p>
<quote>
<i>
I have a class that I wrote some time ago that is called URLImporter. It's simple, does what it is supposed to do and thus makes my life easier. Essentially it helps me fetch URL resources - mostly dynamically generated data from password protected extranets that require me to use HTTP POST.
<p>
Up until recently this class have only been used behind an http proxy. The other day I moved it to another machine - that is not behind a proxy and suddenly it stopped working.
</i>
</quote>
<p>
He realized the problem after a bit of research - HTTP 1.1 automatically performs a "keep alive" on the connection, not timing out after the transaction's done like 1.0 does. <a href="http://www.dotvoid.com/view.php?id=58">His solution?</a> Passing another HTTP header to the stream connection: "Connection: close".]]></description>
      <pubDate>Thu, 23 Mar 2006 06:52:50 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: eZ components - We are getting close now]]></title>
      <guid>http://www.phpdeveloper.org/news/4674</guid>
      <link>http://www.phpdeveloper.org/news/4674</link>
      <description><![CDATA[<I>Derick Rethans</i> has <a href="http://derickrethans.nl/ez_components_we_are_getting_close_now.php">a new post</a> on his blog today with some great news about the eZ components software he (and many others) have been working on.
<p>
<quote>
<i>
Just a couple of hours ago <a href="http://ez.no/">we</a> <a href="http://ez.no/community/news/ez_components_1_0_release_candidate_1">released</a> the first release candidate of the <a href="http://ez.no/products/ez_components">eZ components</a>. The components are the first step in porting <a href="http://ez.no/products/ez_publish_cms">eZ publish</a> to PHP 5.
<p>
In this release we overhauled the way we are using Exceptions and implemented them consistently in all the Components. 
</i>
</quote>
<p>
eZ components is an "enterprise ready general purpose PHP platform" that work like building blocks to speed application development...]]></description>
      <pubDate>Tue, 17 Jan 2006 06:28:44 -0600</pubDate>
    </item>
  </channel>
</rss>
