<?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>Sat, 25 May 2013 06:38:05 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Warren Tang's Blog: PHP Unit Testing & Mock Objects with SimpleTest plugin for Eclipse]]></title>
      <guid>http://www.phpdeveloper.org/news/16487</guid>
      <link>http://www.phpdeveloper.org/news/16487</link>
      <description><![CDATA[<p>
<i>Warren Tang</i> has put together <a href="http://blog.tangcs.com/2008/11/08/php-unit-testing-n-mock-objects-with-simpletest/">this new post</a> to his blog showing how you can use the <a href="https://sourceforge.net/project/showfiles.php?group_id=76550">SimpleTest extension for Eclipse</a> to execute your tests without leaving the IDE.
</p>
<p>He breaks it down into a few simple steps (some including screeshots):</p>
<ul>
<li>Download <a href="https://sourceforge.net/project/showfiles.php?group_id=76550">the plugin</a>
<li>Install and configure
<li>Create a basic test with an assertion
<li>Run the test via "Run As > SimpleTest"
</ul>
<p>
He also includes the option for running the test as a web page, but that requires a little bit more code. There's also a quick look at how to run a suite of tests from the IDE (as well as in the browser). for more about using SimpleTest, head over to <a href="http://www.simpletest.org/">the project's site</a>.
</p>]]></description>
      <pubDate>Fri, 17 Jun 2011 12:58:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zoe Slattery's Blog: Oh no! Not more tests!]]></title>
      <guid>http://www.phpdeveloper.org/news/12836</guid>
      <link>http://www.phpdeveloper.org/news/12836</link>
      <description><![CDATA[<p>
As <i>Zoe Slattery</i> mentions in <a href="http://zoomsplatter.blogspot.com/2009/07/on-no-not-more-tests.html">her new post</a> more testing for PHP is a good thing, but has come with a bit of a problem.
</p>
<blockquote>
One of the problems with the incredible level of success of the PHP TestFest is that PHP gets more tests, <a href="http://results.testfest.php.net/">887</a> more to be precise. Well, isn't that the point? Yes, but it's beginning to take *forever* to run them which is a bad thing and as TestFests get bigger and better this will only get worse.
</blockquote>
<p>
As a result, more work has been put into a project started a while back - a tool to allow more than one test to run at once (instead of linearly). <a href="http://2.bp.blogspot.com/_EifRUa32KOM/SlT0h_jwyAI/AAAAAAAAAEc/jeaDlz72dTg/s1600-h/run-tests.png">This grab</a> shows some of the resulting gains in speed. It jumps to about half to the time to make it through the ~7700 tests.
</p>]]></description>
      <pubDate>Thu, 09 Jul 2009 09:42:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evans' Blog: Microsoft and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12465</guid>
      <link>http://www.phpdeveloper.org/news/12465</link>
      <description><![CDATA[<p>
In some of his research into PHP and Windows recently, <i>Cal Evans</i> has <a href="http://blog.calevans.com/2009/05/05/microsoft-and-php/">come across two surprising things</a> about the (usually dismissed) combination of the two:
</p>
<ul>
<li>It actually runs well if setup properly
<blockquote>
I don't have a spare computer so I'm not going to discuss performance or show benchmarks. I am talking about ease of use in getting things setup. [...] No, I'm not nearly ready to give up my Linux servers in production and despite Sam Ramji's recent pleas to their open source vendors <a href="http://blogs.zdnet.com/microsoft/?p=2353">not to compete on price but compete on value</a>, I can still <a href="http://www.businessweek.com/magazine/content/07_26/b4040436.htm">fail fast and cheap</a> using open source software and operating systems.
</blockquote>
<li>A lot of open source developers just don't trust Microsoft, just because.
<blockquote>
I am, however, willing to give them the benefit of the doubt. I am part of the slim majority on the above poll who thinks they are sincere. The reason I am willing to give them the benefit of the doubt is not because I believe that the core of Microsoft has changed in any way [...] but because I believe that inside of Microsoft, there are pockets of brilliance.
</blockquote>
</ul>
<p>
Check out more of <i>Cal</i>'s thoughts on the matter and the results of his "unscientific" polls he mentions in the rest of <a href="http://blog.calevans.com/2009/05/05/microsoft-and-php/">the post</a>.
</p>]]></description>
      <pubDate>Wed, 06 May 2009 10:26:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Heyes' Blog: An epiphany... (using cron)]]></title>
      <guid>http://www.phpdeveloper.org/news/9311</guid>
      <link>http://www.phpdeveloper.org/news/9311</link>
      <description><![CDATA[<p>
<i>Richard Heyes</i> has <a href="http://www.phpguru.org/#168">shared an epiphany</a> he's come up with - a method for running scripts in a web-based environment using lynx.
</p>
<blockquote>
OK maybe not to you, but it has just occurred to me, and things don't come to me all that fast these days. Cron jobs. [...] You can have a directory inside your webroot called "cron" (imaginative eh?) with scripts in there that are run via cron.
</blockquote>
<p>
His method uses the cron daemon on the machine to invoke lynx and call the web page through its url. Of course, there are advantages and disadvantages of the method (including having the script open to the world - scary). Be sure to check out <a href="http://www.phpguru.org/article.php/168#comments">the comments</a> for other suggestions from fellow developers.
</p>]]></description>
      <pubDate>Wed, 26 Dec 2007 09:40:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Introduction to PHPUnit]]></title>
      <guid>http://www.phpdeveloper.org/news/6105</guid>
      <link>http://www.phpdeveloper.org/news/6105</link>
      <description><![CDATA[<p>
On php|architect's A/R/T article repository today, there's a <a href="http://hades.phparch.com/ceres/public/article/index.php/art::phpunit::intro">new guide</a> written by <i>Sebastian Bergmann</i> - an introduction to PHPUnit.
</p>
<blockquote>
In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale, business-critical Web systems. Financial institutions such as banks and insurance companies use PHP, for instance, to develop and maintain solutions for Basel II Credit Rating. Critical business logic like this needs to work correctly. But how do you ensure that it does? You test it, of course.
</blockquote>
<p>
The tutorial <a href="http://hades.phparch.com/ceres/public/article/index.php/art::phpunit::intro">takes a look at</a> how to get started writing tests for your code and how to run those tests against your code to find problems. <i>Sebastian</i> also includes a few of the common misconceptions about unit testing, specifically using PHPUnit to test their apps.
</p>]]></description>
      <pubDate>Tue, 22 Aug 2006 07:26:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ITtoolbox.com: So I'm a PHP developer and my company runs SAP now what?]]></title>
      <guid>http://www.phpdeveloper.org/news/5234</guid>
      <link>http://www.phpdeveloper.org/news/5234</link>
      <description><![CDATA[<p>
SAP keeps popping up on the PHPradar more and more these days, and <a href="http://blogs.ittoolbox.com/sap/php/archives/008940.asp?rss=1">this new article</a> from the ITtoolbox site blog explains the situation from a PHP developer's point of view in a SAP-using company (and a few tips to get you started).
</p>
<quote>
<i>
So you're a PHP developer and your company is running SAP, the problem though is you have no clue about SAP or what it does - you are curious though. The following are a few tips on making the cross over from building web applications to building SAP based web applications using PHP.
</i>
</quote>
<p>
They <a href="http://blogs.ittoolbox.com/sap/php/archives/008940.asp?rss=1">start with the obvious</a>, finding out what version you're working with, before moving on to the actual development. They link to a few resources for tools to help you make the connections and functionality inside the SAP systems. The simple script they give to test things out just logs you into the system and displays a status for your connection - nice and easy.
</p>]]></description>
      <pubDate>Tue, 25 Apr 2006 06:50:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[HowToForge.com: Running Apache2 With PHP5 And PHP4 At The Same Time]]></title>
      <guid>http://www.phpdeveloper.org/news/4811</guid>
      <link>http://www.phpdeveloper.org/news/4811</link>
      <description><![CDATA[HowToForge.com has a new tutorail posted today that aims to show you how to <a href="http://www.howtoforge.com/apache2_with_php5_and_php4">run both PHP4 and PHP5</a> on a single Apache2 web server.
<p>
<quote>
<i>
This tutorial shows how to install and configure Apache2 with PHP5 and PHP4 enabled at the same time. Because it is not possible to run both PHP5 and PHP4 as Apache modules, we must run one of them as CGI, the other one as Apache module. In this document I will use PHP5 as Apache module and PHP4 as CGI, and I will describe the setup for the Linux distributions Debian Sarge (3.1) and Ubuntu 5.10 (Breezy Badger).
<p>
I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!
</i>
</quote>
<p>
They base the <a href="http://www.howtoforge.com/apache2_with_php5_and_php4">entire installation</a> around Debian, so ideally you're set up on it or have some pretty good knowledge of linux in general. They apt-get install several packages, change some Apache config files, enable some modules, and restart things to get it all set up. The Ubuntu install is just about as easy, wiht only really a few items changed.]]></description>
      <pubDate>Tue, 07 Feb 2006 15:27:53 -0600</pubDate>
    </item>
  </channel>
</rss>
