[Swift-devel] Re: Swift configuration interface

Mihael Hategan hategan at mcs.anl.gov
Mon Jun 21 13:39:34 CDT 2010


On Mon, 2010-06-21 at 12:41 -0400, David Kelly wrote:
> 
> On Mon, Jun 21, 2010 at 12:01 PM, Mihael Hategan <hategan at mcs.anl.gov>
> wrote:
> 
>         Given that the end product is pretty much in XML format,
>         wouldn't it
>         make more sense to store the information in XML and extract
>         parts of
>         that?
> 
> That is basically how the original program I wrote works, by storing
> all the sites data in an XML template file and changing attributes as
> needed into working config files. Some of the feedback I received from
> that suggested it might be better to store in a database. Do you
> prefer the previous style and syntax?

If there was a storage choice between XML and a database in this
particular case, I would go with XML, since the source and destination
formats are close and because it would keep dependencies low. But that's
just me.

>  I'm feel like I'm kind of struggling to find a way to make things
> simpler (and useful) without a GUI.

Right, though I think that the user interface is a separate issue from
the backend.

Mihael





More information about the Swift-devel mailing list