<?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>Fri, 03 Jul 2009 18:08:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPFreaks.com: 10 Signs of Crappy PHP Software]]></title>
      <guid>http://www.phpdeveloper.org/news/12807</guid>
      <link>http://www.phpdeveloper.org/news/12807</link>
      <description><![CDATA[<p>
On PHPFreaks.com they have <a href="http://www.phpfreaks.com/blog/10-signs-of-crappy-php-software">a new "top ten" list</a> of signs to look out for to tell if you're dealing with crappy software or not.
</p>
<blockquote>
Like it or not, as a professional developer, sooner or later you are going to do some customising (if you are lucky, "extending") of existing software. If you are not familiar with the software, it is good advice to look into it before accepting the job. I had to learn that the hard way. But how do you recognize crappy applications without getting knee deep into the code?
</blockquote>
<p>Their list of signs include:</p>
<ul>
<li>The software tries to reinvent the object model, or "fix" language features.
<li>Scattered HTML and SQL
<li>Multiple levels of inheritance
<li>In the code base, there is a directory called "core"
</ul>]]></description>
      <pubDate>Fri, 03 Jul 2009 17:51:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PEAR Blog: PHP 5.3 Windows and PEAR (go-pear.phar)]]></title>
      <guid>http://www.phpdeveloper.org/news/12806</guid>
      <link>http://www.phpdeveloper.org/news/12806</link>
      <description><![CDATA[<p>
The PEAR blog has <a href="http://blog.pear.bluga.net/2009/07/01/php-53-windows-and-pear/">a quick note</a> for users of PHP 5.3 and Windows:
</p>
<blockquote>
Some users have reported that the windows builds of PHP 5.3 are not able to open the shipped go-pear.phar file.
</blockquote>
<p>
If this is your situation, you can use their workaround (run the distributed phar version) or grab the <a href="http://pear.php.net/go-pear">non-pharred version</a>.
</p>]]></description>
      <pubDate>Fri, 03 Jul 2009 16:20:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Status Codes for Web Services]]></title>
      <guid>http://www.phpdeveloper.org/news/12805</guid>
      <link>http://www.phpdeveloper.org/news/12805</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has posted <a href="http://www.lornajane.net/posts/2009/Status-Codes-for-Web-Services">the last article</a> in her look at web services - a focus on status codes.
