I think that you DON'T mean to place ".cfg" or ".ini" files themselves into the DB, just the info.

I don't know how many config files that you have. Text based config files are usually (in my experience) "small" some hundred or so lines, not thousands of lines.

I suspect that this evolution will need to happen in steps at least for development. Sounds like you have 2 main classes of applications. Ancient legacy ones and ones that are still under development.

I don't know how you parse these config files now. But I would be thinking about modifying the "under dev" programs with an interface that like a DBI, even if at this stage, a flat file is underneath that.

Depending upon how well or not well the info from these config files has been organized and accessed, this could be easy or very hard. You would want to standardize terminology for say "student_last_name", etc.

Then work on the Database. And then how to export config files to the other legacy applications.

A HUGE THING that I am missing here is the application that replaces all of the individual config file edits. I think that this is where you should start!

So to amend my previous thoughts, I would design the user interface for this "global sys admin" application. Then work on the individual apps.


In reply to Re: Configuration Storage (Perl Vars) in Database by Marshall
in thread Configuration Storage (Perl Vars) in Database by openadmin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.