Hello All,

I've begun playing with Zend_Application. I really like the Idea. However I
am struggling with how to organize the bootstrap and associated files within
my project. This is my current setup ...

index.php

<?php require_once '../application.php'; ?>

application.php ...

<?php

    // Set the Include path ..
    // Set the Application configuration ...

    // Bootstrap
    require_once 'Zend/Application.php';
    $application = new Zend_Application($configSection,$applicationConfig);
    $application->bootstrap();
    $application->run();
?>

boostrap.php ...

class Bootstrap extends Zend_Application_Bootstrap_Base
    {
     // init functions & dispatch
    }


How are others handling this?

Thanks

Reply via email to