Django uses real Python files for settings, Trac uses a .ini file, and some other pieces of software uses XML files to hold this information.
Are one of these approa
It is more of convenience. There is no official way per say. But using XML files would make sense as they can be manipulated by various other applications/libraries.