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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:13:57+00:00 2026-06-09T12:13:57+00:00

What is a good practice for application initialization files. I’ll be using xml files

  • 0

What is a good practice for application initialization files. I’ll be using xml files for my initialization files, but I don’t just want to cram everything in one file. How should I split up the files? Should it be by class? by module?

Thanks, let me know if you need more information.

  • 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-06-09T12:13:59+00:00Added an answer on June 9, 2026 at 12:13 pm

    Think of how a user or developer would like to interact with these files, back them up, version them (SVN, CVS, etc) and/or transport configuration from one machine/installation to another. Usually it’s best to keep all your configuration in a single file. You’d need a good reason not to do this.

    I’ve had good reasons in the past, but usually for very specialised in-house applications where machine-specific configuration (related to local hardware) needed to be separated from application-specific configuration. The separation meant I could update the application config and roll it out to all our machines without fear of overwriting the hardware config.

    Generally, I’m a fan of a well-structured, well-documented and intuitively organised single configuration file. If it gets large, big deal — that’s what scrollbars and search utilities were designed for! Down the track, when you’re hunting for a particular setting, it’s going to bug the hell out of you if you have to search for it in 10 different files.

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

Sidebar

Related Questions

My application is configured by some Spring XML configuration files. Is it good practice
Is it good practice to have one shared SqlConnection object in a .NET application
Our application is developed using Spring framework. Is it good practice to check null
Is using MS SQL Identity good practice in enterprise applications? Isn't it make difficulties
In Java, is it a good practice to use annotations to configure an application
What is considered good practice for querying entites from a database using a simple
Just starting out with an iPhone application using xcode 4.2. I understand that it
it's good practice to write Unittests to be independed of the whole spring application
I am just wondering why is restarting IIS 7 application pool consider a good
When designing my application how many controllers should I have? Is it good practice

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.