<?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, 19 Jun 2013 15:13:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Phil Sturgeon: Testing and Contributing with Composer Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/19543</guid>
      <link>http://www.phpdeveloper.org/news/19543</link>
      <description><![CDATA[<p>
<i>Phil Sturgeon</i> has posted a guide to his site about <a href="http://philsturgeon.co.uk/blog/2013/05/testing-contributing-composer-packages">running tests and contributing back</a> to packages that live in Composer.
</p>
<blockquote>
While Composer has been around for a while now, many packages are still in their infancy (< 1.0) or sometimes are just not as feature filled as they could be. To be fair there is always more to be done. It can always do more, or do the same thing more efficiently. Whatever the case, pull requests are going to be a common thing for the PHP community to be doing to these packages and this needs to be done safely, with unit-testing. So, how do you run their test suite and add your own tests?
</blockquote>
<p>
He includes a step-by-step guide to getting the environment set up to run the package's tests and how to add some of your own. He includes the commands to send the pull request back up to Github (on your own fork, of course) and how to use that same fork as your package resource until the main project is updated.
</p>
Link: http://philsturgeon.co.uk/blog/2013/05/testing-contributing-composer-packages]]></description>
      <pubDate>Fri, 03 May 2013 11:47:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Hill:  Video: Multi-tasking in PHP (from Atlanta PHP)]]></title>
      <guid>http://www.phpdeveloper.org/news/18965</guid>
      <link>http://www.phpdeveloper.org/news/18965</link>
      <description><![CDATA[<p>
<i>Jonathan Hill</i> has <a href="http://jonathonhill.net/2012-12-19/video-multi-tasking-in-php/">posted the video</a> of his recent presentation at the <a href="http://atlantaphp.org">Atlanta PHP User Group</a>, "Multi-tasking in PHP".
</p>
<blockquote>
When it comes to multi-tasking and interacting with the operating system, PHP is no lightweight. In this December 6, 2012 presentation Jonathon Hill (<a href="http://twitter.com/compwright">@compwright</a>) explores PHP's little-known POSIX, Process Control, and Semaphore extensions and shows you how to introduce a parallel dimension to your applications.
</blockquote>
<p>
<a href="http://www.slideshare.net/compwright/multiprocessing">His presentation</a> covers the use of multi-tasking to accomplish some common tasks in PHP (like batch processing or creating daemons). He talks about multi-processing vs multi-threading, forking, race conditions and semaphores.
</p>
<p>
You can watch the <a href="http://vimeo.com/55950992">video</a> of the presentation over on Vimeo and check out the software and links to other resources mentioned in the talk in <a href="http://bitly.com/atlphpm">this link bundle</a>.
</p>]]></description>
      <pubDate>Fri, 28 Dec 2012 11:33:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell: Do Open Source with Git and Github]]></title>
      <guid>http://www.phpdeveloper.org/news/18451</guid>
      <link>http://www.phpdeveloper.org/news/18451</link>
      <description><![CDATA[<p>
So you've been working on your own code for a while now but have been hearing about Github and how it makes it simple to contribute to other projects too. Maybe you haven't found the time to get into git and Github yet. Well, <a href="http://www.lornajane.net/posts/2012/do-open-source-with-git-and-github">this new post</a> (a reprinted article from <a href="http://phparch.com">php|architect</a>) to <i>Lorna Mitchell</i>'s blog will tell you all you need to know.
</p>
<blockquote>
Often I find absolutely competent programmers, who aren't involved in open source, either because they don't know how to approach a project, or because they just aren't sure how the process even works. In this article we'll look at one example, the conference feedback site <a href="http://joind.in/">joind.in</a>, and how you can use <a href="http://github.com/">GitHub</a> to start contributing code to this project. Since so many projects are hosted on github, this will help you get started with other projects, too.
</blockquote>
<p>
She covers all you'll need to know to get in and get going with Github - forking a current repo (she uses <a href="https://github.com/joindin/joind.in">Joind.in</a> as an example), cloning your fork, making updates and submitting them as a pull request back to the main project. There's also some things about general git topics like branching, merging from the upstream source and using "git log" to view the changes.
</p>]]></description>
      <pubDate>Thu, 06 Sep 2012 09:57:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kurt Payne's Blog: How to Unit Test pcntl_fork()]]></title>
      <guid>http://www.phpdeveloper.org/news/17421</guid>
      <link>http://www.phpdeveloper.org/news/17421</link>
      <description><![CDATA[<p>
<i>Kurt Payne</i> has a new post to his blog showing how you can <a href="http://kpayne.me/2012/01/17/how-to-unit-test-fork/">unit test your process forking</a> in your PHP application (<a href="http://php.net/pcntl">pcntl</a>).
</p>
<blockquote>
At some point, many php developers turn to the pcntl functions in php to write a daemon, or server, or simulate threading. But how do you unit test this with complete code coverage? [...] We need to engage some black arts php extensions to make this happen.  An installation guide follows, and the post ends with a complete listing of the unit test.
</blockquote>
<p>
He uses the <a href="https://github.com/sebastianbergmann/php-test-helpers">test_helpers</a> extension (as provided by <i>Sebastian Bergmann</i>) and <a href="https://github.com/zenovich/runkit/">Runkit</a> to allow the test to define new methods copying the current pcntl methods and mocks up the responses. Tests are included to check the parent of a process, checking the children of a process and testing that a fork could be made. Hes's even included <a href="http://kurtpayne.files.wordpress.com/2012/01/forktest_code_coverage.png?w=614&h=464">visual proof</a> of this working.
</p>]]></description>
      <pubDate>Thu, 19 Jan 2012 13:40:20 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Purcell's Blog: Symfony - PHP - Possibly Forking 1.x so Invested Companies don't Lose Millions]]></title>
      <guid>http://www.phpdeveloper.org/news/16545</guid>
      <link>http://www.phpdeveloper.org/news/16545</link>
      <description><![CDATA[<p>
<i>Mike Purcell</i> has a recent post to his blog looking at the <a href="http://melikedev.com/2011/06/30/symfony-php-possibly-forking-1-x-so-invested-companies-dont-lose-millions/">rumors of a Symfony 1.x fork</a> and some of his own thoughts on the matter.
</p>
<blockquote>
It's amazing that we are even having this type of discussion. We opted to use Symfony back in 0.x for some high traffic projects. [...] And now here we are on 1.4. Content and happy with the throughput the dev team is able to maintain. But now Symonfy says that 2.0 will be released and is completely different than 1.x? How is that fair to the companies, individuals, and hobbyists who have sunk time over the last four years ramping up to a point where we can take advantage of RAD (rapid app development) approach that Symfony provides? 
</blockquote>
<p>
He wonders if this same discussion will be being had years down the line when Symfony3 decides to come up on the horizon. Will there be such a major change in the architecture that developers, only a few years earlier making the major change to to Symfony2, will get burnt again?
</p>]]></description>
      <pubDate>Fri, 01 Jul 2011 11:05:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP podcast episode 13 - Dedicated PHP in Cloud Solution with PHPFog]]></title>
      <guid>http://www.phpdeveloper.org/news/16539</guid>
      <link>http://www.phpdeveloper.org/news/16539</link>
      <description><![CDATA[<p>
PHPClasses.org has posted the latest episode of their "Lately In PHP" podcast series, a look at <a href="http://www.phpclasses.org/blog/post/152-Dedicated-PHP-in-Cloud-Solution-with-PHPFog--Lately-in-PHP-podcast-episode-13.html">the cloud hosting PHPFog now offers</a> including an interview with <i>Lucas Carlson</i>, CEO of PHPFog.
</p>
<blockquote>
On the Lately in PHP podcast episode 13, Manuel Lemos and Ernani Joppert interview Lucas Carlson, founder and CEO of PHPFog, to tell us about the advantages of using a Cloud Hosting service that is optimized to address needs that are specific to PHP Web sites and applications. They also comment on the PHP 5.3.6 forked version released by Robert Eisele and the PHP features being voted for inclusion in version 5.4.
</blockquote>
<p>
You can listen to this latest episode in a few different ways - either via the <a href="http://www.phpclasses.org/blog/post/152-Dedicated-PHP-in-Cloud-Solution-with-PHPFog--Lately-in-PHP-podcast-episode-13.html">in-page player</a>, by <a href="http://www.phpclasses.org/blog/post/152/file/67/name/Lately-In-PHP-13.mp3">downloading the mp3</a> or by <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribing to their feed</a>.
</p>]]></description>
      <pubDate>Thu, 30 Jun 2011 10:58:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Test.ical.ly Blog: Is forking symfony 1.5 really a realistic option?]]></title>
      <guid>http://www.phpdeveloper.org/news/16535</guid>
      <link>http://www.phpdeveloper.org/news/16535</link>
      <description><![CDATA[<p>
In <a href="http://test.ical.ly/2011/06/28/is-forking-symfony-1-5-really-a-realistic-option/">this new post</a> to his blog, <i>Christian</i> wonders if forking the 1.x branch of Symfony to create a 1.5 version is a real possibility.
</p>
<blockquote>
The idea of forking came up. But is this really going to happen? And does it make any sense at all? What would be the benefit of forking symfony 1.4 and continuing development of the 1.x branch?
</blockquote>
<p>
He suggests that it might be worth it because the branch is currently stable, it has a proven track record, there's already several plugins available and there's a comfort level among developers using it. He still asks the "why?" question, though:
</p>
<blockquote>
Not switching to Symfony2 would essentially mean that you accept these flaws [in 1.x]. Now even if I don't agree I can not see a reason to argue against this. Being pragmatic is not a bad thing as such.
</blockquote>]]></description>
      <pubDate>Wed, 29 Jun 2011 11:07:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org Blog: New PHP Version Fork]]></title>
      <guid>http://www.phpdeveloper.org/news/16472</guid>
      <link>http://www.phpdeveloper.org/news/16472</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog today <i>Manuel Lemos</i> <a href="http://www.phpclasses.org/blog/post/149-New-PHP--Version-Fork.html">gives his perspective</a> on the recently announced PHP fork by <i>Robert Eisele</i> that has the community buzzing with comments from both sides of the fence.
