[Lazarus] Why was XML format chosen for storing settings in Lazarus IDE?
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Jun 18 11:53:27 CEST 2010
On 18/06/2010, Jaqui Greenlees wrote:
> few configuration settings. This would mean that the XML format is paving
> the way for future development(s) that an ini may not support.
Thanks for your reply.
For that argument to be more credible, and for XML to be a more
appropriate format, then Lazarus IDE should have used a single .xml
file for all settings. After all, XML is good at hierarchy-styled
data. But as it is used now, having many small and rather
flat-hierarchy xml files makes no sense. In the current usage style of
saving settings, INI files would have made more sense.
At this point I would also like to point out that INI files could be
used for rather complex settings too. Inno Setup (*.iss files), Apache
Web Server (*.conf) and Makefile's (eg: FPC's Makefile.fpc) being such
examples. They might not have the traditional INI file extension, but
for all intent purposes, they are in the INI file format.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list