<?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>Wed, 23 May 2012 17:51:13 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NETTUTS.com: How to Set Up a Killer WordPress Testing Environment Locally]]></title>
      <guid>http://www.phpdeveloper.org/news/12575</guid>
      <link>http://www.phpdeveloper.org/news/12575</link>
      <description><![CDATA[<p>
If you're a WordPress developer and have been looking for a good guide on setting up a local installation to do some testing, you might want to check into <a href="http://net.tutsplus.com/tutorials/wordpress/how-to-set-up-a-killer-wordpress-testing-environment-locally/">this guide</a> from NETTUTS.com.
</p>
<blockquote>
If you're a heavy WordPress developer like me, you might find that you need to create a new installation for each site that requires a strange structure or specific posts, instead of using your uniform local test WordPress installation. Cue WordPress Mu. WordPress Multi User is a platform created by the geniuses at Automattic that is basically a WordPress installation that allows multiple blogs to run using the same software.
</blockquote>
<p>
<a href="http://net.tutsplus.com/tutorials/wordpress/how-to-set-up-a-killer-wordpress-testing-environment-locally/">The tutorial</a> requires you to already have a setup install of WordPress on your local machine and a working <a href="http://www.mamp.info/en/mamp-pro/index.html">MAMP</a> setup. The guide shows you how to change ports in the config, update the httpd.conf file for the webserver, add in a virtual host and configure the hosts file to point to your <a href="http://mu.wordpress.org/">WordPress MU</a> installation.
</p>]]></description>
      <pubDate>Wed, 27 May 2009 09:35:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How to Install PHP on Windows]]></title>
      <guid>http://www.phpdeveloper.org/news/12328</guid>
      <link>http://www.phpdeveloper.org/news/12328</link>
      <description><![CDATA[<p>
In <a href="http://www.sitepoint.com/blogs/2009/04/13/how-to-install-php-on-windows/">this new article</a> on the SitePoint PHP blog, <i>Craig Buckler</i> shows you how to get PHP installed and working. He mentions the "all in one" packages that can do a lot of the work for you, but opts to go down the manual route to show you how its really done.
</p>
<blockquote>
Installing PHP on your development PC allows you to safely create and test a web application without affecting the data or systems on your live website. This article describes PHP installation as a module within the Windows version of Apache 2.2. Mac and Linux users will probably have it installed already.
</blockquote>
<p>
The process is quick and relatively painless - there's six steps (not including the Apache install, that was <a href="http://www.sitepoint.com/blogs/2009/04/07/how-to-install-apache-on-windows/">covered previously</a>) and only a little bit of messing around with system properties you'll need to do.
</p>]]></description>
      <pubDate>Mon, 13 Apr 2009 10:24:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jaisen Mathai's Blog: How to host the php.net manual on your laptop for offline use]]></title>
      <guid>http://www.phpdeveloper.org/news/12125</guid>
      <link>http://www.phpdeveloper.org/news/12125</link>
      <description><![CDATA[<p>
<i>Jaisen Mathai</i> has <a href="http://www.jaisenmathai.com/blog/2009/03/03/how-to-host-the-phpnet-manual-on-your-laptop-for-offline-use/">a helpful hint</a> for those that do any offline work with PHP on their own development systems - how to mirror the PHP manual on a local web server.
</p>
<blockquote>
In addition to [a local copy of your source] being faster to develop, it lets you work without needing to be connected to the Internet. But what about the tools you use while developing? If you're a PHP developer then the manual at php.net is an invaluable tool. It only make sense to have it available for when you're not online.
</blockquote>
<p>
His example follows the <a href="http://www.php.net/mirroring.php">official mirroring</a> part of the PHP.net website and uses a slightly modified rsync command to fetch the manual information from the php.net site and drops it in a location locally. He throws in an Apache configuration too for a simple VirtualHost to get it up and running.
</p>]]></description>
      <pubDate>Thu, 12 Mar 2009 12:53:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Vid Luther's Blog: Using your Mac as a local web development environment.]]></title>
      <guid>http://www.phpdeveloper.org/news/11909</guid>
      <link>http://www.phpdeveloper.org/news/11909</link>
      <description><![CDATA[<p>
Having a development environment on a remote machine (maybe production, maybe test) is nice, but sometimes you just need the speed and simplicity that something a bit more local can give you. <i>Vid Luther</i> <a href="http://www.phpcult.com/blog/using-your-mac-as-a-local-web-development-environment/">talks about setting up</a> just such a local development environment on your Mac. (Sorry Windows guys - maybe check out <a href="http://www.wampserver.com/en/">WAMP</a>)
</p>
<blockquote>
This post is for the techies who know me, and are switching. Some are coming from Windows, some from Linux, some are designers who need to do some local development. So, I'll try to keep this post as simple as possible, and perhaps more like a tutorial, where you can "copy and paste" commands and files.
</blockquote>
<p>
He recommends a few pieces of software that you'll need - things like <a href="http://www.apachefriends.org/en/xampp-macosx.html">XAMPP</a> and <a href="http://dev.mysql.com/">MySQL</a> - and some other "nice to haves" like <a href="http://macromates.com/">TextMate</a>, <a href="http://www.open.collab.net/downloads/community/">Subversion</a> and <a href="http://www.expandrive.com/expandrive">Expandrive</a>. He shows how to set up the shell environment, create virtual hosts and add them into the /etc/hosts file so they'll resolve locally.
</p>]]></description>
      <pubDate>Mon, 09 Feb 2009 09:32:14 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Leonid Mamchenkov's Blog: Perl vs. PHP : variable scoping]]></title>
      <guid>http://www.phpdeveloper.org/news/11559</guid>
      <link>http://www.phpdeveloper.org/news/11559</link>
      <description><![CDATA[<p>
<i>Leonid Mamchenkov</i> has compared Perl versus PHP in <a href="http://mamchenkov.net/wordpress/2008/12/12/perl-vs-php-variable-scoping/">this new blog post</a> - specifically how they handle variable scoping.
</p>
<blockquote>
I've mentioned quite a few times that I am a big fan of Perl programming language.  However, most of my programming time these days is spent in PHP.  The languages are often similar, with PHP having its roots in Perl, and Perl being such a influence in the world of programming languages.  This similarity is often very helpful.  However there are a few difference, some of which are obvious and others are not.
</blockquote>
<p>
His example compares looping (a foreach in both) and how, after the Perl loop the $value variable is no longer accessible. In PHP, however, it's passed back out into the current scope and can be read just like any other variable. While this can be useful, it can also cause headaches when trying to track down elusive bugs.
</p>]]></description>
      <pubDate>Fri, 12 Dec 2008 08:49:14 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Locale-Sensitive Dates in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11347</guid>
      <link>http://www.phpdeveloper.org/news/11347</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> shares a <a href="http://www.lornajane.net/posts/2008/Locale-Sensitive-Dates-in-PHP">quick code snippet</a> she's worked up to make handling local-sensitive dates in PHP a bit easier (via the <a href="http://www.php.net/strftime">strftime</a> function).
