<?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, 07 Sep 2008 09:19:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Why Should I Care What Server My Application is Running On?]]></title>
      <guid>http://www.phpdeveloper.org/news/10609</guid>
      <link>http://www.phpdeveloper.org/news/10609</link>
      <description><![CDATA[<p>
On the Zend Developer Zone there's a <a href="http://devzone.zend.com/article/3692-Why-Should-I-Care-What-Server-My-Application-is-Running-On">new article</a> that looks to answer the question in its title - "Why should I care what server my application is running on?" (by <i>Eddo Rotman</i>)
</p>
<blockquote>
Imagine this - you develop an application on your machine and then, when you come to deploy it to the production server, all of a sudden, you encounter various errors and failures. Or maybe, when you decide to switch your hosting provider, your application stops behaving the way it should. How about this -... one day, out of the blue (well, out of your IT manager's whim) your application just misbehaves. Sounds familiar?
</blockquote>
<p>
Times like can never be completely avoided (yes, there'll always be bugs) but you can take some steps to help prevent most of the major failing points. He points out some of the key configuration directives to watch out for, differences in some functions' responses based on the OS, and the differences in character sets between a unix-based and Windows based environment (like rn versus just n).
</p>]]></description>
      <pubDate>Tue, 15 Jul 2008 13:12:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Priebsch's Blog: TDD in a self-experiment]]></title>
      <guid>http://www.phpdeveloper.org/news/10489</guid>
      <link>http://www.phpdeveloper.org/news/10489</link>
      <description><![CDATA[<p>
<i>Stefan Priebsch</i> has posted <a href="http://inside.e-novative.de/archives/121-TDD-in-a-self-experiment.html">an overview</a> of some of his experiences with test-driven development in PHP. Specifically, he talks about it in the context of a small CMS he's been working up.
</p>
<blockquote>
The CMS I am using is a small engine that puts together (potentially multi-lingual) page content, templates, and a site structure, and creates semi-static pages. It does not have a sleek GUI frontend, because by nature I am not afraid of a text editor, and most of the time get quicker results by just writing HTML than fighting with one of these what-you-see-is-what-you-might-get HTML editors.
</blockquote>
<p>
He talks about the configuration files containing the app's settings (inspired by the YAML Symfony uses) and his work towards the "best matching pattern" algorithm. This is where the TDD came in - he cheated a little with some base classes (tests first!) and then came up with the tests for checking template names and more complex template interactions.
</p>
<p>
<a href="http://inside.e-novative.de/archives/121-TDD-in-a-self-experiment.html">The post</a> includes drops of code here and there as well - examples of the unit tests and of the configuration files.
</p>]]></description>
      <pubDate>Thu, 26 Jun 2008 07:57:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: YAML in symfony 1.1]]></title>
      <guid>http://www.phpdeveloper.org/news/10442</guid>
      <link>http://www.phpdeveloper.org/news/10442</link>
      <description><![CDATA[<p>
<a href="http://www.symfony-project.org/blog/2008/06/19/yaml-in-symfony-1-1">This new post</a> on the Symfony blog today looks at using the framework's built-in support for the YAML format. They include a few examples of the code to make the files and how to use them.
</p>
<blockquote>
Here is a short tutorial about my discovery of the new YAML parsing library that comes with symfony 1.1. As you may know, YAML files are a place symfony developers spend time writing configuration, it is very important they have a good tool to manipulate data and debug files.
</blockquote>
<p>
They include code showing how to pull in a sample file, access the properties inside of it and how to take a multi-dimensional PHP array and push it back out (automagically) into a new YAML formatted file.
</p>]]></description>
      <pubDate>Thu, 19 Jun 2008 11:18:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings Blog: Off-The-Shelf Server Setup]]></title>
      <guid>http://www.phpdeveloper.org/news/10306</guid>
      <link>http://www.phpdeveloper.org/news/10306</link>
      <description><![CDATA[<p>
On the Ibuildings blog, <i>Ian Barber</i> has <a href="http://www.ibuildings.com/blog/archives/1021-Off-The-Shelf-Server-Setup.html">a reminder</a> to PHP developers out there used to their servers "just working" because of the popularity of LAMP. He recommends digging a little deeper to the "behind the scenes" of how the server is configured.
</p>
<blockquote>
PHP programmers generally know what a good systems architecture should look like, but it is often a reality of development that they will have little input on the system itself until the last minute. In fact, it's far from uncommon for a developer to be faced with an off-the-shelf dedicated LAMP server, and left up to their own devices.
</blockquote>
<p>
He recommends getting to know things like the package manager for your distribution (apt, yum, yast, etc), stripping down the modules your installation is using, check that all of the packages in use need to be enabled and ensure that the network connection is set up correctly and is what you need for the site.
</p>]]></description>
      <pubDate>Fri, 30 May 2008 08:43:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Eirik Hoem's Blog: Simple config management for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10304</guid>
      <link>http://www.phpdeveloper.org/news/10304</link>
      <description><![CDATA[<p>
In <a href="http://blog.eirikhoem.net/index.php/2008/05/30/simple-config-management-for-php/">a new post</a> to his blog today, <i>Eirik Hoem</i> gives an example of using the parse_ini_file function to work with .ini files as configuration for your application.
</p>
<blockquote>
When doing complex applications it's often nice to have some sort of system for handling settings. PHP has a nice function called parse_ini_file which can be used to create a basic but still usable setting file feature. A simple class which loads the configuration file and offers some methods to retrieve the values for a given key is all that's needed.
</blockquote>
<p>
His example code gives a sample ini file with database connection information and a MyConfigClass that parses the file and can get or set values in it.
</p>
]]></description>
      <pubDate>Fri, 30 May 2008 07:54:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Synchronizing Drupal Modules with Adobe AIR]]></title>
      <guid>http://www.phpdeveloper.org/news/10167</guid>
      <link>http://www.phpdeveloper.org/news/10167</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, there's a <a href="http://devzone.zend.com/article/3447-Synchronizing-Drupal-Modules-with-Adobe-AIR">new article/tutorial showing how to keep things in sync on your Drupal installation with the help of <a href="http://www.adobe.com/products/air/">Adobe AIR</a>.
