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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:50:11+00:00 2026-05-13T00:50:11+00:00

Am I right in thinking that in Zend Framework, if I plan to have

  • 0

Am I right in thinking that in Zend Framework, if I plan to have 5 pages at my site, I’d generally need 5 controllers? Do ZF developers typically create 1 controller per page (“page” as abtract app unit)?

The reason I am asking this is that previously for some reason I stuffed a lot of various actions into controllers so that they played role of pages, e.g. index/add, index/view, index/delete and displayed various small screens, e.g. small CRUD screens as opposed to grids displayed by index action.

But as of now I want to check my new understanding that actions are needed mostly for model updates and actions should, once run, immediately redirect back to controller/index. So it seems that views should mostly be used in index actions, and less frequently in other actions.

Does this sound architecturally valid?

  • 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-13T00:50:12+00:00Added an answer on May 13, 2026 at 12:50 am

    I suppose thats one way of doing it… Using your analogy i suppose i use a controller like a “section” and actions like “pages” to those sections.

    But thats getting stuck more on the old procedural||static paradigm of pages because really the action controller itself has no more to do with a page or section than the association you make as a developer. Ie. each page can potentially be a composite of numerous actions and views depening on the application’s architecture.

    For example if i have a blog modules i might have the following:

    Controllers:

    • PostController
    • CommentController

    Views:

    • post
      • display (display a single post)
      • list (list posts)
      • edit (create/edit post)
    • comment
      • display (display n comments)
      • list (list comments)
      • edit (create/edit/moderate comment)
      • embed-list (for use on the Post itself assuming this differs from display)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Am I right thinking that Tigris.org have stopped maintaining their SVN binary package for
Right now, I keep all of my projects on my laptop. I'm thinking that
I am working on a Facebook game which is developed using Zend framework. Right
I am working on a Facebook game which is developed using Zend framework. Right
I devlopp web applications with Zend Framework. For now, I have a huge library,
Am I right in thinking that until I am able to afford dedicated servers
Am I right in thinking that endianess is only relevant when we're talking about
Background: I have a large 2D array of integers that I need to load
Am I right in thinking that spam bots can't simulate the 'keypress' event, and
I am looking at the following code: http://netrsc.blogspot.com/2010/04/net-c-binary-tree.html Am I right in thinking that

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.