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 716399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:17:43+00:00 2026-05-14T05:17:43+00:00

Zend Framework FrontController implements Singleton and plus it has some kind a plugin paradigm

  • 0

Zend Framework FrontController implements Singleton and plus it has some kind a plugin “paradigm” , – what is the idea behind its architecture , maybe it implements some well known paradigm ? and if so then if u could give some links directions where I can find information about reasons that brought up that particular paradigm ?

  • 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-14T05:17:43+00:00Added an answer on May 14, 2026 at 5:17 am

    The basic idea of a FrontController is to provide for a single point of entry to your application.

    Quoting PoEAA:

    The Front Controller consolidates all request handling by channeling requests through a single handler object. This object can carry out common behavior, which can be modified at runtime with decorators. The handler then dispatches to command objects for behavior particular to a request.

    Further definitions:

    • http://en.wikipedia.org/wiki/Front_Controller_pattern
    • http://java.sun.com/blueprints/patterns/FrontController.html

    Also see the chapter in the reference guide about the Front Controller:

    Zend_Controller_Front implements a » Front Controller pattern used in » Model-View-Controller (MVC) applications. Its purpose is to initialize the request environment, route the incoming request, and then dispatch any discovered actions; it aggregates any responses and returns them when the process is complete.

    About being a Singleton

    Zend_Controller_Front also implements the » Singleton pattern, meaning only a single instance of it may be available at any given time. This allows it to also act as a registry on which the other objects in the dispatch process may draw.

    For a General Definition of the Singleton and the Registry pattern see:

    • http://sourcemaking.com/design_patterns/singleton
    • http://martinfowler.com/eaaCatalog/registry.html

    About being pluggable

    Zend_Controller_Front registers a plugin broker with itself, allowing various events it triggers to be observed by plugins. In most cases, this gives the developer the opportunity to tailor the dispatch process to the site without the need to extend the front controller to add functionality.

    A good detailed explanation how Zend Framework uses the Front Controller and what happens under the hood during an MVC rquest can be found in:

    • Zend Framework MVC Request Lifecycle
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Zend Framework has Zend_Form_Element_Multiselect element. But I haven't found any examples how to extend
I am trying to setup my Zend Framework project with some development helper code.
On zend framework inside my bootstrap file i have the following code: $frontController =
In Zend Framework, Zend_Validate_StringLength has an encoding property that can be used to convert
In Zend Framework 1.8, what is the recommended way to register a new plugin
Hi Need to confirm Zend Framework Hierarchy of Objects , Zend_Application has a Property
Examining Zend Framework, I found that all setter methods (of those I’ve examined) return
In Zend Framework in Response Class there are two different arrays for storing headers:
The Zend Framework Manual says the following: 60.3.1. Escaping Output One of the most
Using Zend Framework, I've created a Model to insert a record into a database.

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.