<?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 04:44:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Hartjes: PHPSpec and the New Wave of Testing]]></title>
      <guid>http://www.phpdeveloper.org/news/18631</guid>
      <link>http://www.phpdeveloper.org/news/18631</link>
      <description><![CDATA[<i>Chris Hartjes</i>, a big proponent of testing in web applications (mostly in the PHP realm so far) has a new post to his site with some of his <a href="http://www.littlehart.net/atthekeyboard/2012/10/18/phpspec-and-the-new-wave-of-testing/">thoughts about PHPSpec</a>, the <a href="http://www.phpspec.net/">specification-driven testing tool</a> recently released by the same folks who made <a href="http://behat.org/">Behat</a>.
</p>
<blockquote>
I think that we are witnessing the first wave of new testing tools in the PHP community that allow developers to wrap their applications in automated tests. I am familiar with the BDD-style that is being promoted in PHPSpec, through my work with <a href="http://behat.org/">Behat</a> to create automated user acceptance tests. I think if you want a tl;dr version of PHPSpec I would tell you "write hybrid unit/integration tests using plain language".
</blockquote>
<p>
He notes that writing code to match a specification has similar concepts to using unit testing for TDD (with something like <a href="http://phpunit.de">PHPUnit</a>). He points out a few interesting things like the use of mock objects and the fact that you'll still need to write some code to make tests work - that's unavoidable right now.
</p>]]></description>
      <pubDate>Fri, 19 Oct 2012 08:42:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Konstantin Kudryashov: phpspec2: SUS and collaborators]]></title>
      <guid>http://www.phpdeveloper.org/news/18573</guid>
      <link>http://www.phpdeveloper.org/news/18573</link>
      <description><![CDATA[<p>
Following the release of the <a href="http://www.phpspec.net/">phpspec</a> SpecBDD tool, <i>Konstantin Kudryashov</i> has posted <a href="http://everzet.com/post/33178339051/sus-collaborators">this new article</a> talking about SUSes ("Subject Under Specification") and how they relate to the functionality phpspec offers.
</p>
<blockquote>
First of all, phpspec2 is not a testing framework. It's a SpecBDD tool. It means, testing is not our primary aim. Tool's job is to enforce and make SpecBDD in project flawless and phpspec2 uses all available methods to do that - state of the artformatters, class and method generators and lot of othe fancy buzzwords :) Today, i want to explain you the heart of phpspec2 - SUS, collaborators and prophets.
</blockquote>
<p>
He starts off defining specifications as a list of behaviors about how an object should behave and the abilities that come with them (like "getTitle"). He shows assertions, like "shouldReturn", and how you can use Collaborators to evaluate the interfaces between objects.
</p>]]></description>
      <pubDate>Tue, 09 Oct 2012 08:32:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Keith Casey's Blog: Where Open Source Fails]]></title>
      <guid>http://www.phpdeveloper.org/news/15212</guid>
      <link>http://www.phpdeveloper.org/news/15212</link>
      <description><![CDATA[<p>
In a new post to his blog today <i>Keith Casey</i> has <a href="http://caseysoftware.com/blog/where-open-source-can-fail">voiced some of his opinions</a> on where he thinks most Open Source software efforts fail in their goals of making good, quality software that's well-developed and useful.
</p>
<blockquote>
Earlier this week, I unsubscribed from the mailing lists of a pair of Open Source projects. About two years ago when I found the projects, they involved fascinating topics in under served niches. One of those niches - the one customer/user-facing - is still there and under served, but that's not relevant in the current discussion. In reviewing the activity on the mailing list, I noticed some interesting things: activity was very high, there were some smart people involved in the discussions and there was a lot of discussion on what should be done but nothing actually getting done. 
</blockquote>
<p>
He notes that without a codebase to work from, there can't be any direction because no one knows where things are headed or what can be done to improve it. Writing up a spec to guide the development can help, but then you still have the pitfall of who should write that spec.
</p>]]></description>
      <pubDate>Thu, 30 Sep 2010 12:12:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect Blog: Goodies for PHPers in Internet Explorer 9]]></title>
      <guid>http://www.phpdeveloper.org/news/14339</guid>
      <link>http://www.phpdeveloper.org/news/14339</link>
      <description><![CDATA[<p>
On the php|architect blog today <i>Orlando Medina</i> points out <a href="http://www.phparch.com/2010/04/12/goodies-for-phpers-in-internet-explorer-9">a few goodies in Internet Explorer 9</a> that could be useful for PHP developers out there.
</p>
<blockquote>
Microsoft has some catching up to do in terms of standards compatibility, but they are also doing some good things with this browser. They are bringing some much needed web-standards compatibility, in addition to some JavaScript performance enhancements. 
</blockquote>
<p>
Handy new features include better HTML5 support, CSS3 support, XHTML parsing, Javascript compilation and an overall trend towards a more standards-based approach that Microsoft hasn't worried about in a good while now. He also mentions the <a href="http://www.odata.org/">OData</a> toolkit that lets your web applications speak the same "language" according to Microsoft's more unified specification.
</p>]]></description>
      <pubDate>Tue, 13 Apr 2010 10:08:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage's Blog: The 15 Minute Rule Of Software Development]]></title>
      <guid>http://www.phpdeveloper.org/news/14216</guid>
      <link>http://www.phpdeveloper.org/news/14216</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> shares some of his thoughts on software development and how creating the spec for the project affects it by basic it on a rule - the <a href="http://www.brandonsavage.net/the-15-minute-rule-of-software-development/">15 Minute Rule</a>.
