<?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, 12 Oct 2008 13:22:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Migrating Class Code for a MIME Email to PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/10783</guid>
      <link>http://www.phpdeveloper.org/news/10783</link>
      <description><![CDATA[<p>
DevShed has finished off their series looking at sending MIME emails with PHP in <a href="http://www.devshed.com/c/a/PHP/Migrating-Class-Code-for-a-MIME-Email-to-PHP-5/">this new tutorial</a>, moving the current code from the previous parts up to a fully PHP5 state.
</p>
<blockquote>
While this mailer class can be used with small PHP applications, it lacks some important features related specifically to its object model, since it was built in PHP 4 from the very beginning. 
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Migrating-Class-Code-for-a-MIME-Email-to-PHP-5/1/">review</a> the PHP4 version of the script first then move on to the process of <a href="http://www.devshed.com/c/a/PHP/Migrating-Class-Code-for-a-MIME-Email-to-PHP-5/2/">porting it</a> to a more standardized PHP5 structure and code.
</p>]]></description>
      <pubDate>Thu, 07 Aug 2008 11:16:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Migrating legacy PHP 4 applications to PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/10574</guid>
      <link>http://www.phpdeveloper.org/news/10574</link>
      <description><![CDATA[<p>
In <a href="http://www.developertutorials.com/blog/javascript/migrating-legacy-php-4-applications-to-php-5-320/">a new post</a> to the Developer Tutorials blog <i>Akash Mehta</i> takes a look at migrating PHP4 applications up to the more recent versions of PHP5.
</p>
<blockquote>
PHP 5 supports most of the legacy syntax features of PHP 4. Most code written for PHP 4 should function fine under PHP 5, and a comprehensive test suite could check this. However, many of the backwards-incompatible changes in PHP 5 were in regard to language quirks, and quite a few hacks rely on these in order to function.
</blockquote>
<p>
He points out some of these hacks including changes to the object model and updates to the way variables are handled (breaking many "bad use" cases). He also points out the changes made in the latest Windows binaries as well as some of the new reserved keywords that could conflict with pre-existing code in your application.
</p>]]></description>
      <pubDate>Thu, 10 Jul 2008 07:56:41 -0500</pubDate>
    </item>
    <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[Matthew Turland's Blog: Goodbye WordPress, Hello Habari ]]></title>
      <guid>http://www.phpdeveloper.org/news/10460</guid>
      <link>http://www.phpdeveloper.org/news/10460</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> has said <a href="http://ishouldbecoding.com/2008/03/08/goodbye-wordpress-hello-habari">goodbye to Wordpress and hello to Habari</a> - a "next-generation free software blogging platform". He also includes one of the more helpful tips for those thinking on doing the same:
</p>
<blockquote>
So after eventually getting fed up with WordPress, especially after the WYSIWYG editor disappeared in the 2.3.3 update, I finally decided to bite the bullet and migrate my blog over to Habari. Once I'd been through the process, I thought I'd write a short blog entry about the experience.
</blockquote>
<p>
The <a href="http://ishouldbecoding.com/2008/03/08/goodbye-wordpress-hello-habari">two tips</a> he mentions are about exporting the old content (made simple from the WordPress admin interface) and making Habari support his WordPress URL scheme (so as not to loose links to any content out there). He found <a href="http://twofishcreative.com/michael/blog/2007/12/22/wordpress-urls-habari-urls">this</a> to help on that front.
</p>]]></description>
      <pubDate>Mon, 23 Jun 2008 09:36:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Markus Wolff's Blog: Migrating to PDT]]></title>
      <guid>http://www.phpdeveloper.org/news/8763</guid>
      <link>http://www.phpdeveloper.org/news/8763</link>
      <description><![CDATA[<p>
<i>Markus Wolff</i> has been moving from his current editor (Zend Studio) over to a newly released (stable) version of an Eclipse-based IDE for PHP - <a href="http://www.zend.com/pdt/">Zend/Eclipse's PDT</a> package. In his migration, he's found out a few things, good and bad, that he <a href="http://blog.wolff-hamburg.de/archives/20-Migrating-to-PDT.html">wanted to share</a>.
</p>
<blockquote>
It took a little while for me to get acquainted with the little oddities of the Eclipse platform. One can clearly see that it was originally tailored to fit Java development, and although PHP integration is now pretty good, things sometimes still feel a bit bloated and overly complicated. Having said that, I'm using PDT full-time for all my PHP development now and have kissed the old Zend Studio goodbye. Eclipse brings too many goodies to the table to ignore.
</blockquote>
<p>
Among the "growing pains" he mentions are things like:
</p>
<ul>
<li>Piss-poor network performance
<li>Frequent slowdowns and out of memory exceptions
<li>If you can, use NFS instead of Samba
<li>Adjust Java heap space
<li>Turn off unneccessary validators
</ul>
<p>
Check out <a href="http://blog.wolff-hamburg.de/archives/20-Migrating-to-PDT.html">his post</a> for more details on each.
</p>]]></description>
      <pubDate>Tue, 02 Oct 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: Migrating from WordPress to CakePHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8716</guid>
      <link>http://www.phpdeveloper.org/news/8716</link>
      <description><![CDATA[<p>
<i>Felix Geisendorfer</i> is in the process of moving his blog from Wordpress to a customized "light-weight CakePHP replacement" he's developing to be extended later on. <a href="http://www.thinkingphp.org/2007/09/24/migrating-from-wordpress-to-cakephp/">His post</a> shares some of the tips he found so far.
</p>
<blockquote>
In this post I'm simply going to throw out some snippets to show how I'm currently approaching the whole process in order to give both my insight into what works and what doesn't, while also hoping to get some people to share their insight into migrating legacy apps to CakePHP.
</blockquote>
<p>
The tip in <a href="http://www.thinkingphp.org/2007/09/24/migrating-from-wordpress-to-cakephp/">this post</a> is primarily about the database side of things - his porting over of the information from the Wordpress table model to his new customized schema. His code example for the migration is included.
</p>]]></description>
      <pubDate>Mon, 24 Sep 2007 15:58:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Arnold Daniels' Blog: Migrating from PHP4 to PHP5: A strategy for hosts]]></title>
      <guid>http://www.phpdeveloper.org/news/8589</guid>
      <link>http://www.phpdeveloper.org/news/8589</link>
      <description><![CDATA[<p>
One of the biggest problems facing PHP web hosting companies is the big move to PHP5 that that end-of-life announcement. <i>Arnold Daniels</i> has <a href="http://blog.adaniels.nl/?p=44">one idea</a> for a solution to help ease the problems - providing customers with a testing environment they can try out their code in.
</p>
<blockquote>
A few months ago I've posted an article about <a href="http://blog.adaniels.nl/?p=13">running multiple Apache instances</a> with different PHP versions. In that article I showed how to make multiple configurations running Apache on different IP addresses. By using different ports instead of different IP addresses, we can give our customers a way to check their site before it goes live.
</blockquote>
<p>
He modifies the settings in that tutorial with <a href="http://blog.adaniels.nl/?p=44">a few updates</a> he includes to make two different apache configurations - one for PHP4 and the other for PHP5. When used together, they can run two different PHP versions on the same code, just on different ports.
</p>]]></description>
      <pubDate>Wed, 05 Sep 2007 09:45:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[O'Reilly: Migrating Web-Based PHP Applications to Ajax]]></title>
      <guid>http://www.phpdeveloper.org/news/7818</guid>
      <link>http://www.phpdeveloper.org/news/7818</link>
      <description><![CDATA[<p>
In a <a href="http://www.onlamp.com/pub/a/php/2007/05/10/migrating-web-based-php-applications-to-ajax.html?CMP=OTC-6YE827253101&ATT=Migrating+Web-Based+PHP+Applications+to+Ajax">new tutorial</a> on O'Reilly's ONLamp.com website today, <i>Bill Lubanovic</i> shows an example of moving a normal web-based PHP application over to a more Ajax-enabled environment.
</p>
<blockquote>
<p>
In the web environment, we've typically needed hacks like populating hidden fields in a form, and regenerating the whole page, even for a tiny change. Can we make the process more rational?
</p>
<p>
This article describes a makeover of a typical database-backed web form. We'll show some old code '" a mixture of HTML, JavaScript, and PHP '" and rebuild it with modern web techniques like Ajax, and modern tools like jQuery.
</p>
</blockquote>
<p>
In <a href="http://www.onlamp.com/pub/a/php/2007/05/10/migrating-web-based-php-applications-to-ajax.html?CMP=OTC-6YE827253101&ATT=Migrating+Web-Based+PHP+Applications+to+Ajax">their example</a>, they show how to take a simple form element, a select box of names, and modify it to work with an Ajax connection. Instead of having to submit the information back to to the PHP script with a form submit button, they can make a request when the user changes the select option to get that person's information. They've included all of the relevant code and some great explanation to help you recreate the example and move on to work up your own.
</p>]]></description>
      <pubDate>Thu, 10 May 2007 10:54:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sandro Groganz's Blog: Syntax Highlighting & Migrating Permalinks in WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/7058</guid>
      <link>http://www.phpdeveloper.org/news/7058</link>
      <description><![CDATA[<p>
<i>Sandro Groganz</i> has two new WordPress tips for users out there looking to do some syntax highlighting in their posts and that want to move some older permalinks into a WordPress environment.
</p>
<p>
The <a href="http://sandro.groganz.com/weblog/2006/12/30/syntax-highlighting-in-wordpress/">first post</a> spotlights a package that makes highlighting in WordPress simple - the <a href="http://blog.igeek.info/still-fresh/2006/02/25/code-for-fun/">iG:Syntax Hiliter v3.5 plugin</a>. He includes some sample code to show how the CSS is formatted which, in itself, is a demo of what the plugin looks like.
</p>
<p>
The <a href="http://sandro.groganz.com/weblog/2006/12/30/migrating-old-permalinks-to-wordpress/">second article</a> follows the steps he went through to make the move to WordPress URLs from the previous format. He leaned toward mod_rewrite, but decided to go a different way and whip up a custom 404 handler to get people where they want to go. He includes the code (all 15 lines of it) to show how he did it.
</p>]]></description>
      <pubDate>Tue, 09 Jan 2007 07:39:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEverywhere: Moving Legacy PHP4 apps to PHP 5.1]]></title>
      <guid>http://www.phpdeveloper.org/news/4458</guid>
      <link>http://www.phpdeveloper.org/news/4458</link>
      <description><![CDATA[In his <a href="http://phplens.com/phpeverywhere/?q=node/view/221">latest post</a>, <i>John Lim</i> looks at some of the issues that he (and his group of developers) are having in the port from legacy PHP4 applications up to PHP 5.1.
<p>
<quote>
<i>
Today, started to test moving some of our PHP4 apps to PHP5.1.1. Some of this code was written for PHP 4.0.6, over 3 years ago. The migration so far has been relatively painless. Here are some of the problems we encountered.
</i>
</quote>
<p>
Included in <a href="http://phplens.com/phpeverywhere/?q=node/view/221">his list</a> are things like:
<ul>
<li>issues with code generators (created in PHP4) and pass by reference problems
<li>the classic register_globals issues
<li>the lack of an open source opcode cache for Windows
<li>and more...
</ul>]]></description>
      <pubDate>Wed, 07 Dec 2005 07:50:20 -0600</pubDate>
    </item>
  </channel>
</rss>
