The last step to fine-tuning this plug-in is to give it the ability to have its defaults overridden.
调优插件的最后一步是让它可以覆盖默认值。
In addition, separating business logic from data access enables database-independence and provides for plug-ability to various types of data stores.
此外,从数据访问中分离业务逻辑可实现数据库独立性,并为各种类型的数据存储提供插件能力。
You gain, though, safer handling of errors and the ability to re-use the plug-in over a wider range of circumstances.
但是您可以更安全地对错误进行处理,并且能够在更广泛的范围内重用该插件。
应用推荐