[Lazarus] Embedded database for Lazarus/Linux

Henry Vermaak henry.vermaak at gmail.com
Thu Jun 17 21:24:27 CEST 2010


On 17 June 2010 20:16, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> On 17/06/2010, waldo kitty wrote:
>>
>> besides, XML is a good example as well since everyone and their mother seem
>> to see it as a huge step forward for some reason...
>
> I can't agree more on this point. Yes, XML has it's uses, but
> replacing a INI file with a XML file simply to store some application
> settings like "recently opened files", or editor color settings etc is
> pretty ridiculous. And yes, Lazarus IDE is a culprit in this too. I
> mean, INI is a dead simple file format which FPC and Delphi (and just
> about any other language) has very good support for reading/writing
> INI files. So why use XML which is much more complex and much harder
> to work with. Again Lazarus IDE being an example here. There are
> multiple XML reading/writing solutions (inside FCL and LCL and IDE),
> all with varying degrees of features and how to use them.

I agree completely that storing an application's settings in human
readable format is the best.  It's obviously limited in terms of
speed, though.  Using a database for this is overkill.

Henry




More information about the Lazarus mailing list