<?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>Mon, 08 Sep 2008 03:15:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Eirik Hoem's Blog: Handy online regex tool for PHP, Perl, JS and Python]]></title>
      <guid>http://www.phpdeveloper.org/news/10121</guid>
      <link>http://www.phpdeveloper.org/news/10121</link>
      <description><![CDATA[<p>
<i>Eirik Hoem</i> has <a href="http://blog.eirikhoem.net/index.php/2008/04/29/handy-online-regex-tool-for-php-perl-js-and-python/">pointed out</a> an online tool a coworker shared with him to work with regular expressions for multiple languages.
</p>
<blockquote>
A coworker of mine has been working on a ajax enabled regex tool which lets you evaluate regex expressions in several languages (including PHP PCRE and PHP POSIX) with instant results.
</blockquote>
<p>
<a href="http://regex.larsolavtorvik.com/">The tool</a> lets you put in the string you want to match again and the pattern you want to match with. The results are automatically populated below it, making it easy to fine-tune your expression to only what you want.
</p>]]></description>
      <pubDate>Tue, 06 May 2008 12:09:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Arnold Daniels' Blog: Perl like temporary variables in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8961</guid>
      <link>http://www.phpdeveloper.org/news/8961</link>
      <description><![CDATA[<p>
<i>Arnold Daniels</i> <a href="http://blog.adaniels.nl/?p=58">points out</a> a quick method for creating what he calls "perl-like temporary variables" in the global scope of a script:
</p>
<blockquote>
When writing code in the global scope, I often have a problem where I'm overwriting a variable. This happens even more often when I work on code of somebody else. Usually has the variable which does the overwriting is usually just a temporary variable.
</blockquote>
<p>
<a href="http://blog.adaniels.nl/?p=58">His code</a> is a simple few lines that shows how it could be used when trying to write information out to a file handle. Some of the comments on the post criticize his use of the global scope but <i>Arnold</i> comes back with his reasoning - mostly that there is already code in the global scope and that adding something else is only adding to it, not making things worse.
</p>]]></description>
      <pubDate>Fri, 02 Nov 2007 09:38:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jeff Moore's Blog: Keywords and Language Simplicity]]></title>
      <guid>http://www.phpdeveloper.org/news/8828</guid>
      <link>http://www.phpdeveloper.org/news/8828</link>
      <description><![CDATA[<p>
<i>Jeff Moore</i> has <a href="http://www.procata.com/blog/archives/2007/10/11/keywords-and-language-simplicity/">posted</a> and shared an interesting graph showing something I'd never thought about comparing one language versus another on - the number of keywords it uses.
</p>
<blockquote>
Well, I like programming language comparisons, so how could I resist <a href="http://iolanguage.com/about/simplicity/">this chart</a> (<a href="http://programming.reddit.com/info/2z11k/comments">via</a>) promoting the simplicity of the io language by pointing out how few keywords it has. The interesting thing about this is that Java and PHP are tied on this measure of simplicity with 53 keywords.
</blockquote>
<p>
Though not too meaningful, it is interesting to see how the different languages stack up in the number of reserved words you can't use for anything else. So, does that mean that Perl is the list limiting?
</p>]]></description>
      <pubDate>Fri, 12 Oct 2007 11:55:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: XAMPP Updates Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/8807</guid>
      <link>http://www.phpdeveloper.org/news/8807</link>
      <description><![CDATA[<p>
As <a href="http://hades.phparch.com/hermes/public/viewnews/index.php?id=3519">mentioned by</a> <i>Elizabeth Naramore</i> on the php|architect website today, the XAMPP project has released a new version of their software to automagically install Apache, MySQL, PHP and Perl.
</p>
<p>
From <a href="http://www.apachefriends.org">ApacheFriends.org</a>:
</p>
<blockquote>
In all versions we updated Apache to 2.2.6, PHP to 5.2.4 and phpMyAdmin to 2.11.1. (Find more details on the specific download page.) I'm sorry to say, but under Windows we currently have problems with the new Apache and mod_perl, which doesn't work at all. We hope to find a solution soon.
</blockquote>
<p>
Links to download the version for your OS of choice (Windows, OS X, Linux, Solaris) can be found <a href="http://www.apachefriends.org/en/xampp.html">on this page</a> of the project's website.
</p>]]></description>
      <pubDate>Tue, 09 Oct 2007 10:43:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas' Blog: The Pie in jQPie (and a Contest)]]></title>
      <guid>http://www.phpdeveloper.org/news/7457</guid>
      <link>http://www.phpdeveloper.org/news/7457</link>
      <description><![CDATA[<p>
<i>Richard Thomas</i>, creator of the <a href="http://projects.cyberlot.net/trac/jqpie/wiki">jQPie helper application</a> (PHP for jQuery) is <a href="http://www.cyberlot.net/pie-jqpie">suggesting a broader scope</a> for the project in his new blog post:
</p>
<blockquote>
<p>
Now I have slightly larger goals, the Pie represents the slices of code I hope to pack within. Currently there is a php5 slice, and another person has shown some interest in working on a php4 version.
</p>
<p>
Now I am looking for you! Yea you there the one looking at jQPie thinking it would be cool to use but your knee deep in Python, or Perl, or any other language.
</p>
</blockquote>
<p>
His <a href="http://www.cyberlot.net/pie-jqpie">ultimate goal</a> is to have a single javascript library that can span as many languages as it can right out of the box. To help the effort along, he's offering 2 cash prizes to developers - one for the Python/Ruby-ers out there and the other for Perl-heads. The best, most complete (working) library wins. Keep an eye on <a href="http://www.cyberlot.net">his blog</a> for more details on the contest and when it starts.
</p>]]></description>
      <pubDate>Tue, 20 Mar 2007 07:44:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sean Coates' Blog: PHP Pie?]]></title>
      <guid>http://www.phpdeveloper.org/news/7298</guid>
      <link>http://www.phpdeveloper.org/news/7298</link>
      <description><![CDATA[<p>
<i>Sean Coates</i> has <a href="http://blog.phpdoc.info/archives/57-PHP-Pie.html">created a simple version</a> of a popular bit of Perl functionality and shares the code in hi slatest post - the "pie" ability to perform a search and replace, line by line, through a file using a regular expression.
</p>
<blockquote>
I've often found myself looking for a PHP equivalent. Not to do simple substitutions, of course, but complex ones. And since I'm most comfortable with PHP, and a I have a huge library of snippets that I can dig out to quell a problem that I may have solved years ago, I've been meaning to fill this void for a while.
</blockquote>
<p>
So, one evening, he came home and hashed out <a href="http://blog.phpdoc.info/archives/57-PHP-Pie.html">this version</a> of the script. He includes the code in the post...it works on the command line and pulls in a file (though STDIN) and loops through the buffered version to perform the regex replace.
</p>]]></description>
      <pubDate>Mon, 19 Feb 2007 08:20:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP 10.0 Blog: php -T (variable tainting)]]></title>
      <guid>http://www.phpdeveloper.org/news/6862</guid>
      <link>http://www.phpdeveloper.org/news/6862</link>
      <description><![CDATA[<p>
On the PHP 10.0 Blog, there's <a href="http://php100.wordpress.com/2006/12/08/php-t/">a new post</a> today talking about variable tainting and what it might be like if PHP included it too.
</p>
<blockquote>
<a href="http://www.webreference.com/programming/perl/taint/">Perl</a> and <a href="http://www.rubycentral.com/book/taint.html">Ruby</a> have variable tainting. Maybe PHP should have it too?
</blockquote>
<p>
Variable tainting is a bit of built-in functionality that provides a "safety net" of sorts to the contents of variables to help protect both the users and the script itself from potentially harmful content.
</p>
<p>
He <a href="http://php100.wordpress.com/2006/12/08/php-t/">talks about</a> how Ruby and Perl handle the functionality and how, were PHP to work it in, which approach would fit better with PHP's current model:
</p>
<blockquote>
If one wants to implement proper tainting or sandboxing, it probably should be based on more generic approach that would account for existence of functions unknown in design time.
</blockquote>]]></description>
      <pubDate>Mon, 11 Dec 2006 10:26:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Douglas Clifton's Blog: Authenticating a Googlebot in PHP and Perl]]></title>
      <guid>http://www.phpdeveloper.org/news/6342</guid>
      <link>http://www.phpdeveloper.org/news/6342</link>
      <description><![CDATA[<p>
On his site, blogZero, <i>Douglas Clifton</i> shares <a href="http://loadaveragezero.com/app/s9y/index.php?/archives/135-Authenticating-a-Gooblebot-in-PHP-and-Perl.html">his method</a> for authenticating a Googlebot in both Perl and PHP. Basicslly, making sure that the bot hitting your server with the user agent containing Google is, in actuality, really from the search engine.
</p>
<blockquote>
<p>
Following a <a href="http://www.maxdesign.com.au/2006/09/23/some-links-97/">tip</a> from <a href="http://loadaveragezero.com/drx/author/R#a21>Russ</a> I was pleased to find an interesting post on the Official Google Webmaster Central Blog titled <a href="http://googlewebmastercentral.blogspot.com/2006/09/how-to-verify-googlebot.html">How to verify Googlebot</a>. In a nutshell, it explains how to use the <a href="http://loadaveragezero.com/app/drx/Software/Operating_Systems/Unix">Unix</a> shell program <a href="http://www.freebsd.org/cgi/man.cgi?query=host">host</a> to authenticate that an IP address copied from your Web <a href="http://loadaveragezero.com/app/drx/Internet/WWW/Servers">server</a> log file really is a Googlebot and not some email harvester (or whatever).
</p>
I decided to take this a step further and demonstrate how you can automate this procedure using a scripting language. 
</p>
</blockquote>
<p>
He <a href="http://loadaveragezero.com/app/s9y/index.php?/archives/135-Authenticating-a-Gooblebot-in-PHP-and-Perl.html">looks at methods</a> using both programming languages and decides on showing off the PHP version first. It uses a simple method, made even easier by two of PHP's internal functions, <a href="http://www.php.net/gethostbyname">gethostbyname</a> and <a href="http://www.php.net/gethostbyaddr">gethostbyaddr</a>. The Perl version relies less of the "higher level" that PHP's functions use and opts for making an actual Socket object to handle the incoming request.
</p>]]></description>
      <pubDate>Mon, 25 Sep 2006 07:14:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hiveminds Magazine: What Makes a Web Scripting Language Successful]]></title>
      <guid>http://www.phpdeveloper.org/news/6325</guid>
      <link>http://www.phpdeveloper.org/news/6325</link>
      <description><![CDATA[<p>
On Hiveminds Magazine's site today, there's <a href="http://web2announcer.com/go/10515">a new article</a> that asks the question "what makes a web language successful?"
</p>
<blockquote>
<p>
PHP, Classic ASP and ASP.NET, and soon Ruby owe their success to shared web hosting. I honestly believe that shared hosting is more important than being "enterprise ready" when it comes to web development.
</p>
<p>
Shared hosting is the reason that the internet became an economic force. So why is it that certain parts of the IT world ignore shared hosting and it's needs?
</p>
</blockquote>
<p>
They <a href="http://web2announcer.com/go/10515">explain what they mean</a> by noting that Java isn't what shared hosts need, Python isn't quite there yet, and Perl is still a bit more difficult to use in a web environment. They even look at what it would take for these languages to become more "PHP-like" and really get to that next stage of web development popularity.
</p>]]></description>
      <pubDate>Thu, 21 Sep 2006 07:24:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ligaya Turmelle's Blog: 25 Ways to help out PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/5997</guid>
      <link>http://www.phpdeveloper.org/news/5997</link>
      <description><![CDATA[<p>
Sometimes, all someone needs is a path to follow when they're looking to help out a project. That's why <i>Ligaya Turmelle</i> has posted <a href="http://www.khankennels.com/blog/index.php/archives/2006/08/10/25-ways-to-help-out-php/">this great list</a> of ways that you can help out PHP and its surrounding projects (like PEAR).
</p>
<p>
Main items on the list are:
<ul>
<li>General ways to help
<li>Helping the QA team
<li>Helping with PEAR
<li>Helping with the Documentation
<li>Helping via Perl (extensions)
<li>Heliping with the PHP Core
</ul>
</p>
<p>
Under each of <a href="http://www.khankennels.com/blog/index.php/archives/2006/08/10/25-ways-to-help-out-php/">these main points</a> there are several sub-points for even more ideas of places to get involved. It's a great list, and you can get even more information on helping in an area by clicking on its title to be taken to the official page.
</p>]]></description>
      <pubDate>Thu, 10 Aug 2006 07:19:49 -0500</pubDate>
    </item>
  </channel>
</rss>
