<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>data/cache/.placeholder</filename>
    </added>
    <added>
      <filename>data/db/.placeholder</filename>
    </added>
    <added>
      <filename>library/.placeholder</filename>
    </added>
    <added>
      <filename>misc/schema/bugs.mysql.sql</filename>
    </added>
    <added>
      <filename>misc/schema/testData.mysql.sql</filename>
    </added>
    <added>
      <filename>scripts/testFetchRow.php</filename>
    </added>
    <added>
      <filename>tests/log/.placeholder</filename>
    </added>
    <added>
      <filename>tests/log/report/.placeholder</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,15 @@ showExceptions = false
 db.adapter = &quot;pdo_sqlite&quot;
 db.params.dbname = APPLICATION_PATH &quot;/../data/db/bugs.db&quot;
 
+;cache.path.backend.type = &quot;File&quot;
+;cache.path.backend.type = &quot;Sqlite&quot;
+;cache.path.backend.type = &quot;Apc&quot;
+;cache.path.backend.options.cache_dir = APPLICATION_PATH &quot;/../data/cache/path&quot;
+;cache.path.backend.options.cache_db_complete_path = APPLICATION_PATH &quot;/../data/cache/path.db&quot;
+cache.path.frontend.options.lifetime = 3600
+cache.path.frontend.options.caching = 1
+cache.path.frontend.options.automatic_serialization = 1
+
 [development : production]
 showExceptions = true
 </diff>
      <filename>application/config/site.ini</filename>
    </modified>
    <modified>
      <diff>@@ -4,4 +4,13 @@ class IndexController extends Zend_Controller_Action
     public function indexAction()
     {
     }
+
+    public function __call($method, $args)
+    {
+        if ('Action' == substr($method, -6)) {
+            echo &quot;Why is $method being called?&quot;;
+            return;
+        }
+        return parent::__call($method, $args);
+    }
 }</diff>
      <filename>application/controllers/IndexController.php</filename>
    </modified>
    <modified>
      <diff>@@ -39,6 +39,8 @@ class Bugapp_Plugin_Initialize extends Zend_Controller_Plugin_Abstract
         $this-&gt;_appPath = $appPath;
 
         $this-&gt;_front = Zend_Controller_Front::getInstance();
+
+        Zend_Locale::$compatibilityMode = false;
     }
 
     /**
@@ -49,12 +51,13 @@ class Bugapp_Plugin_Initialize extends Zend_Controller_Plugin_Abstract
      */
     public function routeStartup(Zend_Controller_Request_Abstract $request)
     {
-        $this-&gt;initDb();
-        $this-&gt;initHelpers();
-        $this-&gt;initView();
-        $this-&gt;initPlugins();
-        $this-&gt;initRoutes();
-        $this-&gt;initControllers();
+        // $this-&gt;initPathCache()
+        $this-&gt;initDb()
+             -&gt;initHelpers()
+             -&gt;initView()
+             -&gt;initPlugins()
+             -&gt;initRoutes()
+             -&gt;initControllers();
     }
 
     /**
@@ -68,36 +71,54 @@ class Bugapp_Plugin_Initialize extends Zend_Controller_Plugin_Abstract
     }
 
     /**
+     * Initialize the file map cache for Zend_Loader
+     * 
+     * @return Bugapp_Plugin_Initialize
+     */
+    public function initPathCache()
+    {
+        $pluginIncFile = $this-&gt;_appPath . '/../data/cache/plugins.inc.php';
+        if (file_exists($pluginIncFile)) {
+            include_once $pluginIncFile;
+        }
+        Zend_Loader::setIncludeFileCache($pluginIncFile);
+        Zend_Loader_PluginLoader::setIncludeFileCache($pluginIncFile);
+        return $this;
+    }
+
+    /**
      * Initialize DB
      * 
-     * @return void
+     * @return Bugapp_Plugin_Initialize
      */
     public function initDb()
     {
         $config = $this-&gt;_getConfig();
         if (!isset($config-&gt;db)) {
-            return;
+            return $this;
         }
 
         $db = Zend_Db::factory($config-&gt;db);
         Zend_Db_Table_Abstract::setDefaultAdapter($db);
         Zend_Registry::set('db', $db);
+        return $this;
     }
 
     /**
      * Initialize action helpers
      * 
-     * @return void
+     * @return Bugapp_Plugin_Initialize
      */
     public function initHelpers()
     {
         Zend_Controller_Action_HelperBroker::addPath($this-&gt;_appPath . '/controllers/helpers', 'Bugapp_Helper');
+        return $this;
     }
 
     /**
      * Initialize view and layout
      * 
-     * @return void
+     * @return Bugapp_Plugin_Initialize
      */
     public function initView()
     {
@@ -113,12 +134,14 @@ class Bugapp_Plugin_Initialize extends Zend_Controller_Plugin_Abstract
 
         // Initialize layouts
         Zend_Layout::startMvc($this-&gt;_appPath . '/layouts/scripts');
+
+        return $this;
     }
 
     /**
      * Initialize plugins
      * 
-     * @return void
+     * @return Bugapp_Plugin_Initialize
      */
     public function initPlugins()
     {
@@ -127,25 +150,28 @@ class Bugapp_Plugin_Initialize extends Zend_Controller_Plugin_Abstract
         ));
         $class = $loader-&gt;load('Auth');
         $this-&gt;_front-&gt;registerPlugin(new $class());
