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

  • Home
  • SEARCH
  • 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 8815827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:28:25+00:00 2026-06-14T04:28:25+00:00

I am making my own MVC framework (please do not downvote me because everyone

  • 0

I am making my own MVC framework (please do not downvote me because everyone wants to make a framework.) and so.. I want to make a bootstrapping class like I have seen in many frameworks. I am making this because I have decided to move to the next level by started learning a framework from the inside. But I am facing few problems getting through them. But I will separate them in different questions. Now to clarify my question:

What features should a Bootstrapping class have? And Can you give me articles that could help me?

  • 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-06-14T04:28:27+00:00Added an answer on June 14, 2026 at 4:28 am

    There should not be a "bootstrap class". It is a straightforward process, which can be contain in a simple script, which would serve as entry point for your application. PHP is not Java, therefore you are not require to contain everything within a class.

    Usually bootstrap stage of application would have following responsibilities:

    • set up the autoloader
    • initialize routing mechanism
    • configure storage abstractions (db, cache, etc.)
    • handle the user request (using the routing)
    • dispatch to MVC

    The bootstrap stage in you application is where all the wiring between objects should be set up. It would also be the place where you set up such things as loggers, access control and error handling structures.

    You could say that front controller is a part or bootstrapping.

    P.S.: also, you might find this answer of mine relevant, since it also contains an example of bootstrap file.


    List of recommended articles:

    • GUI Architectures by Martin Fowler
    • Inversion of Control Containers and the Dependency Injection pattern by Martin Fowler
    • A Description of the Model-View-Controller User Interface Paradigm in the Smalltalk-80 System
    • Understanding JavaServer Pages Model 2 architecture
    • MVP: Model-View-Presenter The Taligent Programming Model for C++ and Java

    The last two links cover two of 3 major MVC-inspired patterns (Model2 MVC and MVP), since classical MVC is actually highly impractical (and actually, almost impossible) to be used for web applications.

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

Sidebar

Related Questions

i am making my own framework and would like to allow easy direct access
I'm making my own string class and I'd like to ensure that CString a
I'm making my own minor mode for emacs. Now I want to add button
I'm making my own ControlTemplate for a standard Button in WPF. I want to
I am making my own custom admin panel (python) and I want to display
I was given the assignment of making my own memory manager class, but I
If I am an OEM making my own firmware and I want an app
I've just started to build my very own MVC framework. Feel's kind of nice
I have completed the MVC Music Store application, and now am making my own
I have a problem, Ive been making my own MVC app but there seems

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.