</p>
<blockquote>
A fork is a new version of a project that a separate group of developers that want to give the project a different route. A new PHP forked version was created by Robert Eisele to address needs that he felt were important.
</blockquote>
<p>
He mentions the <a href="https://github.com/infusion/PHP">forked version</a> as updated with the changes <i>Robert</i> wanted to see made and a few other concerns that have come from it. One issue is the PHP name and licensing problems and another is whether or not you should use this fork (and what its future might be). 
</p>]]></description>
      <pubDate>Wed, 15 Jun 2011 10:09:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Eisele's Blog: PHP Hacking]]></title>
      <guid>http://www.phpdeveloper.org/news/16454</guid>
      <link>http://www.phpdeveloper.org/news/16454</link>
      <description><![CDATA[<p>
<i>Robert Eisele</i> has a new post (and some new source) on his blog today that has gotten the PHP community both up in arms and excited about the potential it offers - a <a href="http://www.xarg.org/2011/06/php-hacking/">fork of PHP</a> that's been modified to include lots of little improvements for changes in performance, some new PHP functions, usability improvements and changes in the MySQLi/mysqlnd drivers.
</p>
<blockquote>
It took me a while but here's a new toy. Today I publish my own PHP fork based on the PHP 5.3.6 code base with a few changes that make the everydays developer life more bearable. It includes some of the patches I've already published about 3 years ago, my defcon extension and also my infusion extension plus a good bunch of extra gimmickries.
</blockquote>
<p>
Updates in his release <a href="https://github.com/infusion/PHP">available on github</a>) include:
</p>
<ul>
<li>Hardcoded constants
<li>Turn off $_REQUEST variable if it's not needed
<li>new methods like str_random, ob_fwrite, sigfig and strcal
<li>changes in foreach, strstr and binary number handling
<li>updates to MySQLi/mysqlnd to return matched rows and mysqi_return
</ul>
<p>
The community reaction to this fork has been divided - some think the work put into these changes should have been submitted to the main PHP project instead and others see it as a good step forward for the language. Share your thoughts by <a href="http://www.xarg.org/2011/06/php-hacking/">commenting on the post</a>.
</p>]]></description>
      <pubDate>Fri, 10 Jun 2011 07:44:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Drupal and the Future of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16192</guid>
      <link>http://www.phpdeveloper.org/news/16192</link>
      <description><![CDATA[<p>
On the Zend Developer Zone <i>Cal Evans</i> has <a href="http://devzone.zend.com/article/13773-Dries-Buytaert-Staking-our-future-on-PHP">posted some encouragement</a> about sharing your own thoughts about the post from <i>Dried Buytaert</i> about the <a href="http://buytaert.net/staking-our-future-on-php">future of PHP and Drupal</a>.
</p>
<p>
As <i>Dries</i> says in <a href="http://buytaert.net/staking-our-future-on-php">his blog</a>:
</p>
<blockquote>
It seems that we have arrived at a point in which there is a symbiotic relationship between PHP and the most popular PHP applications. A relationship that did not exist when PHP was created. Symbiotic relationships are obligatory: we depend entirely on each other for survival. And yet, I feel like we've been living apart. It makes sense for us (i.e, application developers) to contribute to the development of PHP, and for the PHP core developers to work more closely with the developers of the most popular PHP applications.
</blockquote>
<p>
He points out that, in <a href="http://acquia.com/">Acquia</a>'s case, 
 there's just not enough time for the group to contribute back to the PHP project. Other posts surrounding this same discussion have also noted that there's not a good mechanism for people to "give back" to the PHP project and that getting involved requires a certain skillset that lots of developers don't have.
</p>]]></description>
      <pubDate>Wed, 13 Apr 2011 14:02:19 -0500</pubDate>
    </item>
  </channel>
</rss>
