Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7549657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:00:04+00:00 2026-05-30T10:00:04+00:00

I am pretty familiar with Zend Framework details and how most things work. One

  • 0

I am pretty familiar with Zend Framework details and how most things work. One area that I still don’t fully understand is the way Zend Framework loads resources from application.ini.

I understand I can create my own protected _init functions and these will be called automatically during bootstrap.

The Zend Framework documentation is lacking in certain areas.

For example: How and when does the resources.db config options get loaded? I have nothing in my bootstrap that talks about db. Does this get loaded on demand or actually during the bootstrap process?

Any links of references explaining this would be very helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:00:06+00:00Added an answer on May 30, 2026 at 10:00 am

    Your bootstrap class ultimately inherits from Zend_Application_Bootstrap_BootstrapAbstract. The bootstrap() method in this class first searches for class methods prefixed with _init, and runs these. It then looks for resource plugins, which are populated by the ‘resources’ part of the options array. The options array comes from the configuration passed to Zend Application, which usually comes from application.ini.

    Resource plugins map to a class on the file system. So resources.db by default will create an instance of Zend_Application_Resource_Db and run it (which in turns sets up the relevant db stuff). There is a full list of the built in resources here: http://framework.zend.com/manual/en/zend.application.available-resources.html

    All your application resources are run during the bootstrap process, unless you’ve told the bootstrap to init only specific ones.

    There is a reasonably detailed overview of how it all fits together in the docs: http://framework.zend.com/manual/en/zend.application.theory-of-operation.html, but it’s the kind of thing that you don’t really need to know the details of unless your requirements are a little custom.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm pretty sure most of us are familiar with the concept of a project's
I am just now starting to work with LINQ, and am pretty familiar with
I'm pretty familiar I guess with both Zend and PEAR PHP coding standards, and
I've worked with PRISM on one major project before so I'm pretty familiar with
I'm pretty familiar with Ruby and Ramaze, but I wanted to provide my Admins
So I am pretty familiar with memory management in Java, C and C++; however,
I'm pretty familiar with grails however my sql logging seems to always be on
I have a pretty simple question which perhaps someone familiar with Server/Client design &
Pretty much every other editor that isn't a vi descendant (vim, cream, vi-emu) seems
Pretty sure this question counts as blasphemy to most web 2.0 proponents, but I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.