</p>
<blockquote>
Whether you're an enterprise developer working in a large shop or setting up a blog for yourself, you've almost certainly been tasked with keeping your development code in sync with some type of stable release. Whether a project is big or small, you still need to ensure that the core code you work with remains consistent.
</blockquote>
<p>
<a href="http://devzone.zend.com/article/3447-Synchronizing-Drupal-Modules-with-Adobe-AIR">The tutorial</a> walks you through the setup of a basic AIR application, how to pull the configuration XML into it and parsing it to use in the interface. The next step is the sync, grabbing your config and pushing it out to other multiple configs across your sites (via a REST service).
</p>]]></description>
      <pubDate>Tue, 13 May 2008 07:58:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEveryDay.com: New Tutorials Added (Drupal)]]></title>
      <guid>http://www.phpdeveloper.org/news/10098</guid>
      <link>http://www.phpdeveloper.org/news/10098</link>
      <description><![CDATA[<p>
PHPEveryDay.com has posted a few more tutorials today covering configuring Drupal for your site:
</p>
<ul>
<li><a href="http://www.phpeveryday.com/articles/Drupal-Configuration-Site-Maintenance-P606.html">Drupal Configuration: Site Maintenance</a>
<li><a href="http://www.phpeveryday.com/articles/Drupal-Configuration-File-System-P605.html">Drupal Configuration: File System</a>
<li><a href="http://www.phpeveryday.com/articles/Drupal-Configuration-Boosting-performance-by-Caching-P604.html">Drupal Configuration: Boosting performance by Caching</a>
<li><a href="http://www.phpeveryday.com/articles/Drupal-Configuration-Setting-Date-and-Time-P603.html">Drupal Configuration: Setting Date and Time</a>
<li><a href="http://www.phpeveryday.com/articles/Drupal-Configuration-Looking-Error-Report-Log-P602.html">Drupal Configuration: Looking Error Report Log</a>
<li><a href="http://www.phpeveryday.com/articles/Drupal-Configuration-Error-Handling-P601.html">Drupal Configuration: Error Handling</a>
<li><a href="http://www.phpeveryday.com/articles/Drupal-Configuration-General-Setting-P600.html">Drupal Configuration: General Setting</a>
<li><a href="http://www.phpeveryday.com/articles/Drupal-Configuration-Login-to-Administration-Page-P599.html">Drupal Configuration: Login to Administration Page</a>
</ul>
<p>
Check out <a href="http://www.phpeveryday.com">PHPEveryDay</a> for more great PHP-related tutorials.
</p>]]></description>
      <pubDate>Fri, 02 May 2008 10:26:25 -0500</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[Carsten Lucke's Blog: Configuration issues with Xdebug on Debian Etch]]></title>
      <guid>http://www.phpdeveloper.org/news/9547</guid>
      <link>http://www.phpdeveloper.org/news/9547</link>
      <description><![CDATA[<p>
For anyone that's had an issue with getting XDebug to work with the Debian linux distribution, you might want to check out <a href="http://blog.lucke.info/2008/01/30/configuration-issues-with-xdebug-on-debian-etch/">this helpful hint</a> <i>Carsten Lucke</i> has posted about.
</p>
<blockquote>
This week I started to setup a Debian-based (Etch) web-server with PHP 5.2 in a virtual-machine with VMWare. Part of this setup was getting XDebug2 integrated. It's really awesome and my students definitely need to learn about it. [...] Building went well as usual but when I tried to integrate the extension inside php.ini it was all weird.
</blockquote>
<p>
His system kept throwing him an error when he tried to load the shared module using the zend_extension directive, hand things happened. Loading it normally worked (so he knew it wasn't the module) and he finally figured out the problem:
</p>
<blockquote>
But I need to enable it as Zend extension. Whatever. I finally used the full path to xdebug.so to load it [...] that worked. 
</blockquote>]]></description>
      <pubDate>Fri, 01 Feb 2008 12:44:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Why you should be using YAML for config]]></title>
      <guid>http://www.phpdeveloper.org/news/9497</guid>
      <link>http://www.phpdeveloper.org/news/9497</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has a <a href="http://www.developertutorials.com/blog/server-side-scripting/php/why-you-should-be-using-yaml-for-config-8/">new post</a> mentioning the use of YAML structure for creating configuration files in your application.
</p>
<blockquote>
YAML, or YAML Ain't Markup Language, is a "human friendly data serialization standard". It's essentially a very basic format for storing data, and uses far less syntax than standard PHP. [...] It's almost like English; it's as basic as you want. Of course, that's not to say it doesn't support complex structures - this example demonstrates the power of the format.
</blockquote>
<p>
He also points out the <a href="http://spyc.sourceforge.net/">spyc extension</a> that makes working with the files in PHP a breeze.
</p>]]></description>
      <pubDate>Fri, 25 Jan 2008 11:22:00 -0600</pubDate>
    </item>
  </channel>
</rss>
