<?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>Tue, 18 Jun 2013 20:32:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Phil Sturgeon's Blog: Why Write A New Framework?]]></title>
      <guid>http://www.phpdeveloper.org/news/16174</guid>
      <link>http://www.phpdeveloper.org/news/16174</link>
      <description><![CDATA[<p>
<i>Phil Sturgeon</i>, a developer on the <a href="http://fuelphp.com">Fuel framework project</a>, has a new post to his blog asking a common question of all developers that set out to make the "Next Big Framework" - <a href="http://philsturgeon.co.uk/blog/2011/04/why-write-a-new-framework">why write a new framework</a>?
</p>
<blockquote>
So we all know that the internet is full of frameworks. They've been the popular thing for the last 5 or 6 years and it seems to have become the "barrier for entry" or the "passage of rights" that 8 or 9 years ago used to be "hey I just wrote a phpBB clone!". There are plenty around but in this day in age, why would anyone write a new one? As somebody involved in a new PHP framework - <a href="http://fuelphp.com/">Fuel</a> - that has shaken a few opinions up I thought it would be interesting to share my thoughts and views on the situation.
</blockquote>
<p>
While he agrees that there are plenty of other frameworks out there, maybe too many to choose from, he thinks that there's value in making something that's useful to you and the toolsets you're already used to. One of their goals with Fuel is to "make PHP as fun to use" as possible and things like built-in migrations and scaffolding (along with a command-line tool, Oil) help towards that goal.
</p>
<blockquote>
A framework is essentially a way to put all of your best practises into a single place so that you can reuse them over and over again. This should make you more efficient and make your time more financially viable to clients. If the framework you use slows you down or does not cater for the way you like to develop then sack it off and do your own thing.
</blockquote>]]></description>
      <pubDate>Mon, 11 Apr 2011 11:30:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Lively's Blog: Adding Database Tests to Existing PHPUnit Test Cases]]></title>
      <guid>http://www.phpdeveloper.org/news/8591</guid>
      <link>http://www.phpdeveloper.org/news/8591</link>
      <description><![CDATA[<p>
<i>Mike Lively</i> has <a href="http://www.ds-o.com/archives/64-Adding-Database-Tests-to-Existing-PHPUnit-Test-Cases.html">posted about</a> functionality he's created to add database testing procedures to preexisting <a href="http://www.phpunit.de">PHPUnit</a> tests supplementing <a href="http://www.phpdeveloper.org/news/8569">his other post</a> n adding database support to PHPUnit.
</p>
<blockquote>
When I was first creating the <a href="http://www.ds-o.com/exit.php?url_id=170&entry_id=64">Database Extension</a> for <a href="http://www.phpunit.de">PHPUnit</a> I realized that there was a very high likelihood that several people would have tests that were already written that they would like to add additional database tests too. To accomplish this I actually wrote the PHPUnit_Extensions_Database_DefaultTester class. In fact, if you were to look at the source of the database test case you will see that all of it's operations are actually forwarded to this class which does all of the work.
</blockquote>
<p>
He <a href="http://www.ds-o.com/archives/64-Adding-Database-Tests-to-Existing-PHPUnit-Test-Cases.html">includes his same example</a> from before - the banking system - and shows how the tests can be appended on, adding a getDatabaseTester method that returns an object the rest of the tests can use.
</p>]]></description>
      <pubDate>Wed, 05 Sep 2007 10:50:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Creating Image Streams from Existing Graphics with the GD Library in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8487</guid>
      <link>http://www.phpdeveloper.org/news/8487</link>
      <description><![CDATA[<p>
DevShed continues its look at using the GD graphics library in PHP with <a href="http://www.devshed.com/c/a/PHP/Creating-Image-Streams-from-Existing-Graphics-with-the-GD-Library-in-PHP/">the second part</a> of the tutorial series, this time focusing on the creation of images from existing images (and their streams).
</p>
<blockquote>
As I stated at the end of the previous article of this series, the GD extension comes packaged with many other useful functions, which indeed deserve a close and detailed look. Thus, in this second tutorial I'll show you how to create different types of image streams from existing graphics, but in this case limiting the process to building GIF, JPG and PNG images.
</blockquote>
<p>
They work through each of the types (<a href="http://www.devshed.com/c/a/PHP/Creating-Image-Streams-from-Existing-Graphics-with-the-GD-Library-in-PHP/1/">GIF</a>, <a href="http://www.devshed.com/c/a/PHP/Creating-Image-Streams-from-Existing-Graphics-with-the-GD-Library-in-PHP/2/">JPG</a> and <a href="http://www.devshed.com/c/a/PHP/Creating-Image-Streams-from-Existing-Graphics-with-the-GD-Library-in-PHP/3/">PNG</a>) creating an new one from a previous "clouds" image of the same type (a GIF out of a GIF, a JPG from a JPG, etc).
</p>]]></description>
      <pubDate>Mon, 20 Aug 2007 11:04:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Soledad Pendaes' Blog: PHP will never have a (real) Rails-like framework]]></title>
      <guid>http://www.phpdeveloper.org/news/7194</guid>
      <link>http://www.phpdeveloper.org/news/7194</link>
      <description><![CDATA[<p>
Well, according to <i>Soledad Pendaes</i>, PHP will <a href="http://www.soledadpenades.com/2007/01/22/php-will-never-have-a-real-rails-like-framework/">never have a (real) Rails-like framework</a> because of some of the limitations with objects inherent to the language.
</p>
<blockquote>
I know the title is harsh but it's so true. At least it is according to nowadays php's implementation of classes and objects, which do not permit to "reopen" and add or redefine new methods to an existing class definition, which is the basis upon Rails (and I presume lots more of applications and frameworks) is built.
</blockquote>
<p>
<a href="http://www.soledadpenades.com/2007/01/22/php-will-never-have-a-real-rails-like-framework/">The post</a> goes on to talk about they "why" behind the statement - basically that this kind of functionality makes it easier to "Extend. Morph. Adapt. Improve. Refine." your applications. She talks some about other frameworks that have tried to offer the same kinds of functionality Rails does (CakePHP and Symfony) but notes that they still have their limitations (in specific, mentioning CakePHP's AppModel functionality).
</p>]]></description>
      <pubDate>Wed, 31 Jan 2007 09:15:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Reusing an existing database connection with MDB2]]></title>
      <guid>http://www.phpdeveloper.org/news/7050</guid>
      <link>http://www.phpdeveloper.org/news/7050</link>
      <description><![CDATA[<p>
In <a href="http://www.phpied.com/reusing-an-existing-database-connection-with-mdb2/">this new blog post</a>, <i>Stoyan Stefanov</i> shares a method he's found to reuse an existing database connection with the MDB2 library.
</p>
<blockquote>
This is a follow up to a <a href="http://www.phpied.com/db-2-mdb2/#comment-44767">question</a> posted by Sam in my <a href="http://www.phpied.com/db-2-mdb2/">DB-2-MDB2 post</a>. The question was if you can reuse an exisitng database connection you've already established and not have MDB2 creating a second connection.
</blockquote>
<p>
He <a href="http://www.phpied.com/reusing-an-existing-database-connection-with-mdb2/">gives two different methods</a>, one for persistent connections and the other for non-persistent ones - including some code.
</p>]]></description>
      <pubDate>Mon, 08 Jan 2007 12:33:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Andi Gutmans' Blog:  PHP 5 Adoption has Tipped!]]></title>
      <guid>http://www.phpdeveloper.org/news/5798</guid>
      <link>http://www.phpdeveloper.org/news/5798</link>
      <description><![CDATA[<p>
According to <a href="http://andigutmans.blogspot.com/2006/07/php-5-adoption-has-tipped.html">this new post</a> on <i>Andi Gutmans'</i> blog today, the adoption of PHP versions seems to be tipping in favor of PHP5.
</p>
<blockquote>
PHP 5 was released in July 2004. Since its release two years ago, there has been a lot of talk about its adoption rate and whether it will surpass the PHP 4 installed base. No doubt that it will still take some time for PHP 5 to reach PHP 4's existing installed base. The main reason for this are the numerous PHP 4-based applications that were built over the years, and if it's not broken, don't fix it.
</blockquote>
<p>
He <a href="http://andigutmans.blogspot.com/2006/07/php-5-adoption-has-tipped.html">includes a graph</a> showing the adoption of both PHP4 and PHP5 versions, noting a large increase from the release of the 5.1 version of PHP. 
</p>
<blockquote>
Although I knew many were waiting for PHP 5.1 before upgrading, its release in last November seems to have created a huge increase in PHP 5 adoption. In July over 74% of support tickets were by customers using PHP 5 (and remember we do support both versions).
</blockquote>]]></description>
      <pubDate>Mon, 17 Jul 2006 05:45:19 -0500</pubDate>
    </item>
  </channel>
</rss>