</p>
<blockquote>
I needed dates like "Donderdag 23 Oktober", and I was sure PHP should know how to do this without me creating arrays for days of the week and months of the year. With some help from my friend (thanks Derick) I discovered that there is a date function in PHP that takes into account the locale of the script, called strftime.
</blockquote>
<p>
Her code snippet shows how to set the correct local time (in her case, nl_NL with a UTF-8 encoding) and how to return a formatted string based on formatting characters (much like printf/sprintf).
</p>]]></description>
      <pubDate>Wed, 05 Nov 2008 08:48:44 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: The ultimate PHP web development environment, part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/9846</guid>
      <link>http://www.phpdeveloper.org/news/9846</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog today, <i>Akash Mehta</i> has posted the <a href="http://www.developertutorials.com/blog/php/the-ultimate-php-web-development-environment-part-2-98/">second part</a> of his look at the "ultimate web development environment", a continuation from <a href="http://www.developertutorials.com/blog/php/ultimate-php-web-development-environment-software-part-1-78/">this previous part</a>.
</p>
<blockquote>
Today I'm going to look at a local development server and its PHP configuration, as well as some of the IDEs/editors available for Linux, especially the cross-platform options.
</blockquote>
<p>
Tools mentioned <a href="http://www.developertutorials.com/blog/php/the-ultimate-php-web-development-environment-part-2-98/">this time</a> include things like a local development server (invaluable) some PHP configuration tips and the editors they mentioned, things like Aptana, Eclipse and Zend Studio.
</p>]]></description>
      <pubDate>Mon, 24 Mar 2008 09:35:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Whip Up a Yahoo! Mashup Using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9073</guid>
      <link>http://www.phpdeveloper.org/news/9073</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/article/2727-Whip-Up-a-Yahoo-Mashup-Using-PHP">an article</a> from <i>Akash Mehta</i> (reprinted <a href="http://www.sitepoint.com/article/yahoo-mashup-php">from SitePoint</a>) about creating a Yahoo! based mashup combining their search functionality and mapping.
