requirements - 与 Web API 相关的功能性和非功能性要求

标签 requirements system-requirements

使用 JSON 开发 RESTful API(稍后将由 Web 前端使用)是“功能性”还是“非功能性”要求?

最佳答案

两者都不是。 “使用 JSON 开发 RESTful API”并不是一项要求,而只是描述了实现一个或多个底层需求的过程。

但您可能提到的是功能需求。

您应该始终寻求将描述 future 系统应具有的功能或质量的需求与其技术实现分开。

这样的功能需求可能是:

(identifier 1) The system under development must offer the following information to external systems via an interface: (table of required information)

然后您可以将其进一步分解为更详细的功能需求,其中之一可以是:

(identifier 2) The system under development must offer its information specified in (reference to identifier 1) to external systems in the JSON format via an interface that is accessible for REST clients, in order to feed external system XYZ.

相比之下,非功能性需求提供了有关 API 质量的更多详细信息。如:

  • 性能
  • 安全
  • 可靠性
  • 可用性
  • 可维护性
  • 便携性

由于这些事情很难衡量,因此您可以添加更多功能要求,更详细地指定预期行为(例如最大响应时间)。

来源:

https://ireb.org/en/downloads/#syllabus-foundation-level

关于requirements - 与 Web API 相关的功能性和非功能性要求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34367031/

相关文章:

requirements - 上下游定义

java - 如何查找 java ee web 应用程序的系统要求

linux - Tensorflow 推荐的系统规范?

uber-api - Uber 应用程序的功能性需求与非功能性需求

Swift - 使第三方类型符合我自己的协议(protocol)但有冲突的要求

integration - MKS 完整性要求

algorithm - 与非开发人员的跨学科算法构建

uml - UML 序列图的形式语言

MySql 社区服务器最低系统要求

error-handling - 检查 WordPress 插件系统要求的正确方法