I work on a program in Delphi that holds a lot of data, and I wonder which method is the best to save it to file. Now we use records and ‘file of’ to save it but I think it should be better methods. I would prefer a system that makes it easy to migrate from the system we use now.
EDIT: The application is a sort of a database application. The user use it to manage data.
It depends on the data! Common means are databases (rows of lots of records), XML (structured data storage), ini files (simple data) or custom formats (graphic images etc). Delphi is very good with databases, with a range of third party options to allow fully compiled-in code, so for general data they will work well.