</p>
<blockquote>
Unlike the other posts in this series, this one is quite specific to one type of service - REST - since it deals with status codes, specifically HTTP ones. The ideas are transferrable however and other types of service can return statuses in a similar way.
</blockquote>
<p>
She mentions things to keep in mind in returning the codes, some of the more interesting codes as well as some typical situations where things like an error code 500 would be thrown.
</p>
<blockquote>
Status codes are like a headline to the calling entity about what happened, and are a valuable tool in the web service toolkit.
</blockquote>]]></description>
      <pubDate>Fri, 03 Jul 2009 15:44:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Oracle Technology Network: High Performance and Availability with Oracle RAC and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12804</guid>
      <link>http://www.phpdeveloper.org/news/12804</link>
      <description><![CDATA[<p>
<i>John Lim</i> has <a href="http://www.oracle.com/technology/pub/articles/lim-php-rac.html">written up an article</a> for the Oracle Technology Network about creating high performance systems with Oracle's Real Application Clusters (RAC) and PHP.
</p>
<blockquote>
Running a software application that is able to work reliably through hardware and software failures is incredibly hard. [...] In this article, I will cover the network, architecture and design of our RAC application. Then I will discuss the real-world experiences and problems we experienced.
</blockquote>
<p>
He details their RAC setup - load balancers, application servers and their RAC servers - before working through the different technologies and how they're all installed and configured to work together most efficiently.
</p>]]></description>
      <pubDate>Fri, 03 Jul 2009 14:12:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Using the spl_autoload() Functions to Build Loader Apps in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12803</guid>
      <link>http://www.phpdeveloper.org/news/12803</link>
      <description><![CDATA[<p>
In the <a href="http://www.devshed.com/c/a/PHP/Using-the-splautoload-Functions-to-Build-Loader-Apps-in-PHP">next to last article</a> of their loader series, DevShed looks at replacing some of the file loading functionality in their examples with functions from the SPL.
</p>
<blockquote>
As I mentioned before, the Standard PHP library comes bundled with some helpful functions, such as "spl_autoload()," "spl_register_extension()" and "spl_autoload_register()" that allow you to either use a default implementation of the "__autoload()" function, or create a custom one for it.
</blockquote>
<p>
Their <a href="http://www.devshed.com/c/a/PHP/Using-the-splautoload-Functions-to-Build-Loader-Apps-in-PHP/2/">example</a> defines the extensions to use for autoloading and the name of the file/class to pull in. The rest is done automagically.
</p>]]></description>
      <pubDate>Fri, 03 Jul 2009 08:26:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Site News: Popular Posts for the Week of 07.03.2009]]></title>
      <guid>http://www.phpdeveloper.org/news/12802</guid>
      <link>http://www.phpdeveloper.org/news/12802</link>
      <description><![CDATA[Popular posts from PHPDeveloper.org for the past week:<ul><li><a href="http://phpdeveloper.org/news/12771">Community News: PHP Group Responds to Google's "Speed Tips" Recommendations</a>
<li><a href="http://phpdeveloper.org/news/12762">PHP 10.0 Blog: PHP performance tips from Google</a>
<li><a href="http://phpdeveloper.org/news/12767">SitePoint PHP Blog: A Note on Google's So-called Best Practices</a>
<li><a href="http://phpdeveloper.org/news/12769">php|architect Blog: Confessions of a Hiring Manager: Get my attention, Get a Job</a>
<li><a href="http://phpdeveloper.org/news/12763">NETTUTS.com: Easy Development With CodeIgniter</a>
<li><a href="http://phpdeveloper.org/news/12765">Make Me Pulse Blog: Connect to Active Directory LDAP with PHP</a>
<li><a href="http://phpdeveloper.org/news/12768">Zend Developer Zone: Accepting Credit Card Payments with OXID eShop CE and Authorize.Net</a>
<li><a href="http://phpdeveloper.org/news/12766">Paul Jones' Blog: Scalable Internet Architecture</a>
<li><a href="http://phpdeveloper.org/news/12792">PHP & jQuery: Calendars</a>
<li><a href="http://phpdeveloper.org/news/12764">Stefan Mischook's Blog: PHP Video: Controllers in MVC</a>
</ul>]]></description>
      <pubDate>Fri, 03 Jul 2009 07:02:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP North West 2009 Website Launch]]></title>
      <guid>http://www.phpdeveloper.org/news/12801</guid>
      <link>http://www.phpdeveloper.org/news/12801</link>
      <description><![CDATA[<p>
The PHP North West group has officially launched <a href="http://conference.phpnw.org.uk/phpnw09/">the website</a> for this year's event - PHP North West 2009:
</p>
<blockquote>
We're proud to announce the second edition of the PHP North West Conference, to be held on Saturday 10th October, 2009. Following from last year's successful debut, this event returns to bring a great mix of speakers and community from the north of England and beyond. With a local feel, there will be a packed day of talks from a range of speakers, socials Friday and Saturday night, and informal sessions running on Sunday for those making a weekend of it. We hope to see you there!
</blockquote>
<p>
The site currently has links to their <a href="http://conference.phpnw.org.uk/phpnw09/?p=47">registration</a>, <a href="http://conference.phpnw.org.uk/phpnw09/?p=50">Call for Papers</a> and <a href="http://conference.phpnw.org.uk/phpnw09/?p=46">resources to use when linking to conference</a>.
</p>]]></description>
      <pubDate>Thu, 02 Jul 2009 13:03:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebReference.com: XML and PHP Simplified]]></title>
      <guid>http://www.phpdeveloper.org/news/12800</guid>
      <link>http://www.phpdeveloper.org/news/12800</link>
      <description><![CDATA[<p>
New on WebReference.com is <a href="http://www.webreference.com/authoring/languages/xml/XML_and_PHP_Simplified/index.html">this look</a> (part of a series) at working with XML in PHP, this time it's specifically covering the DOM functionality.
</p>
<blockquote>
With this series of articles, I will try to simplify and demystify the use and application of XML and the DOM. First, we will look at what XML is and then move on to what functions are available for use to manipulate and use XML.
</blockquote>
<p>
The tutorial introduces XML and gives a sample structure of a document and breaks it down to explain each of the parts. Following that they look at some of the XML-related functionality to create their sample XML file.
</p>]]></description>
      <pubDate>Thu, 02 Jul 2009 11:54:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Vinu Thomas' Blog: Saving Data into Excel the Easy Way using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12799</guid>
      <link>http://www.phpdeveloper.org/news/12799</link>
      <description><![CDATA[<p>
<i>Vinu Thomas</i> has <a href="http://blogs.vinuthomas.com/2009/07/01/saving-data-into-excel-the-easy-way-using-php/">a new post</a> to his blog looking at using the <a href="http://www.phpclasses.org/browse/package/1919.html">MS-Excel Stream Handler</a> class to push your data out to Excel (in more than just a CSV file).
</p>
<blockquote>
If you're looking for an easy way to output your data from a PHP script into a Excel file, you've got to check out this script <a href="http://www.phpclasses.org/browse/package/1919.html"MS-Excel Stream Handler</a> which I came across at the <a href="http://www.phpclasses.org/">PHP Classes</a> site. What this script essentially does is to implement a stream handler interface to write Microsoft Excel spreadsheet files.
</blockquote>
<p>
Code snippets are included showing how to structure the data for the import and how to push that generated Excel file out to the user's waiting client.
</p>]]></description>
      <pubDate>Thu, 02 Jul 2009 10:18:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ilia Alshanetsky's Blog: Type hinting for PHP 5.3]]></title>
      <guid>http://www.phpdeveloper.org/news/12798</guid>
      <link>http://www.phpdeveloper.org/news/12798</link>
      <description><![CDATA[<p>
One of the features included in the PHP 5.x releases is type hinting for validating that you have the right values for your functions and methods coming in. In <a href="http://ilia.ws/archives/205-Type-hinting-for-PHP-5.3.html">this new post</a> to his blog <i>Ilia Alshanetshy</i> takes a look at the the feature and gives a patch to add it .
</p>
<blockquote>
On a general level most people agree it would be a good idea to have, since it is an optional feature and does not introduce any regressions, heck you can even mix type hinted code with the non-type hinted one. The "PROBLEM" has always been combining of PHP's typeless nature with type hinting, which is where the consensus has been difficult (impossible) to reach.
</blockquote>
<p>
He mentions an example of why its such an issue (technically, both 1 and "1" are valid numbers) and includes <a href="http://ia.gd/patch/type_hint_53.txt">a link to a patch</a> that gives a new hint to help with the problem.
</p>]]></description>
      <pubDate>Thu, 02 Jul 2009 09:46:18 -0500</pubDate>
    </item>
  </channel>
</rss>