</p>
<blockquote>
Since most developers (myself included) are also generally bad at developing good specs, it becomes even more difficult to create such a rule. However, I heard a great adage from someone recently that I thought summed up how developers can see specs nearly perfectly. "If it takes more than 15 minutes to determine what it is that you're building, the spec wasn't done properly".
</blockquote>
<p>
He suggests that not a single line of code should be developed before the spec is completed and, since developers usually aren't the ones creating the spec, they need to have a clear, concise definition of what's expected before hand.
</p>]]></description>
      <pubDate>Fri, 19 Mar 2010 10:54:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage's Blog: Painless Spec and Schedule Development]]></title>
      <guid>http://www.phpdeveloper.org/news/13685</guid>
      <link>http://www.phpdeveloper.org/news/13685</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/painless-spec-and-schedule-development/">written up some thoughts</a> on what can be a somewhat painful part of software development - creating the specification and schedule for the development of the application.
</p>
<blockquote>
In the time that I have developed software, I don't know that I've ever met a developer who got excited about writing specs for anything. In fact, most developers loathe writing specs, or developing schedules of any kind. [...] Businesses need schedules to know when products will be finished and schedule things like trade shows, product launches, and write contracts with clients who need or want a particular product.
</blockquote>
<p>
He has a few recommendations for things that could make the process a little easier including the fact that specs should not be considered documentation, that the developers should be the ones creating them and that scheduling out the development time line isn't all about the actual development.
</p>]]></description>
      <pubDate>Wed, 16 Dec 2009 11:42:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ian Selby's Blog: Create a REST API with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11991</guid>
      <link>http://www.phpdeveloper.org/news/11991</link>
      <description><![CDATA[<p>
In <a href="http://www.gen-x-design.com/archives/create-a-rest-api-with-php/">this recent post</a> to his blog <i>Ian Selby</i> looks at how you can create a REST API that can be used as an interface layer on top of any PHP application.
</p>
<blockquote>
One of the latest (sort of) crazes sweeping the net is APIs, more specifically those that leverage REST. It's really no surprise either, as consuming REST APIs is so incredibly easy… in any language. It's also incredibly easy to create them as you essentially use nothing more than an HTTP spec that has existed for ages.
</blockquote>
<p>
He <a href="http://www.gen-x-design.com/archives/create-a-rest-api-with-php/">looks at</a> what REST is - both the request and response sides - and some of the PHP code you can use to create your own service. His example defines all of the HTTP codes and uses a processRequest function to handle the incoming request. The response is pushed back out from the processResponse method and even includes an extension of the class to handle XML requests if they're POSTed.
</p>]]></description>
      <pubDate>Fri, 20 Feb 2009 10:26:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mutant PHP Blog: Specifications for PHP5]]></title>
      <guid>http://www.phpdeveloper.org/news/11117</guid>
      <link>http://www.phpdeveloper.org/news/11117</link>
      <description><![CDATA[<p>
In a <a href="http://mutantphp.org/blog/2008/09/25/specifications-for-php5/">recent entry</a> to his blog <i>Sean</i> shows off a new <a href="http://mutantphp.org/blog/wp-content/downloads/Specifications.zip">specifications library</a> he's created to replace common comparison functionality with a series of specs.
</p>
<blockquote>
I thought I'd share a PHP library implementing <a href="http://martinfowler.com/apsupp/spec.pdf">this</a> idea by Evans and Fowler. Written for PHP5, it's a library for defining custom specifications using composition and inheritance.
</blockquote>
<p>
He gives the example of "Person" objects with name and age properties. A search might involve looking directly at the properties to location one that's, say, younger than 35 and has a last name of Johnson. His specification class replaces this and makes it more reusable by applying things like GreaterOrEqualSpecifications and EqualSpecifications to standardize the evaluation. Then its just a quick call to the isSatisfiedBy method to check for correctness.
</p>]]></description>
      <pubDate>Tue, 30 Sep 2008 11:17:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Microsoft to extend Windows eco-system!]]></title>
      <guid>http://www.phpdeveloper.org/news/9689</guid>
      <link>http://www.phpdeveloper.org/news/9689</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today, <i>Andi Gutmans</i> has written up <a href="http://devzone.zend.com/article/3182--Microsoft-to-extend-Windows-eco-system">a new post</a> that, in light of a <a href="http://www.microsoft.com/interop/osp/default.mspx">recent announcement</a> from Microsoft about "going open source" with some of their products, asks what it means for the web and for the PHP community specifically.
