<?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 17:18:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Migrating OOP Libraries and Frameworks to PHP 5.3]]></title>
      <guid>http://www.phpdeveloper.org/news/10529</guid>
      <link>http://www.phpdeveloper.org/news/10529</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> recently <a href="http://weierophinney.net/matthew/archives/181-Migrating-OOP-Libraries-and-Frameworks-to-PHP-5.3.html">posted about</a> a method he's come up with for migrating your object-oriented libraries (including frameworks) over to the upcoming PHP 5.3 version of the language.
</p>
<blockquote>
With PHP 5.3 coming up on the horizon, I'm of course looking forward to using namespaces. 
</blockquote>
<p>
He gives an example of how useful these namespaces can be for you and your code, but points out one failing point - trying to define classes in a namespace that are named the same as a built-in keyword for PHP. There's already been a suggestion to add a captial "I" in front of the class name to prevent this collision.
</p>
<p>
There's also the problem of throwing custom exceptions - unless you use the namespace properly your script will just throw a default exception.
</p>]]></description>
      <pubDate>Wed, 02 Jul 2008 10:24:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: TDD with Symfony: The first test always fails]]></title>
      <guid>http://www.phpdeveloper.org/news/10528</guid>
      <link>http://www.phpdeveloper.org/news/10528</link>
      <description><![CDATA[<p>
On the PHP::Impact blog, <i>Federico Cargnelutti</i> has <a href="http://phpimpact.wordpress.com/2008/07/02/tdd-with-symfony-te-first-test-always-fails/">posted about</a> test-driven design, specifically with the Symfony framework.
</p>
<blockquote>
Symfony is one of the few PHP frameworks that gives you basic tools for starting to write tests. [...] Symfony also provides an extension of this class called sfTestBrowser, designed especially for functional tests, which has all the abilities of the sfBrowser object plus some smart assert methods.
</blockquote>
<p>
He uses this sfTestBrowser object to run an example test on a same get() call's response. It should match the regular expression of "/This is a temporary page/" but doesn't so it fails. Writing up tests like this for new parts of your application first would be considered test-driven development and the Symfony framework makes that simple.
</p>]]></description>
      <pubDate>Wed, 02 Jul 2008 09:33:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Avent Labs Blog: PHP framework comparison benchmarks]]></title>
      <guid>http://www.phpdeveloper.org/news/10527</guid>
      <link>http://www.phpdeveloper.org/news/10527</link>
      <description><![CDATA[<p>
The Avent Labs blog has done some <a href="http://www.avnetlabs.com/php/php-framework-comparison-benchmarks">basic benchmarking</a> on some of the more popular PHP frameworks out there today. The post includes the tools they used and the full results.
</p>
<blockquote>
In response to Wil's comment regarding the PHP framework performance comparisons I made in my <a href="http://www.avnetlabs.com/php/php-frameworks-revisited-codeigniter-vs-zend-framework">previous post</a>, I have decided to post the results I got. My decision not post them initially was due to the benchmarks not being done in complete isolation (a separate client and server machine) but the scores relative to each should still be accurate and that’s what I am testing for.
</blockquote>
<p>
He used a machine with a 1.8Ghz sempron chip (running Ubuntu) to run the tests through <a href="http://www.hpl.hp.com/research/linux/httperf/">httperf</a>. His method involved creating the same sort of "hello world" sort of controller to gauge the framework's performance and a baseline procedural version of the same as a guide. His full results are available as a <a href="http://avnetlabs.com/frameworks/frameworks.tar.gz">tar file</a> and as <a href="http://avnetlabs.com/frameworks/frameworks.zip">a zip archive</a>. 
</p>]]></description>
      <pubDate>Wed, 02 Jul 2008 08:41:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Namespaces in PHP? Why *wouldn't* you want them?]]></title>
      <guid>http://www.phpdeveloper.org/news/10520</guid>
      <link>http://www.phpdeveloper.org/news/10520</link>
      <description><![CDATA[<p>
With more recent talk about namespaces in PHP 5.3, bloggers all over are tossing their comments into the discussion. <i>Chris Hartjes</i> is one of the latest with <a href="http://www.littlehart.net/atthekeyboard/2008/06/30/namespaces-in-php-why-wouldnt-you-want-them/">his thoughts</a> on the point of the functionality.
</p>
<blockquote>
I'm an outsider when it comes to tracking the going-on in the world of PHP internals. So, because of that, I'm not going to comment on the actual syntax of how namespaces will be implemented or it's impact on internals. That's not really important as far as this particular discussion goes. 
</blockquote>
<p>
He <a href="http://www.littlehart.net/atthekeyboard/2008/06/30/namespaces-in-php-why-wouldnt-you-want-them/">mentions</a> one of the primary arguments for namespaces from the casual developer's perspective - keeping things separate and so classes can have the same naming as some of their cousins in other namespaces. 
</p>]]></description>
      <pubDate>Tue, 01 Jul 2008 11:14:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: The wait is over: symfony 1.1 released]]></title>
      <guid>http://www.phpdeveloper.org/news/10510</guid>
      <link>http://www.phpdeveloper.org/news/10510</link>
      <description><![CDATA[<p>
According to <a href="http://feeds.feedburner.com/~r/symfony/blog/~3/322835325/the-wait-is-over-symfony-1-1-released">this new post</a> to the Symfony blog, fans of the framework have a new reason to be happy - the latest version, 1.1, has officially been released.
</p>
<blockquote>
As you may know, we have been working for a very long time on the next stable version of symfony. Now the day has come to celebrate the immediate availability of the long awaited 1.1 stable release of the symfony framework!
</blockquote>
<p>
Just some of the new features include the framework's new <a href="http://www.symfony-project.org/blog/2008/06/23/the-symfony-1-1-architecture">architecture</a>, its brand new <a href="http://www.symfony-project.org/blog/2008/06/19/yaml-in-symfony-1-1">YAML parser</a>, the bundling of Propel as a <a href="http://trac.symfony-project.com/browser/branches/1.1/lib/plugins/sfPropelPlugin">plugin</a> and the addition of over 8,500 functional tests to ensure the solid structure of the framework stands.
</p>
<p>
You can either update/install this latest version with the pear command line functionality or <a href="http://www.symfony-project.org/installation/1_1">download the package</a> directly from the site.
</p>]]></description>
      <pubDate>Mon, 30 Jun 2008 11:17:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Friday afternoon toying: eZ Components as phar]]></title>
      <guid>http://www.phpdeveloper.org/news/10505</guid>
      <link>http://www.phpdeveloper.org/news/10505</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> <a href="http://derickrethans.nl/friday_afternoon_toying_ez_components_as_phar.php>finished off</a> last week by playing with a compression and distribution tool that's going to be built into the core release of PHP 5.3 - <a href="http://php.net/phar">phar</a>. More specifically, he tried it out on the eZ Components framework, trying to make a complete release package.
