<?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>Fri, 24 May 2013 07:41:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Systems Architect: Performance benchmark of popular PHP frameworks]]></title>
      <guid>http://www.phpdeveloper.org/news/19502</guid>
      <link>http://www.phpdeveloper.org/news/19502</link>
      <description><![CDATA[<p>
On his site today <i>Lukasz Kujawa</i> has a post that <a href="http://systemsarchitect.net/performance-benchmark-of-popular-php-frameworks/">compares some performance benchmarks</a> of several popular PHP frameworks including Slim, CodeIgniter, Laravel, Symfony2 and Zend Framework 2.
</p>
<blockquote>
There are many assumptions around performance of different PHP frameworks. I frequently hear strong opinions about superiority X over Y in this context. There are companies writing new PHP frameworks from scratch because available solutions are too slow for them. What does it really mean? Does the framework performance matters? Before answering this questions lets check how slow is your framework!
</blockquote>
<p>
He took the "quick start" projects provided for each of the examples and ran some tests with the Apache Benchmark (ab) tool against EC2 instances, all configured the same way. The results weren't overly surprising with Slim beating the others hands down (it's a micro-framework after all) and Kohana and CodeIgniter coming in second and third. The frameworks with more overhead like Zend Framework and Symfony ranked some of the slowest. 
</p>
Link: http://systemsarchitect.net/performance-benchmark-of-popular-php-frameworks]]></description>
      <pubDate>Wed, 24 Apr 2013 12:04:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[7PHP.com: Zend Certifications Tips & Tricks - Hear It From Zend Certified Engineer Eric Hogue]]></title>
      <guid>http://www.phpdeveloper.org/news/19492</guid>
      <link>http://www.phpdeveloper.org/news/19492</link>
      <description><![CDATA[<p>
On 7PHP.com there's a new post that interviews a PHP community member, <i>Eric Hogue</i>, about <a href="http://7php.com/zend-certification-advice-eric-hogue/">his experience with the Zend Certified Engineer exam</a>.
</p>
<blockquote>
This is the 3rd set of <a href="http://7php.com/category/zend-certification-tips/">Zend Certification Tips and Advice</a> to help anyone taking either of the two Zend Exams powered by <a href="http://en.wikipedia.org/wiki/Zend_Technologies">Zend Technologies</a>: the Zend PHP Certification Exam and/or the Zend Framework Certification Exam. The aim being to help people who want to sit for those exams and inform them what it is all about & what to expect by <a href="http://7php.com/category/expert-php-advice/">hearing it from (pro) PHP Guys</a> who have already been through it, that is => Hear It From Zend Certified Engineers!
</blockquote>
<p>
He starts off with some general questions to <i>Eric</i> about the exam and its structure and how he prepared himself for it. He mentions some of the resources he used to study and what kind of topics to pay attention to. There's also a few quotes included at the end giving <a href="http://penguindreams.org/blog/disappointe-with-zends-php5-certification">another perspective</a> on the exam (specifically, some frustrations).
</p>
Link: http://7php.com/zend-certification-advice-eric-hogue]]></description>
      <pubDate>Mon, 22 Apr 2013 12:16:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Simplifying Test Data Generation with Faker]]></title>
      <guid>http://www.phpdeveloper.org/news/19203</guid>
      <link>http://www.phpdeveloper.org/news/19203</link>
      <description><![CDATA[<p>
In a new post to PHPMaster.com today, <i>Rakhitha Nimesh</i> <a href="http://phpmaster.com/simplifying-test-data-generation-with-faker/">takes a look at Faker</a>, a tool that can be used to generate random test case data as a part of your workflow.
</p>
<blockquote>
Testing is an iterative part of the development process that we carry out to ensure the quality of our code. A large portion of this entails writing test cases and testing each unit of our application using random test data. Actual data for our application comes in when we release it to production, but during the development process we need fake data similar to real data for testing purposes. The popular open source library Faker provides us with the ability to generate different data suitable for a wide range of scenarios.
</blockquote>
<p>
Faker uses built-in data providers like "Person", "Company", "DateTime" and "UserAgent" to give you randomized output from the data sets you define. Code is included showing how to create the provider in your objects, extending the correct provider and making a request for a property. A real-world example is also included about testing an email marketing engine for address, title, name and content. There's also a little bit added at the end showing how you can increase the randomness of the results returned by "seeding" the Faker engine.
</p>]]></description>
      <pubDate>Tue, 19 Feb 2013 12:09:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[7PHP.com: Zend Certification Tips & Tricks, Hear It From Zend Certified Engineer Lorna Jane Mitchell]]></title>
      <guid>http://www.phpdeveloper.org/news/19163</guid>
      <link>http://www.phpdeveloper.org/news/19163</link>
      <description><![CDATA[<p>
7PHP.com has posted a new article where they asked <i>Lorna Mitchell</i> for <a href="http://7php.com/zend-certification-advice-lorna-mitchell/">some of her advice</a> for those wanting to take the Zend Certified Engineer exam, including what the test is like and how you can prepare effectively.
</p>
<blockquote>
This is the 2nd set of <a href="http://7php.com/category/zend-certification-tips/">Zend Certification Tips and Advice</a> to help anyone taking either of the two Zend Exams powered by <a href="http://en.wikipedia.org/wiki/Zend_Technologies">Zend Technologies</a>: the Zend PHP Certification Exam and/or the Zend Framework Certification Exam. The aim being to help people who want to sit for those exams and inform them what it is all about & what to expect by <a href="http://7php.com/category/expert-php-advice/">hearing it from (pro) PHP Guys</a> who have already been through it, that is => Hear It From Zend Certified Engineers!
</blockquote>
<p>
They start with a little background on her and her experience with PHP and get quickly into the questions about the exam. Topics include things like:
</p>
<ul>
<li>What the test is about and hopes to achieve
<li>Some things you can do to prepare
<li>A recommendation to make the most of your time exploring topics you might be weak in
<li>Whether or not the ZCE training classes help in the learning process
</ul>
<p>
You can read the rest of the interview <a href="http://7php.com/zend-certification-advice-lorna-mitchell/">here</a>.
</p>]]></description>
      <pubDate>Mon, 11 Feb 2013 10:26:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.5.0 Alpha4 released]]></title>
      <guid>http://www.phpdeveloper.org/news/19083</guid>
      <link>http://www.phpdeveloper.org/news/19083</link>
      <description><![CDATA[<p>
On PHP.net today they've announced the tagging and release of the latest alpha for the PHP 5.5.0 series - <a href="http://php.net/archive/2013.php#id2013-01-24-1">PHP 5.5.0 alpha4</a>:
</p>
<blockquote>
The PHP development team announces the release of PHP 5.5.0alpha4. This release fixe some bugs from alpha3 and add some new features. All users of PHP are encouraged to test this version carefully, and report any bugs in the <a href="https://bugs.php.net/">bug tracking system</a>.
</blockquote>
<p>
There's new improvements included in this <b>non-production</b> release including class name resolution with "class" keyword and the DateTimeImmutable class. You can see the <a href="https://github.com/php/php-src/blob/php-5.5.0alpha4/NEWS">NEWS</a> file for the complete list of changes. If you'd like to help test it out, you can <a href="http://downloads.php.net/dsp">download the preview release here</a> (or <a href="http://windows.php.net/qa/">here</a> for Windows users).
</p>]]></description>
      <pubDate>Thu, 24 Jan 2013 09:29:39 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.5.0 Alpha2 released]]></title>
      <guid>http://www.phpdeveloper.org/news/18957</guid>
      <link>http://www.phpdeveloper.org/news/18957</link>
      <description><![CDATA[<p>
If you'd like to help with testing for the upcoming PHP 5.5.0 version, they've <a href="http://php.net/index.php#id2012-12-21-1">announced the release of the latest alpha</a> on the PHP.net site, ready for download and test execution.
</p>
<blockquote>
The PHP development team announces the immediate availability of PHP 5.5.0alpha2. This release adds new features and fix some bugs from alpha1. All users of PHP are encouraged to test this version carefully, and report any bugs in <a href="https://bugs.php.net/">the bug tracking system</a>.
</blockquote>
<p>
You can see the full list of the changes in 5.5.0 (so far) in the <a href="https://github.com/php/php-src/blob/php-5.5.0alpha2/NEWS">NEWS</a> file including things like using <a href="http://php.net/empty">empty</a> on return values, enabling systemtap by default for dtrace probes and optimized variable accessing. They need your help to make this upcoming release even better, so if you'd like to help out and test, go <a href="http://downloads.php.net/dsp">grab the download</a> (<a href="http://windows.php.net/qa/">Windows builds</a>).
</p>]]></description>
      <pubDate>Thu, 27 Dec 2012 10:22:13 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage: Effective Refactoring Strategies]]></title>
      <guid>http://www.phpdeveloper.org/news/18943</guid>
      <link>http://www.phpdeveloper.org/news/18943</link>
      <description><![CDATA[<p>
In a recent post to his site, <i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/effective-refactoring-strategies/">a few helpful hints</a> to keep in mind when you're refactoring your applications to make them easier to maintain (and possibly perform better) in the future.
</p>
<blockquote>
The downtime [of this week] provides a perfect opportunity for the aspiring software developer to do the one thing they are always told there's no time to do: make the code better for better's sake. With few deadlines and plenty of free time, most developers can get a few hours of refactoring in to their code towards the end of the year. They can rearchitect sections that were implemented with haste in September; they can write tests for sections that were untested in April. Put another way, the "lost week" can be redeemed.
</blockquote>
<p>He has a few recommendations, each including their own brief summary:</p>
<ul>
<li>Test Everything First
<li>One Method, One Job (Also One Class, One Job)
<li>Don't Be Afraid Of More Objects And Classes
<li>Remove Dead, Unused, Unnecessary or Old Code
<li>Document Your Code
</ul>
<p>
Check out the <a href="http://www.brandonsavage.net/effective-refactoring-strategies/">full post</a> for the summaries and links to other useful resources.
</p>]]></description>
      <pubDate>Mon, 24 Dec 2012 11:24:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gonzalo Ayuso: Managing Windows services with Symfony/Process and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/18681</guid>
      <link>http://www.phpdeveloper.org/news/18681</link>
      <description><![CDATA[<p>
In his <a href="http://gonzalo123.com/2012/10/29/managing-windows-services-with-symfonyprocess-and-php/">recent post</a> <i>Gonzalo Ayuso</i> shows how to use Symfony to work with Windows services on the server.
</p>
<blockquote>
Sometimes I need to stop/start remote Windows services with PHP. It's quite easy to do it with net commnand. This command is a tool for administration of Samba and remote CIFS servers. [...] Today we are going to create a PHP wrapper for [net rpc service].
</blockquote>
<p>
He uses <a href="http://behat.org/">Behat</a> to create a feature (test) file, the code behind the features and a service class that handles the actual work of interacting with the service (with methods to do things like stop, start and list running services). Examples of its use are also included.
</p>]]></description>
      <pubDate>Thu, 01 Nov 2012 10:49:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Frost: Using Selenium2 with PHPUnit]]></title>
      <guid>http://www.phpdeveloper.org/news/18494</guid>
      <link>http://www.phpdeveloper.org/news/18494</link>
      <description><![CDATA[<p>
In <a href="http://shortwhitebaldguy.com/blog/2012/09/using-selenium2-with-phpunit">this new post</a> to his site <i>Matt Frost</i> continues his look at using Selenium to test his applications (see the first parts <a href="http://phpdeveloper.org/news/18404">here</a>) and shows how to use the Selenium extension for PHPUnit to run all his tests from one place.
</p>
<blockquote>
So I've taken it upon myself to do a bit of reading and messing around with the Selenium Extension for PHPUnit and I wanted to share a bit of what I learned. Looking around on the internet, I didn't find a whole lot of real good information on the Selenium2TestCase API so I want to provide a little bit of depth in some of those areas. I'm going to cover a few areas of interest and provide some code examples where relevant.
</blockquote>
<p>
He includes the steps to get things set up to connect with the Selenium server and some of the common functions you can use to interact with its browser. He shows how to select items and interact with things like forms and links. He also includes a recommendation of using the "url()" method to jump to a point in the app instead of clicking through the same paths over and over again.
</p>]]></description>
      <pubDate>Wed, 19 Sep 2012 11:44:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Wojciech Sznapka: Export colored Behat scenarios to PDF]]></title>
      <guid>http://www.phpdeveloper.org/news/18439</guid>
      <link>http://www.phpdeveloper.org/news/18439</link>
      <description><![CDATA[<p>
<i>Wojciech Sznapka</i> has shares his technique for creating <a href="http://blog.sznapka.pl/export-colored-behat-scenarios-to-pdf/">colorized exports of Behat tests</a> for use in PDF files:
</p>
<blockquote>
Behat scenarios are one of the best ways to describe system. UML Use Cases or tons of pages in SRS documents are fine, but hard to understand from the begining, and even harder to maintain in the future. Behat eases this process and also gives opportunity to automate requirements verification. To write Behat scenarios you need a text editor. I've picked my favourite - Vim, which highlights *.feature files syntax. But business people mostly don't use Vim, so I need to figure a way, to expose scenarios in easy and pleasant way.
</blockquote>
<p>
His solution involves setting up some printing options in vim to export the tests as a Postscript file, setting the "colorscheme" to the default setting so the colors will be retained. The result is exported (via the "hardcopy" command) and can be converted into a PDF (with a <a href="http://blog.sznapka.pl/wp-content/uploads/2012/09/system_requirements_example1.png">result like this</a>).
</p>]]></description>
      <pubDate>Tue, 04 Sep 2012 09:42:49 -0500</pubDate>
    </item>
  </channel>
</rss>