</p>
<blockquote>
Today Microsoft announced a significant initiative which aims to provide the developer community with access to a large number of Microsoft protocols and file formats. [...] With Microsoft opening up their specifications under the OSP, open-source communities like Zend Framework are now able to build such solutions without fear of litigation. There are many other areas where it will benefit open-source projects including <a href="http://us4.samba.org/samba/">Samba</a> (SMB), <a href="http://www.freetds.org/">FreeTDS</a> (SQL Server), Mono (.NET), and others...
</blockquote>
<p>
He <a href="http://devzone.zend.com/article/3182--Microsoft-to-extend-Windows-eco-system">shares his thoughts</a> on the winners (Microsoft themselves, Open Source community) and losers (Microsoft's competitors, Linux) on the deal and the beneficial impact he thinks it will all have on the PHP.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2008 13:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: OAuth Specification and Zend Framework/PEAR Proposal]]></title>
      <guid>http://www.phpdeveloper.org/news/8788</guid>
      <link>http://www.phpdeveloper.org/news/8788</link>
      <description><![CDATA[<p>
Since it's been moved up into the "Final Draft" stage in its proposal process, <i>Padraic Brady</i> wanted to <a href="http://blog.astrumfutura.com/archives/310-OAuth-Specification-and-Zend-FrameworkPEAR-Proposal.html">blog about</a> this latest update for the <a href="http://www.oauth.net/">OAuth Specification</a>, a standardized protocol that allows secure API authentication from both desktop and web applications. 
</p>
<blockquote>
Because I love all things OpenID related and am an OpenID "pusher" in Europe (blame the <a href="http://www.openideurope.eu/">OpenID Europe Foundation</a> membership on <a href="http://www.snorri.eu/">Snorri Giorgetti</a>), I'll be proposing a PHP5 implementation of OAuth to the <a href="http://framework.zend.com/">Zend Framework</a> (assuming no other OAuth proposal) and <a href="http://pear.php.net/">PEAR</a> (PEAR because that's now the home of my <a href="http://www.openidforphp.org/">OpenID For PHP</a> library under proposal).
</blockquote>
<p>
You can get more information about OAuth from <a href="http://www.oauth.net/">the project's website</a>.
</p>]]></description>
      <pubDate>Thu, 04 Oct 2007 12:03:00 -0500</pubDate>
    </item>
  </channel>
</rss>