</p>
<blockquote>
A phar is to PHP what a jar is to Java. I spent a little time to see how easy it would be to make our latest <a href="http://ezcomponents.org/">eZ Components</a> release into a workable phar.
</blockquote>
<p>
He includes the few lines of code to make a package (four in his case) and a one-liner on how to use it in your application. Building the package is as easy as running a PHP command line call. 
</p>
<p>
Others in the community have picked up on <a href="http://derickrethans.nl/friday_afternoon_toying_ez_components_as_phar.php">Derick's post</a> and have checked into phar themselves - <a href="http://sebastian-bergmann.de/archives/799-Phar.html">Sebastian Bergmann</a> and <a href="http://feeds.feedburner.com/~r/StuartHerbert/~3/71761987/">Stuart Herbert</a> (on benchmarking phar).
</p>]]></description>
      <pubDate>Mon, 30 Jun 2008 07:56:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CodeIgniter Blog: CodeIgniter 1.6.3 Maintenance and Security Release]]></title>
      <guid>http://www.phpdeveloper.org/news/10498</guid>
      <link>http://www.phpdeveloper.org/news/10498</link>
      <description><![CDATA[<p>
The CodeIgniter framework has made a <a href="http://codeigniter.com/news/codeigniter_163_maintenance_and_security_release/">new release</a> today, 1.6.3, containing updates to fix a few bugs and address some security concerns.
</p>
<blockquote>
We are happy to release CodeIgniter version 1.6.3 today.  Version 1.6.3 is primarily a maintenance release, with a variety of bug fixes and some refinement to existing features (with a few new ones tossed in for good measure).  Details of course can be found in the <a href="http://codeigniter.com/user_guide/changelog.html">Change Log</a>. 
</blockquote>
<p>
The release also fixes a potential cross-site scripting issue that, while it hasn't been reported as used yet, could still have some bad consequences if found and abused. You can grab this latest version from the <a href="http://codeigniter.com/downloads/">CodeIgniter downloads page</a>.
</p>]]></description>
      <pubDate>Fri, 27 Jun 2008 09:34:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Roshan Bhattarai's Blog: Which is the best PHP framework ?]]></title>
      <guid>http://www.phpdeveloper.org/news/10491</guid>
      <link>http://www.phpdeveloper.org/news/10491</link>
      <description><![CDATA[<p>
<i>Roshan Bhattarai</i> has set up an <a href="http://roshanbh.com.np/2008/06/which-is-the-best-php-framework.html">informal poll</a> in an entry on his site asking visitors to rate what they think the "best" PHP framework is.
</p>
<blockquote>
I've been asked a lot of times which is the best PHP framework. Well, it's a very difficult question to answer this question and there are some pros and corns in each framework. So, today I would to hear your views via poll.
</blockquote>
<p>
Included in the list are <a href="http://www.cakephp.org" target="_blank"> CakePHP</a>, <a href="http://www.symfony-project.org/%20" target="_blank">Symfony</a>, <a href="http://framework.zend.com/" target="_blank">Zend Framework</a>, <a href="http://codeigniter.com/" target="_blank">CodeIgniter</a>. Coming out with around forty-three percent of the votes, though, is the Zend Framework with CakePHP following with twenty-two percent.
</p>]]></description>
      <pubDate>Thu, 26 Jun 2008 09:38:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Debuggable Blog: How to bend Cake's Model::find() method to your needs]]></title>
      <guid>http://www.phpdeveloper.org/news/10463</guid>
      <link>http://www.phpdeveloper.org/news/10463</link>
      <description><![CDATA[<p>
New on the Debuggable blog, <i>Tim Koschutzki</i> has <a href="http://www.debuggable.com/posts/implementing-different-types-for-cake%27s-model::find()-method:485030de-4778-456e-8400-44d84834cda3">posted a method</a> to get the fund() method in the CakePHP framework's models to bend to your will.
</p>
<blockquote>
CakePHP allows you to use your own "find-types" for the Model::find() methodology. Those of your who are familiar with the find() method know that there are currently four types in the core: 'list', 'all', 'first' and 'count'. However, sometimes it is nice to specify your own type.
</blockquote>
<p>
He shows an example of the end result - a find() call with a custom type that automagically gets translated correctly. His script overrides and enhances the usual find call in an extended object (extended from AppModel) that uses a switch/case statement to define the custom types and their find() search calls.
</p>]]></description>
      <pubDate>Mon, 23 Jun 2008 12:08:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Evan Sims' Blog: TwitterBash launches]]></title>
      <guid>http://www.phpdeveloper.org/news/10452</guid>
      <link>http://www.phpdeveloper.org/news/10452</link>
      <description><![CDATA[<p>
<i>Evan Sims</i> has <A href="http://feeds.feedburner.com/~r/evansims/~3/315985616/twitterbash-launches">posted about</a> the launch of a <a href="http://www.codeigniter.org">CodeIgniter</a>-driven application that brings the bash.org quoting abilities to the world of Twitter.
</p>
<blockquote>
Today marks the launch of <a href="http://twitterbash.com/">TwitterBash</a>, a concept conceived and design by my good friend <a href="http://judsoncollier.com/">Judson Collier</a>. [...] TwitterBash takes the concept of the long Internet-famous <a href="http://bash.org/">bash.org</a>, which allows folks to post snippets and quote conversations from IRC, and applies it to Twitter. Just sign up for an account, then head to the submit page. Pop in the permalink for a tweet you want to quote and you’re done. 
</blockquote>
<p>
<a href="http://twitterbash.com/">The site</a> runs on the PHP5 CodeIgniter framework allowing for fast and easy development. There's already a pretty good amount of content, so go over and check it out (and <a href="http://twitterbash.com/login">submit</a> some of your own).
</p>]]></description>
      <pubDate>Fri, 20 Jun 2008 11:25:24 -0500</pubDate>
    </item>
  </channel>
</rss>
