Delphi object persistence, what is the best way

前端 未结 6 2097
悲哀的现实
悲哀的现实 2021-01-31 23:35

I have developed application for drawing some shapes (lines mostly) , now i need to be able to store sketch to a file, I know that delphi has build in routines for object persi

6条回答
  •  庸人自扰
    2021-02-01 00:00

    I use the TI Object persistence framework (tiopf.com). I wrote the overview at http://tiopf.sourceforge.net/Doc/overview/index.shtml.

    It will let you save objects and lists to xml, csv, databases etc. It handles child objects automatically.

    If you are interested, use the svn version, not the sourceforge download as it has more features (inc partial D 2009 support).

提交回复
热议问题