What are the best practices for database development with Delphi?

前端 未结 6 1122
陌清茗
陌清茗 2021-02-02 00:56
  1. How can I use the RAD way productively (reusing code). Any samples, existing libraries, basic crud generators?
  2. How can I design the OOP way? Which design patt
6条回答
  •  花落未央
    2021-02-02 01:57

    Be very careful if you use the „put every DB objects into one big data module” (or "few big datamodules" in huge applications) approach. This can make your project having data module so big, that you will have to use HD monitor to see all TXDataset on this datamodule
    Bottom line: switch to using specialized classes for business logic instead of big global data modules. Use global data modules with logic ONLY in very small projects.

提交回复
热议问题