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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:32:43+00:00 2026-05-13T09:32:43+00:00

In my database, there are maybe a dozen tables that represent lookup types (All

  • 0

In my database, there are maybe a dozen tables that represent lookup types (All have ID and Name columns – No, they must remain as seperate tables, won’t be normalized into one table). I’m building an administration application, where I want an administrator to be able to add/edit/delete/list all of these lookups. I know I can re-use the model, but is there a more efficient way for me to write this in an asp mvc 2 application, other than writing 3 views, 1 controller for each lookup type resulting in 48 views and 12 controllers?

  • 1 1 Answer
  • 1 View
  • 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-13T09:32:43+00:00Added an answer on May 13, 2026 at 9:32 am

    I wouldn’t recommend removing the coupling between your models, the controllers, and views. The idea behind this pattern is that you get to separate the business logic from the presentation from the workflow. If you start mixing multiple models into the same views/controllers, it gets messy.

    Maybe try doing what you’re attempting using a master page and having your models inherit from a common base class or something like that instead? This way you can reuse code without smashing it into the same files.

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

Sidebar

Related Questions

Maybe there's no simple answer to this question, but I ask in case someone
Maybe this is a shot in the dark here but I'm trying to find
I'm trying to feed data from SQL database to FLEX, using php script in
I am working on an application that will allow users to create queries on
I have one table like this account_id (INT) inviter_id (INT) Now, logged in user
What is the Clojure-idiomatic way to convert a data structure to a Java collection,
This question is about the extent to which it makes sense unit testing. I’ve
I need a simple and fast way to compare two images for similarity. I.e.
I'm new to SQL Server replication options. I want to set up a system
the following short test script <?php define('DBHOST', '/tmp'); define('DBNAME', 'XXX'); define('DBUSER', 'XXX'); define('DBPASS', 'XXX');

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.