I\'m beginning with Zend Framework and I would like to understand Bootstrap file. I\'ve learned all _init
methods are executed by default but it seems confusing to
I have found out that: calling $this->boostrap('resource'); will not work if 'resource' is not in the application/configs/application.ini file. So my answer to your question would be 'yes', you have to define the layout resource in the application.ini file with the following : resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts" (or another dir.)
Unfortunately the zend Framework documentation is really bad in my opinion. Especially on this topic.
My opinion is that you should wait for a version with a better documentation if you want to get deep into the details and workings of the Zend Framework (or you can check the source code of the Zend Library Classes if you have the time).