<?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, 08 Aug 2008 16:17:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SaniSoft Blog:  Help! vendor() is deprecated.]]></title>
      <guid>http://www.phpdeveloper.org/news/10160</guid>
      <link>http://www.phpdeveloper.org/news/10160</link>
      <description><![CDATA[<p>
On the SaniSoft blog today, <i>Tarique Sani</i> has a <a href="http://www.sanisoft.com/blog/2008/05/10/help-vendor-is-deprecated/">quick hack</a> for CakePHP users needing to transition over from the deprecated vendor() call - import().
</p>
<blockquote>
Use of vendor() function to load third party libs in CakePHP has been deprecated for some time now... It has been replaced with the more generic App::import() the usage is simple.
</blockquote>
<p>
There's also a little trick you'll need to know for files with underscores (drop it and replace with an uppercase) and how to get it to be a bit more flexible and recognize vendor files in subdirectories or ones differently named.
</p>]]></description>
      <pubDate>Mon, 12 May 2008 09:35:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Antoine Ughetto's Blog: Easy way to find a file in subdirectory with php]]></title>
      <guid>http://www.phpdeveloper.org/news/9652</guid>
      <link>http://www.phpdeveloper.org/news/9652</link>
      <description><![CDATA[<p>
<i>Antoine Ughetto</i> has <a href="http://blog.makemepulse.com/2008/02/18/tips-easy-way-to-find-a-file-in-subdirectory-with-php/">posted an easy way</a> to find a file inside any series of subdirectories with PHP:
</p>
<blockquote>
I've made a previus post on SPL <a href="http://blog.makemepulse.com/2008/02/11/tips-recursivearrayiterator-on-mulitdimensional-array/">using RecursiveIterator to parse Array</a>. Today we will use this same RecursiveIterator with a DirectoryRecursiveIterator.
</blockquote>
<p>
The code is pretty simple and straight forward - a DirectorySearch class that takes in the directory name and recurses through the files and subdirectories to locate the file you're looking for. 
</p>]]></description>
      <pubDate>Mon, 18 Feb 2008 11:15:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[The Bakery: LightTPD and CakePHP setup in subdirectories]]></title>
      <guid>http://www.phpdeveloper.org/news/7120</guid>
      <link>http://www.phpdeveloper.org/news/7120</link>
      <description><![CDATA[<p>
In <a href="http://bakery.cakephp.org/articles/view/164">this new tutorial</a> over on The Bakery, <i>Anton Bobrov</i> walks you through a process he discovered to get LightTPD and CakePHP setup in a subdirectory on his site.
</p>
<blockquote>
I faced the challenge to install CakePHP under LightTPD. All works smoothly as long as I deploy projects in document root of domain. But when I want to setup CakePHP in subdir all goes wrong.
</blockquote>
<p>
Basically, <a href="http://bakery.cakephp.org/articles/view/164">the tutorial</a> involves changing some configuration options in the lighttpd to help it understand the correct routing for the CakePHP application. He even includes <a href="http://bakery.cakephp.org/articles/download_code/164/block/1">a download</a> of the updates to make a drag & drop upgrade easier.
</p>]]></description>
      <pubDate>Thu, 18 Jan 2007 10:04:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ligaya Turmelle's Blog: Quick snip (or Zend Framework in a Subdirectory)]]></title>
      <guid>http://www.phpdeveloper.org/news/6835</guid>
      <link>http://www.phpdeveloper.org/news/6835</link>
      <description><![CDATA[<p>
As <i>Ligaya Turmelle</i> discovered when trying to work with the <a href="http://framework.zend.com">Zend Framework</a> in a subdirectory, it doesn't want to play nice. After poking around a bit, though, she discovered a solution in the Zend_Controller_RewriteRoute package.
</p>
<blockquote>
I am using a subfolder of web root to play with the ZF and was having troubles getting my controller to go to the correct place. After considering hacking both the Apache doc root and the actual Zend_Controller_Router code and writing a patch, I stumbled on the answer - Zend_Controller_RewriteRouter.
</blockquote>
<p>
She <a href="http://www.khankennels.com/blog/index.php/archives/2006/12/06/quick-snip/">includes the quick code</a> that acts as a patch for the framework, letting it know that the directory it should be rewriting to isn't the root of the domain.
</p>]]></description>
      <pubDate>Wed, 06 Dec 2006 09:44:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Dmytro Shteflyuk's Blog: Zend Framework - Router for subdirectory-based site]]></title>
      <guid>http://www.phpdeveloper.org/news/4954</guid>
      <link>http://www.phpdeveloper.org/news/4954</link>
      <description><![CDATA[<i>Dmytro Shteflyuk</i> has posted <a href="http://kpumuk.info/php/zend-framework-router-for-subdirectory-based-site/">some his his experiences</a> with the Zend Framework already, specifically in dealing with subdirectory issues.
<p>
<quote>
<i>
I started discovering of Zend Framework and was confronted with a problem. When I've placed my test sample into site's subdirectory (http://localhost/test/), default router tried to find TestController which is not exists of course and routed me to IndexController/noRoute. It's not good for me. I decided to create my own router.
</i>
</quote>
<p>
He <a href="http://kpumuk.info/php/zend-framework-router-for-subdirectory-based-site/">gives the code</a> he created to make the routing system work, using the Zend_Controller_Router_Interface and Zend_Controller_Front packages to handle the incoming requests.
]]></description>
      <pubDate>Wed, 08 Mar 2006 07:36:39 -0600</pubDate>
    </item>
  </channel>
</rss>
