<?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, 29 Aug 2008 19:51:14 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Symfony Blog: Batches are dead, long life to tasks!]]></title>
      <guid>http://www.phpdeveloper.org/news/10421</guid>
      <link>http://www.phpdeveloper.org/news/10421</link>
      <description><![CDATA[<p>
On the Symfony blog today, <i>Romain Dorgueil</i> shows how to <a href="http://www.symfony-project.org/blog/2008/06/14/batches-are-dead-long-life-to-tasks">create tasks</a> to help automate things in your application like database updates, console scripts or other "repetitive maintenance tasks".
</p>
<blockquote>
Symfony 1.1 extends symfony 1.0 pake tasks to create a powerful and uniform command line utility for your projects, fully integrated with the symfony Command Line Interface (CLI).
</blockquote>
<p>
This means that is has the abilities to automatically support a "help" parameter, to grab a current task list the app is using, correct handling of the input parameters, set up a good environment and make sure that the source is readable. The post shows how to create a new task for your application - their examples are a "doNothingTask" that, well, does a lot of nothing and the typical "doHelloWorldTask" that just echoes.
</p>
<p>
They show how to define the task (including a namespace for it) and how to run it, outputing the results of the execute() method ("I did nothing successfully!" in the first case and a string of passed in parameters in the second.
</p>]]></description>
      <pubDate>Mon, 16 Jun 2008 12:05:36 -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[Tiger Heron Blog: First steps with PHP - booting a script, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/9819</guid>
      <link>http://www.phpdeveloper.org/news/9819</link>
      <description><![CDATA[<p>
On the Tiger Heron blog, there's a <a href="http://www.tigerheron.com/article/2008/03/first-steps-php-booting-script-part-1">continuation of the series</a> that <i>Tony Freixas</i> has been writing to following the beginning steps of working with PHP. First there was the download/install, then setting up a development environment. This time, he actually gets around to writing a bit of basic code.
</p>
<blockquote>
Specifically, I will describe how I boot my PHP scripts and why I boot them the way I do. Part 1 shows how my requirements for code portability and maintainability influence the boot process. Part 2 will go into more detail about the specific steps executed by the boot code.
</blockquote>
<p>
His <a href="http://www.tigerheron.com/article/2008/03/first-steps-php-booting-script-part-1">basic task</a> for the first example is to make a templating sort of system, calling a Navigation class to output links in list items. He outlines the goals of the project, what he's found for his current solution and some alternatives he's discovered along the way.
</p>]]></description>
      <pubDate>Wed, 19 Mar 2008 08:48:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Zend Framework and Remember The Milk]]></title>
      <guid>http://www.phpdeveloper.org/news/9347</guid>
      <link>http://www.phpdeveloper.org/news/9347</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> has been <a href="http://ishouldbecoding.com/2008/01/02/zend-framework-and-remember-the-milk/">working on a new project</a> as a part of the Zend Framework - a wrapper around the <a href="http://rememberthemilk.com/">Remember the Milk</a> website API.
</p>
<blockquote>
RTM is basically a TODO list on serious steroids. It's the Swiss Army Knife of task management. It allows you to manage multiple lists of tasks. You can add them easily from a variety of mediums, tag them, prioritize them, set deadlines for them, have them repeat, get reminders for them, tie them to physical real world location, and share them.
</blockquote>
<p>
He's even already <a href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_RememberTheMilk">issued a proposal</a> for the functionality to the project to hep further along its inclusion. His goal is to get it included in the core for the framework within the next two releases.
</p>]]></description>
      <pubDate>Thu, 03 Jan 2008 10:21:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony-framework.com: Symfony 1.1 - What's new?]]></title>
      <guid>http://www.phpdeveloper.org/news/9135</guid>
      <link>http://www.phpdeveloper.org/news/9135</link>
      <description><![CDATA[<p>
On the Symfony-framework.com website, there's <a href="http://www.symfony-framework.com/2007/11/23/symfony-11-whats-new/">a look at</a> what's new in the latest Symfony build, version 1.1, as presented by <a href="http://www.aide-de-camp.org/">Fabien Potencier</a> at this year's International PHP Conference 2007.
</p>
<blockquote>
In this article, I will briefly explain all the significant changes of Symfony 1.1 so that you will have fewer doubts deciding between: rewrite part of your old code, simply update your application or use the new Symfony 1.1 only in new developments.
</blockquote>
<p>
There's three things he mentions - the new task framework to help organize code development, the reorganization of the event dispatcher and its dependencies, and the new Form, Widget and Validator framework.
</p>]]></description>
      <pubDate>Wed, 28 Nov 2007 12:07:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: Command line fun in CakePHP 1.2]]></title>
      <guid>http://www.phpdeveloper.org/news/6501</guid>
      <link>http://www.phpdeveloper.org/news/6501</link>
      <description><![CDATA[<p>
On his ThinkingPHP blog today, <i>Felix Geisendorfer</i> hands out mor eCakePHP goodness with <a href="http://www.thinkingphp.org/2006/10/16/command-line-fun-in-cakephp-12/">some talk about</a> working with the popular CakePHP framework in an unlikely place - on the command line with the "bake" utility.
</p>
<p>
The "bake" utility is included with the CakePHP distribution and helps a developer scaffold out an application with minimal effort. Things have been changed in the recent distributions, though:
</p>
<blockquote>
Unlike the old bake.php, which was only used to auto-generate code for you, this one follows a much cooler concept. The main idea is to have an interface to a wide variety Tasks.
</blockquote>
<p>
The new and improved "bake" program takes the tasks created and builds out a bit more functionality than just the scaffolding as the version before did. <i>Felix</i> <a href="http://www.thinkingphp.org/2006/10/16/command-line-fun-in-cakephp-12/">includes an example</a> of a task (a simple echo) just to show how it's formatted.
</p>]]></description>
      <pubDate>Mon, 16 Oct 2006 07:18:32 -0500</pubDate>
    </item>
  </channel>
</rss>
