Yes, but it's only the index.php ;) Not the bootstrapper code...
No -- but it does reflect that the proposal needs to be updated. :) There is a better example in the example.php file inside DASPRiD's user branch.
http://framework.zend.com/svn/framework/standard/branches/user/dasprid/Zend_Application/
I checked for documentation, got some questions:
1.This component MUST allow setting the application include_path (aka library)
How could be set this ?
2. What are the minimal include path to be done into index.php (so not through Zend_App). Just
set_include_path(
BASE_PATH . '/library' . PATH_SEPARATOR
. get_include_path()
);
3. How is gonna be used zend_app to give same effect as resource autoloader and autoloader code from below:
require 'Zend/Loader/Autoloader.php';
require 'Zend/Loader/Autoloader/Resource.php';
Zend_Loader_Autoloader::getInstance()->registerNamespace('X');
$loader = new Zend_Loader_Autoloader_Resource(array(
'namespace' => 'Default_',
'basePath' => MODULE_PATH . '/default'
));
$loader->addResourceType('Model', 'models', 'Model');
4. How could be set the "php.ini settings to initialize" ?
-- Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com
没有评论:
发表评论