2009年3月28日星期六

[fw-mvc] Module Bootstrap with Zend_Application - error

Hi,

I worked with Zend_Application last 3 weeks.

I have now one problem with module bootstrap after switching to latest SVN version of ZF incubator.

Even with a very very simple mopdule bootstrap as:

<?php
class Admin_Bootstrap extends Zend_Application_Module_Bootstrap
{
    public function run()
    {
        $front = Zend_Controller_Front::getInstance();
        $this->front->dispatch();
    }
}

the application takes lot of time to load them is freezing. I tested over both Windows and Linux based environments.

Before of that the Zend_Application worked fine for me.

Has anyone a sample of module bootstrapping working with latest version from incubator ?



Also i got a second question. How can be specified the paths to view helpers ?

resources.view.helperPrefix.my = "My_View_Helper_"
resources.view.helperPath.my = "My/View/Helper"

This doesn't seems to work. I tried couple of versions, no luck.
--  Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com

没有评论: