知识卡片
工作流共享状态文档
独立服务不宜通过共享数据库或同一内部模型协调;可用结构化媒体文档传递状态,以预先约定的profile限定属性与动作。流程还需要可定位的进度、可干预的继续或取消操作、maxTTL时间上限及无法自动处理错误时的人工求助路径。共享外部文档不要求共享内部实现。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 用超媒体思考与设计 · 查看原书依据
In these cases, data values are passed as strongly typed documents (HTML, Collection+JSON, SIREN, HAL, etc.) and may contain all types of data elements. Just what data properties appear in these documents is governed by the semantic profiles (Recipe 3.4) and vocabularies (Recipe 3.3) established ahead of time. Sharing these documents can be accomplished using the FORM affordance (Recipe 3.7) or a shared addressable resource itself.
参考来源
- 位置:《RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)》第02章《用超媒体思考与设计》(来源项目 book-sources;源文件:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/ch02.xhtml;小节:超媒体工作流)
- 结论依据:原文以独立服务不宜通过共享数据库或同一内部模型协调;可用结构化媒体文档传递状态,以预先约定的profile限定属性与动作的机制或场景为依据;同小节余文补充本卡所列条件,按2022年原书语境整理。
- 原始内容:In these cases, data values are passed as strongly typed documents (HTML, Collection+JSON, SIREN, HAL, etc.) and may contain all types of data elements. Just what data properties appear in these documents is governed by the semantic profiles (Recipe 3.4) and vocabularies (Recipe 3.3) established ahead of time. Sharing these documents can be accomplished using the FORM affordance (Recipe 3.7) or a shared addressable resource itself.