Skip to main content
added 282 characters in body
Source Link

Please suggest best design for accomodating different versions of configuration file(INI format) into a single file. My requirement is I have three different versions of a configuration say V1.config, V2.config, V3.config. The different versions needs to be supported. I would like to achieve a file V.config from which I can read configuration info of all differnt versions. My

My Requirement would be to support 3 different versions simultaneously with a sinlge file.

I working on a design where somehow i could combine these versions to a single file say V and read the data according to the version.Lets say [A\A2] will be there in this common/combined file but it is there in V1 and in V3 but not in V2. How can that be achieved.

What is the best practice usually followed, what would be possible design?

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */

Please suggest best design for accomodating different versions of configuration file into a single file. My requirement is I have three different versions of a configuration say V1.config, V2.config, V3.config. The different versions needs to be supported. I would like to achieve a file V.config from which I can read configuration info of all differnt versions. My Requirement would be to support 3 different versions simultaneously with a sinlge file.

What is the best practice usually followed, what would be possible design?

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */

Please suggest best design for accomodating different versions of configuration file(INI format) into a single file. My requirement is I have three different versions of a configuration say V1.config, V2.config, V3.config. The different versions needs to be supported. I would like to achieve a file V.config from which I can read configuration info of all differnt versions.

My Requirement would be to support 3 different versions simultaneously with a sinlge file.

I working on a design where somehow i could combine these versions to a single file say V and read the data according to the version.Lets say [A\A2] will be there in this common/combined file but it is there in V1 and in V3 but not in V2. How can that be achieved.

What is the best practice usually followed, what would be possible design?

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */
added 92 characters in body
Source Link

Please suggest best design for accomodating different versions of configuration file into a single file. My requirement is I have three different versions of a configuration say V1.config, V2.config, V3.config. The different versions needs to be supported. I would like to achieve a file V.config from which I can read configuration info of all differnt versions. My Requirement would be to support 3 different versions simultaneously with a sinlge file.

What is the best practice usually followed, what would be possible design?

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */

Please suggest best design for accomodating different versions of configuration file into a single file. My requirement is I have three different versions of a configuration say V1.config, V2.config, V3.config. The different versions needs to be supported. I would like to achieve a file V.config from which I can read configuration info of all differnt versions.

What is the best practice usually followed, what would be possible design?

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */

Please suggest best design for accomodating different versions of configuration file into a single file. My requirement is I have three different versions of a configuration say V1.config, V2.config, V3.config. The different versions needs to be supported. I would like to achieve a file V.config from which I can read configuration info of all differnt versions. My Requirement would be to support 3 different versions simultaneously with a sinlge file.

What is the best practice usually followed, what would be possible design?

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */
Space after punctuation rather than before. Remove inappropriate tag.
Source Link
user40980
user40980

Please suggest best design for accomodating different versions of configuration file into a single file.My My requirement is I have 3three different versions of a configuration say V1.configV1.config,V2.config V2.config,V3.config V3.config.The The different versions needs to be supported.I I would like to achieve a file V.config from which I can read configuration info of all differnt versions. What

What is the best practisepractice usually followed  ,what what would be possible design.?

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */

Please suggest best design for accomodating different versions of configuration file into a single file.My requirement is I have 3 different versions of a configuration say V1.config,V2.config,V3.config .The different versions needs to be supported.I would like to achieve a file V.config from which I can read configuration info of all differnt versions. What is the best practise usually followed  ,what would be possible design.

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */

Please suggest best design for accomodating different versions of configuration file into a single file. My requirement is I have three different versions of a configuration say V1.config, V2.config, V3.config. The different versions needs to be supported. I would like to achieve a file V.config from which I can read configuration info of all differnt versions.

What is the best practice usually followed, what would be possible design?

To help visualize: V1.config would be something like:

[A\A1]
/*section for config info */
[A\A2]
/*section for config info */

[A\A3]
/*section for config info */

V2.config

[A\A1]
    /*section for config info */
    
/* Removed a section */
    
[A\A3]
    /*section for config info */
[A\A4]
    /*Added new section for config info */

V3.config

 [A\A1]
    /*section for config info */
 [A\A2]
    /*Re-introduced the section in Version V1 for config info */
    

 /* Removed a section in Version V2 */
 [A\A4]
    /*section for config info */
Source Link
Loading