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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:04:10+00:00 2026-05-16T02:04:10+00:00

Might not be a very consequential question, but… I have a bunch of mostly-static

  • 0

Might not be a very consequential question, but…

I have a bunch of mostly-static pages: Contact, About, Terms of Use, and about 7-8 more.

Should each of these have their own controllers, or should I just have one action for each?

Thanks in advance.

  • 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-16T02:04:10+00:00Added an answer on May 16, 2026 at 2:04 am

    Just consider each item individually. If you think that there is even the slightest chance that the action/view could be required to be more than just static data then break it up now or else you will have to worry about breaking links in the future that your customers/visitors/search engines have saved/indexed and now you will need to possibly maintain some redirects etc.

    If you are sure that it will never change (ha who says never) then use one controller with many actions/views. Eg:

    http://yoursite.com/home/contact
    http://yoursite.com/home/terms
    http://yoursite.com/home/about
    etc...
    

    This will save your project from a lot of clutter for very basic data assuming that you will have a lot of other code. If the majority of you code is just these pages though you should break it up because there is nothing to clutter up anyways.

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

Sidebar

Related Questions

This question might not seem programming related at first, but let me explain. I'm
When should you NOT use a singleton class although it might be very tempting
Although my question might seem abstract I hope it's not. Suppose I develop an
I realize this is a very specific question, and not very helpful outside of
I get the error: TestCounter.java:115: variable counters might not have been initialized counters[i] =
I don´t like the output of the com.sun.enterprise.server.logging.UniformLogFormatter which might be uniform but not
This is probably a very common question, but I was unable to find an
I know it might not be according to Apple's human interface guidelines for the
To recap for those .NET gurus who might not know the Java API: ConcurrentHashMap
Is there any condition where finally might not run in java? Thanks.

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.