</p>
<blockquote>
In this article, I'll show you how to use the powerful collection of Yahoo! APIs to build a mashup with PHP 5. First we'll take a look at what APIs are, and the various offerings from Yahoo! that we can take advantage of. I'll demonstrate how to search the web using Yahoo!'s entire database with only three lines of code, then take you through the process of building an entire application to search for 'Pizza' in 'Palo Alto, CA' with only 25 lines of PHP code.
</blockquote>
<p>
They <a href="http://devzone.zend.com/article/2727-Whip-Up-a-Yahoo-Mashup-Using-PHP">show</a> how to consume the RESTful data Yahoo provides via a custom class that makes calling the API simple. They also include the code (and HTML) you'll need to make the mapping for for the locations your search turned up.
</p>]]></description>
      <pubDate>Mon, 19 Nov 2007 13:43:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[O'Reilly: PHP Search Engine Showdown]]></title>
      <guid>http://www.phpdeveloper.org/news/7490</guid>
      <link>http://www.phpdeveloper.org/news/7490</link>
      <description><![CDATA[<p>
On the O'Reilly OnLamp.com website today, there's <a href="http://www.onlamp.com/pub/a/php/2006/02/16/search-engine-showdown.html?CMP=OTC-6YE827253101&ATT=PHP+Search+Engine+Showdown">a new article</a> that compares searching methods on a site - a "search engine showdown".
</p>
<blockquote>
It's a universal frustration. You just know that the piece of information you're looking for is somewhere on a site. You click one link, then another, and another. You go back to the home page and try a different branch of the site. After dozens of clicks, you still can't find the information you need. Then it's back to Google and on to another site. At last you find one with an internal search engine. You enter your search term, and voilá!--the information you need pops up in less than a second.
</blockquote>
<p>
They compare these two types - <a href="http://www.onlamp.com/pub/a/php/2006/02/16/search-engine-showdown.html?CMP=OTC-6YE827253101&ATT=PHP+Search+Engine+Showdown">hosted versus local</a> - and show how to get started on integrating one, the local option, into your site. They start with a few things consider before getting into the choices - the physical issues involved, the page information itself, and how the engine will index.
</p>
<p>
The rest of the article is devoted to the different options they'd recommend along with ratings, what technology they use, if they're PHP5 compatible, difficulty of installation, and many more criteria. Their list of leading local search engines for your site are:
<ul>
<li>Sphider
<li>MnogoSearch
<li>TSEP
<li>PHPDig
<li>iSearch
<li>RiSearch
</ul>
</p>]]></description>
      <pubDate>Fri, 23 Mar 2007 07:48:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebRefernece: Script GUI for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6667</guid>
      <link>http://www.phpdeveloper.org/news/6667</link>
      <description><![CDATA[<p>
<i>Lee Underwood</i> shares a handy bit of software in <a href="http://www.webreference.com/reviews/script_guiPHP/">this quick article</a> on Developer.com - a GUI program that helps you execute your PHP scripts on Windows without the setup time of something like <a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP</a>.
</p>
<blockquote>
There's no need to install a server and PHP and then try to coordinate them in order to get them to work together. <a href="http://www.zzee.com/script-gui/">Script GUI</a> comes in one compact package. It includes a server, which is only available to the built-in browser and is a nice security feature. In addition, it supports CGI, virtual hosts, directory aliases, custom error documents and understands most commands in .htaccess files.
</blockquote>
<p>
He <a href="http://www.webreference.com/reviews/script_guiPHP/">tell how it works</a> (pretty much just install and go) and how it can be configured to work with virtual hosts. Best of all, it already comes with the latest version of PHP for Windows and can interface with several of the popular databases out there.
</p>]]></description>
      <pubDate>Wed, 08 Nov 2006 09:26:00 -0600</pubDate>
    </item>
  </channel>
</rss>