+        return $this;
     }
 
     /**
      * Initialize routes
      * 
-     * @return void
+     * @return Bugapp_Plugin_Initialize
      */
     public function initRoutes()
     {
+        return $this;
     }
 
     /**
      * Initialize controller directories
      * 
-     * @return void
+     * @return Bugapp_Plugin_Initialize
      */
     public function initControllers()
     {
         $this-&gt;_front-&gt;addControllerDirectory($this-&gt;_appPath . '/controllers/');
+        return $this;
     }
 
     /**</diff>
      <filename>application/plugins/Initialize.php</filename>
    </modified>
    <modified>
      <diff>@@ -11,5 +11,5 @@ RewriteCond %{REQUEST_FILENAME} -s [OR]
 RewriteCond %{REQUEST_FILENAME} -l [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^.*$ - [NC,L]
-RewriteRule ^.*$ /index.php [NC,L]
+RewriteRule ^.*$ index.php [NC,L]
 </diff>
      <filename>public/.htaccess</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,15 @@ $paths = array(
     get_include_path()
 );
 set_include_path(implode(PATH_SEPARATOR, $paths));
+
 require_once 'Zend/Loader.php';
+require_once 'Zend/Loader/PluginLoader.php';
+$pluginIncFile = APPLICATION_PATH . '/../data/cache/plugins.inc.php';
+if (file_exists($pluginIncFile)) {
+    include_once $pluginIncFile;
+}
+Zend_Loader_PluginLoader::setIncludeFileCache($pluginIncFile);
+
 Zend_Loader::registerAutoload();
 
 try {</diff>
      <filename>public/index.php</filename>
    </modified>
    <modified>
      <diff>@@ -35,7 +35,7 @@ class Model_BugTest extends PHPUnit_Framework_TestCase
      */
     public function setUp()
     {
-        $this-&gt;model = new Model_Bug();
+        $this-&gt;model = new Bugapp_Bug();
     }
 
     /**
@@ -52,7 +52,7 @@ class Model_BugTest extends PHPUnit_Framework_TestCase
     {
         $loader = $this-&gt;model-&gt;getPluginLoader();
         $this-&gt;assertTrue($loader instanceof Zend_Loader_PluginLoader);
-        $paths = $loader-&gt;getPaths('Model_Table');
+        $paths = $loader-&gt;getPaths('Bugapp_DbTable');
         $this-&gt;assertTrue(is_array($paths));
         $this-&gt;assertTrue(0 &lt; count($paths));
     }
@@ -61,11 +61,11 @@ class Model_BugTest extends PHPUnit_Framework_TestCase
     {
         $table = $this-&gt;model-&gt;getTable('Bug');
         $this-&gt;assertTrue($table instanceof Zend_Db_Table_Abstract);
-        $this-&gt;assertTrue($table instanceof Model_Table_Bug);
+        $this-&gt;assertTrue($table instanceof Bugapp_DbTable_Bug);
 
         $table = $this-&gt;model-&gt;getTable('ResolutionType');
         $this-&gt;assertTrue($table instanceof Zend_Db_Table_Abstract);
-        $this-&gt;assertTrue($table instanceof Model_Table_ResolutionType);
+        $this-&gt;assertTrue($table instanceof Bugapp_DbTable_ResolutionType);
     }
 
     public function testGetTypesShouldReturnHashOfIdsAndTypes()</diff>
      <filename>tests/Model/BugTest.php</filename>
    </modified>
    <modified>
      <diff>@@ -35,7 +35,7 @@ class Model_CommentTest extends PHPUnit_Framework_TestCase
      */
     public function setUp()
     {
-        $this-&gt;model = new Model_Comment();
+        $this-&gt;model = new Bugapp_Comment();
         $this-&gt;truncateTable();
     }
 </diff>
      <filename>tests/Model/CommentTest.php</filename>
    </modified>
    <modified>
      <diff>@@ -35,7 +35,7 @@ class Model_UserTest extends PHPUnit_Framework_TestCase
      */
     public function setUp()
     {
-        $this-&gt;model = new Model_User();
+        $this-&gt;model = new Bugapp_User();
         $this-&gt;truncateTable();
     }
 </diff>
      <filename>tests/Model/UserTest.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ee7ed60adbfe67ba0a51db0efe25e1801b89087b</id>
    </parent>
  </parents>
  <author>
    <name>Matthew Weier O'Phinney</name>
    <email>matthew@zend.com</email>
  </author>
  <url>http://github.com/weierophinney/bugapp/commit/de2c5aeecfe0986e83a1901c667228f4b7fbe0db</url>
  <id>de2c5aeecfe0986e83a1901c667228f4b7fbe0db</id>
  <committed-date>2008-12-10T20:20:04-08:00</committed-date>
  <authored-date>2008-12-10T20:20:04-08:00</authored-date>
  <message>Various tweaks and bugfixes;
addition of .placeholder files for directories that must exist</message>
  <tree>2032495290518df509f5d26fd5fffd56185c6580</tree>
  <committer>
    <name>Matthew Weier O'Phinney</name>
    <email>matthew@zend.com</email>
  </committer>
</commit>
