Question

i am new to ZF and i am making a project in ZF .i got basic knowledge of ZF but need more. i studied configuration in ZF in many different ways like

  1. Using Array Configuration
  2. Creating File Configuration
  3. Using INI File Configuration
  4. Using XML File Configuration

i need to know what is best and efficient way among all these in sense of Maintainability and security ?? also can anyon plz tell me (Quick advise) how to start my first project so that its easy for me in order to maintain and upgrade.i am bit confuse with layouts that is header , footer and sidebar etc how to intigrate this in my bootstrap like this but its not working

// Register the autoloader
  require_once 'Zend/Loader.php';
 Zend_Loader::registerAutoload();
// Initialise Zend_Layout's MVC helpers
Zend_Layout::startMvc(array('layoutPath' => ROOT_DIR.'/app/views/layouts'));
Was it helpful?

Solution

For configuration the answer is: use what you like best. All Zend_Config classes have same functionality. They just differ with the syntax.

As for something not working you must write more details. Again - what do you mean by 'not working'? What are the errors?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top