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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:55:30+00:00 2026-05-25T13:55:30+00:00

At my new job, I was given some MVC work. There is only one

  • 0

At my new job, I was given some MVC work. There is only one controller with nine action methods(6 are for ajax rendering) . The page was bit large, so I divided it into small your controls and used render partial to render them. Some user controls were being render through ajax also. Most of the controls are not more like foreach loops and rendering some data from tables, not more 10-15 lines. The main index page passes model to all the controls. My main page looked very clean and easy to maintain.

But my team members are saying, I should put everything in the main page rather than building small controls. Their point is number of files will be a lot, if we start creating controls like this. Also they say if we are not reusing these controls somewhere else there is no point creating them separately.

I would like to know what is better approach for this kind of scenario. Any good links which can help us to understand things better, or any book we can read to clarify our questions.

Help will be appreciated.

Regards

Parminder

  • 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-25T13:55:30+00:00Added an answer on May 25, 2026 at 1:55 pm

    As a preface to my answer, let me mention the important value of maintainability. Software evolves over time… and must change to fit the need of the application.

    Maintainability in code does not magically appear… Sacrifices (with a touch of paranoia sometimes) must be made in your coding style now, to have the flexibility you’d like in the future.

    There may a large page in your project. Some may say that if it works, no need to fix it. But that’s looking at it from a short term perspective. You may need some of those UI interfaces in other places in the future. What some persons may do (rather than make partials) is copy that code in the places where they need it – thus causing the same bloat over time that they were trying to avoid.

    If you’re on the project in the long haul, you’ll more fully appreciate the need for flexibility over time. You can see that there are patterns that you’ll want to re-use.

    My suggestion then: Partials and controls are good things… they are good investments for your ease in the future. If you forecast reusability, that’s a good sign for using them.

    But use them sparingly. Don’t micromanage everything on a page. Some things may be itching to be ‘component-ized’ but sometimes it’s best to SSFL (Save some for later). Like everything in life, balance is important.

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

Sidebar

Related Questions

I inherited several projects Javas in my new job, but I'm having some problems
I only want facts as far as possible. There are some things that ASP.Net
Can some one give me a best way to implement a daily job with
I was given a test for a new job, and I can't decide on
My team is learning some Erlang in my new job. Right now we have
In my new job, I'm realizing how little I've actually used my C++ skills
I'm starting a new job soon with a manufacturer and supplier of fibre-optic multiplexers.
I just started a new job where I need to do a new development
At my new job I am doing rails development and I am on Ubuntu
In my new job more people are using Python than Perl, and I have

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.