<?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>Sun, 06 Jul 2008 22:10:36 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Joshua Eichorn's Blog: New code in PEAR2]]></title>
      <guid>http://www.phpdeveloper.org/news/10382</guid>
      <link>http://www.phpdeveloper.org/news/10382</link>
      <description><![CDATA[<p>
<i>Joshua Eichorn</i> has <a href="http://blog.joshuaeichorn.com/archives/2008/06/09/new-code-in-pear2/">blogged about</a> three new projects he's added to the PEAR2 repository:
</p>
<ul>
<li><a href="http://svn.pear.php.net/wsvn/PEARSVN/sandbox/Console_CommandLine/?rev=0&sc=0">COnsole_CommandLine</a> - a port of the PEAR1 console package
<li><a href="http://svn.pear.php.net/wsvn/PEARSVN/sandbox/Template_Dwoo/?rev=0&sc=0">Template_Dwoo</a> - a Smarty-compatible template engine
<li><a href="http://svn.pear.php.net/wsvn/PEARSVN/sandbox/template_engine/?rev=0&sc=0">template_engine</a> - a simple templating engine (and the example package for namespace usage)
</ul>
<blockquote>
Not really what I expected to be the first round of new code, but its nice to be setting up access for people. Oh and remember PEAR2 is targeted at php 5.3 but not everything is namespaced yet since not everyone wants to run snapshots of php for development.
</blockquote>
<p>
You can find more of the packages on the <a href="http://svn.pear.php.net/wsvn/PEARSVN">PEAR2 svn repository</a>.
</p>]]></description>
      <pubDate>Tue, 10 Jun 2008 13:49:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Running PHP cron jobs - regular scheduled tasks in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10198</guid>
      <link>http://www.phpdeveloper.org/news/10198</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog, <i>Akash Mehta</i> has posted <a href="http://www.developertutorials.com/blog/php/running-php-cron-jobs-regular-scheduled-tasks-in-php-172/">an introduction</a> to working with command-line PHP scripts and cron jobs for site automation.
</p>
<blockquote>
Scheduled tasks are a fairly common feature in modern web applications. From cleaning out caches every 24 hours to checking subscription periods and even generating reports, more web applications live by the clock than ever before. But how do we schedule the execution of a PHP script on the server side?
</blockquote>
<p>
He shows the two key things to getting it working - an example of a command-line call to a PHP script (executed through his /usr/bin/php) and an example of a line from a crontab showing how to execute the script at midnight every day.
</p>]]></description>
      <pubDate>Fri, 16 May 2008 09:32:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Testing PHP with the interactive shell]]></title>
      <guid>http://www.phpdeveloper.org/news/10157</guid>
      <link>http://www.phpdeveloper.org/news/10157</link>
      <description><![CDATA[<p>
<i>Akash Mehta</i> shares a helpful hint in <a href="http://www.developertutorials.com/blog/php/testing-php-with-the-interactive-shell-168/">this new post</a> to the Developer Tutorials Blog today - testing out PHP code via the command line PHP binary.
</p>
<blockquote>
Thankfully, PHP provides the interactive shell, allowing you to test out PHP interactively with immediate feedback. Here's how to take advantage of this mature feature of PHP.
</blockquote>
<p>
With the help of the "-a" flag on the command line, the PHP binary will hand you an environment where you can code PHP and instantly see the results. He does <a href="http://www.developertutorials.com/blog/php/testing-php-with-the-interactive-shell-168/">mention</a> a few quirks that make it different than working with PHP through a web server, namely moving in and out of code blocks and remembering to finish out with a semi-colon when the line is done.
</p>]]></description>
      <pubDate>Mon, 12 May 2008 07:57:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Debuggable Blog: Running Tests from The Commandline in CakePHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10140</guid>
      <link>http://www.phpdeveloper.org/news/10140</link>
      <description><![CDATA[<p>
New on the Debuggable blog today there's <a href="http://www.debuggable.com/posts/running-tests-from-the-commandline-in-cakephp:4821f908-da38-4987-909a-25c74834cda3">this post</a> from <i>Tim Koschutzki</i> about a new feature he's contributed back to the CakePHP project. It allows you to run tests on the command line without having to worry about loading up a web interface to check your code.
</p>
<blockquote>
It allows you to run all of the following: all core testcases at once, all core test groups, each core test case individually, all application-specific testcases at once, all application-specific test groups and each core test case individually. It also supports plugins, which means you can run plugin cases and groups. 
</blockquote>
<p>
He includes some samples of how it works - a few command line calls and what the output looks like.
</p>]]></description>
      <pubDate>Thu, 08 May 2008 10:27:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Test Runner Improvement in PHPUnit 3.3]]></title>
      <guid>http://www.phpdeveloper.org/news/9956</guid>
      <link>http://www.phpdeveloper.org/news/9956</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has posted some details about <a href="http://sebastian-bergmann.de/archives/772-Test-Runner-Improvement-in-PHPUnit-3.3.html">an update</a> that's been made to the test runner for the PHPUnit (3.3) unit testing suite - an allowance for directories instead of just files on the command line.
</p>
<blockquote>
Given a directory, the test runner will recursively scan the directory for *Test.php files, build a test suite out of the *Test classes, and run it.
</blockquote>
<p>
<a href="http://www.phpunit.de/">PHPUnit</a> is framework that makes writing tests for your code easy and also includes functionality to run the tests and analyze their results.
</p>]]></description>
      <pubDate>Fri, 11 Apr 2008 09:46:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: SQLite: The Sensible Database Solution]]></title>
      <guid>http://www.phpdeveloper.org/news/8552</guid>
      <link>http://www.phpdeveloper.org/news/8552</link>
      <description><![CDATA[<p>
On Developer.com today, <i>Jason Gilmore</i> has <a href="http://www.developer.com/db/article.php/3696686">written up a tutorial</a> that introduces one of the handy features that came with upgrading to PHP5 - SQLite support:
</p>
<blockquote>
One such solution is SQLite, a fully-featured relational database that, at just 250KB, is by itself able to easily fit on a floppy disk yet is capable of managing terabyte-sized databases. [...] In this tutorial, I'll introduce SQLite, showing you how this database can offer you maximum return with minimal investment.
</blockquote>
<p>
He <a href="http://www.developer.com/db/article.php/3696686">introduces the library</a> by showing how it can be used from the command line (along with an example database) and how to turn on support for it in PHP and make queries in the normal SQL syntax.
</p>]]></description>
      <pubDate>Wed, 29 Aug 2007 12:07:00 -0500</pubDate>
    </item>
  </channel>
</rss>
