<?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 23:23:14 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SugarCRM Developers Blog: Enabling IMAP support under OS X Leopard]]></title>
      <guid>http://www.phpdeveloper.org/news/10919</guid>
      <link>http://www.phpdeveloper.org/news/10919</link>
      <description><![CDATA[<p>
<i>John Mertic</i> passed along a note about a <a href="http://developers.sugarcrm.com/wordpress/2008/08/26/enabling-imap-support-under-os-x-leopard/">new post to the SugarCRM developers  blog</a> detailing how to enable IMAP support for PHP on an OS X machine.
</p>
<blockquote>
With the release of Mac OS X 10.5 Leopard last fall, Apple (finally) included a modern version of PHP (currently version 5.2.6 as of this writing). [...] However, the default install of PHP that Apple included didn't include all of the available PHP extensions. Most notable is the IMAP extension, which is used in SugarCRM for the Campaigns and Emails modules. However you can build this extension and have it loaded dynamically, without affecting the rest of the default PHP install.
</blockquote>
<p>
He shows where to get the packages and libraries you'll need to get the support working. The method involves building a shared module and including it to be loaded in your php.ini. This way it doesn't disrupt anything the current build has and you don't have to recompile everything over again.
</p>]]></description>
      <pubDate>Thu, 28 Aug 2008 12:05:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials: Drupal CMS e-Commerce Module Basics]]></title>
      <guid>http://www.phpdeveloper.org/news/10875</guid>
      <link>http://www.phpdeveloper.org/news/10875</link>
      <description><![CDATA[<p>
On the Developer Tutorials site today, there's <a href="http://www.developertutorials.com/tutorials/miscellaneous/drupal-cms-e-commerce-module-basics-8-08-20/page1.html">a new look</a> at working with the <a href="http://drupalecommerce.org/">Drupal e-Commerce</a> module in your Drupal installation.
</p>
<blockquote>
What if you [also] want to support collaborative editing of content, community forums, and other capabilities that could help increase traffic to your site, but are usually only found in content management systems (CMSs)? Is it possible to combine the best of both worlds - shopping carts and CMSs? Fortunately, the answer is yes, if you choose a world-class CMS such as Drupal as a foundation for your site.
</blockquote>
<p>
They walk you through how to get <a href="http://drupalecommerce.org/">the module</a> installed, how to configure it to match with your site's layout and flow and how to hook the purchase process into PayPal to make purchasing a few simple user clicks away.
</p>]]></description>
      <pubDate>Thu, 21 Aug 2008 10:21:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: Loading models within modules in the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/10818</guid>
      <link>http://www.phpdeveloper.org/news/10818</link>
      <description><![CDATA[<p>
On the PHP::Impact blog today <i>Federico</i> takes a look at <a href="http://phpimpact.wordpress.com/2008/08/12/loading-models-within-modules-in-the-zend-framework/">the history</a> of using models in components within the Zend Framework:
</p>
<blockquote>
More and more users are finding it difficult to load models within Zend Framework modules. This is strange, considering that modularity is an important design principle and its goal is to design systems that are easier to extend, understand, design and manage.
</blockquote>
<p>
He brings in quotes and examples from different developers' blogs talking about their use and brings it up to the present day with an example of using a Zend_Module_Front controller with a Zend_Module_Action in a simple example of a module-specifc method for using a model.
</p>]]></description>
      <pubDate>Wed, 13 Aug 2008 07:56:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: Run PHP scripts with different users on the same server]]></title>
      <guid>http://www.phpdeveloper.org/news/10811</guid>
      <link>http://www.phpdeveloper.org/news/10811</link>
      <description><![CDATA[<p>
On the PHP::Impact blog <i>Federico</i> has <a href="http://phpimpact.wordpress.com/2008/08/10/run-php-scripts-with-different-users-on-the-same-server/">posted a sort of reminder</a> about a method you can use to run PHP scripts as different users on the same system - <a href="http://www.suphp.org/">suPHP</a>.
</p>
<blockquote>
<a href="http://www.suphp.org/">suPHP</a> is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.
</blockquote>
<p>
suPHP runs as an Apache module and works with the local server's permission system to restrict script access to whatever the user's allowances are. He links to <a href="http://blog.stuartherbert.com/php/2008/01/18/using-suphp-to-secure-a-shared-server/">this tutorial</a> for more information on setting it up.
</p>]]></description>
      <pubDate>Tue, 12 Aug 2008 09:31:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Daniel Cousineau's Blog: Quickie: Module-specific Error Controllers in Zend Framework (1.5)]]></title>
      <guid>http://www.phpdeveloper.org/news/10808</guid>
      <link>http://www.phpdeveloper.org/news/10808</link>
      <description><![CDATA[<p>
<i>Daniel Cousineau</i> has posted <a href="http://feeds.feedburner.com/~r/toosweettobesour/HrtK/~3/362110881/">a "quickie"</a> over on his blog today dealing with error controllers in a Zend Framework application.
</p>
<blockquote>
In my quest to do some alterations on ZF error handling (in particular, render the view if the action or controller is not found, makes it real easy for my designer to prototype) I had the desire to be able to allow modules to have their own ErrorControllers. Unfortunately, the Zend_Controller_Plugin_ErrorHandler() default does not allow for this and I didn't really want to extend that class (I planned on handling the rendering in the ErrorControllers) so I wrote up a quick plugin.
</blockquote>
<p>
His plugin (code included in the post) hooks into the routeShutdown part of the routing process and overrides the default error handler for the module to pass the request off to his custom one.
</p>]]></description>
      <pubDate>Tue, 12 Aug 2008 07:56:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dhiraj Patra's Blog: Running PHP Scripts with Cron]]></title>
      <guid>http://www.phpdeveloper.org/news/10761</guid>
      <link>http://www.phpdeveloper.org/news/10761</link>
      <description><![CDATA[<p>
<i>Dhiraj Patra</i> has <a href="http://dhirajpatra.blogspot.com/2008/08/running-php-scripts-with-cron.html">posted a tutorial</a> to his "LAM-PHP" blog today looking at a different-than-usual way for running PHP scripts - in the cron.
</p>
<blockquote>
Lots of programmers like PHP for its ability to code and develop web applications fast. Code-debugging is a lot easier than with PERL or C. However, there is one thing a lot of developers are puzzled about, "How to run PHP Scripts with crontab?"
</blockquote>
<p>
He explains how cron can be used effectively to replace including a backend script into another file (bad practice) and how to get started with PHP and cron. He includes how to find if you're using a CGI or Apache version of PHP and how to locate the binary. He takes this knowledge and shows how to apply it and put a sample script into the cron file. You can check out sites like <a href="http://www.adminschoice.com/docs/crontab.htm">this</a> or <a href="http://www.unixgeeks.org/security/newbie/unix/cron-1.html">this</a> for more information on cron itself.
</p>]]></description>
      <pubDate>Tue, 05 Aug 2008 08:45:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: Zend Framework: Encapsulating routes into modules]]></title>
      <guid>http://www.phpdeveloper.org/news/10757</guid>
      <link>http://www.phpdeveloper.org/news/10757</link>
      <description><![CDATA[<p>
On the PHP::Impact blog, <i>Federico Cargnelutti</i> has <a href="http://phpimpact.wordpress.com/2008/08/03/zend-framework-encapsulating-routes-into-modules/">another helpful tip</a> to use in Zend Framework applications - encapsulating routes into modules.
</p>
<blockquote>
You can encapsulate routes into modules by <a href="http://phpimpact.wordpress.com/2008/07/15/improving-the-performance-of-zend_controller/">splitting the routes</a> into different files and extending the Zend_Controller_Router_Rewrite class. But, what if you want to use the <a href="http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.redirector">Redirector helper</a> to set a URL based on a registered route?
</blockquote>
<p>
His method creates the routing instance and overwrites the default getRoute method with a custom one in the extending class.
</p>]]></description>
      <pubDate>Mon, 04 Aug 2008 13:47:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: TDD with Symfony: The first test always fails]]></title>
      <guid>http://www.phpdeveloper.org/news/10528</guid>
      <link>http://www.phpdeveloper.org/news/10528</link>
      <description><![CDATA[<p>
On the PHP::Impact blog, <i>Federico Cargnelutti</i> has <a href="http://phpimpact.wordpress.com/2008/07/02/tdd-with-symfony-te-first-test-always-fails/">posted about</a> test-driven design, specifically with the Symfony framework.
</p>
<blockquote>
Symfony is one of the few PHP frameworks that gives you basic tools for starting to write tests. [...] Symfony also provides an extension of this class called sfTestBrowser, designed especially for functional tests, which has all the abilities of the sfBrowser object plus some smart assert methods.
</blockquote>
<p>
He uses this sfTestBrowser object to run an example test on a same get() call's response. It should match the regular expression of "/This is a temporary page/" but doesn't so it fails. Writing up tests like this for new parts of your application first would be considered test-driven development and the Symfony framework makes that simple.
</p>]]></description>
      <pubDate>Wed, 02 Jul 2008 09:33:26 -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[Padraic Brady's Blog: An Example Zend Framework Blog - Part 5: Models w/Zend_Db & an Admin Module]]></title>
      <guid>http://www.phpdeveloper.org/news/10087</guid>
      <link>http://www.phpdeveloper.org/news/10087</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> is on <a href="http://blog.astrumfutura.com/archives/358-An-Example-Zend-Framework-Blog-Application-Part-5-Creating-Models-with-Zend_Db-and-adding-an-Administration-Module.html">part five</a> of his series looking at making a blogging tool with the Zend Framework today. This time he focuses on the database side of things, working with models and making an admin module.
</p>
<blockquote>
First of all I decided to add an Entries Model and Authors Model to the mix, primarily to get ready for when we can add new entries to our blog. This leads to where we can create new Entries; we add an Administration Module to the application with it's own distinct Layout.
</blockquote>
<p>
He starts by making the database schema, an entries and authors table, before starting in on the models. They're made based off of the Zend_Db component's structure and they let the application interact with the data in the tables easily. His code for the modules is included as well as the controller and view for the admin module.
</p>]]></description>
      <pubDate>Thu, 01 May 2008 10:25:06 -0500</pubDate>
    </item>
  </channel>
</rss>
