如何不假设您的数据将存储在文件中
如何在不说“软件必须知道配置文件的文件名”的情况下制定软件需求?您还不知道配置数据是否将保存在文件、数据库或以后可能决定的任何内容中。那么,在不引入技术限制的情况下,您通常如何引用该位置的地址呢?
How would you formulate software requirements without saying: "The software has to know the filename of the configuration file."? You don't know yet if the configuration data will be held in a file a database or whatever may be decided later. So how would you generically refer to the address of this location without introducing technical constraints?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
软件的配置设置应存储在应用程序外部,并且应用程序应能够访问外部设置。
The configuration settings for the software should be stored external to the application, and the application should be able to access the external settings.