知识卡片
故事映射动作与关系
逐条用角色、能力、收益或前提写故事,再把故事中的行为分配给模型。单模型通常提供动作,跨模型还要说明关系。管理员复用已有动作,只需扩大允许操作的对象范围。[[API模型面向消费者]]
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Designing a web application 9.5 User stories for PetSitter · 查看原书依据
Previously, we created three models: User, Job, and Dog. They all already have a set of attributes. To find out about their functionality and relationships, we should walk through the user stories and see which of the models they affect. If they
参考来源
- 位置:《Designing APIs with Swagger and OpenAPI》第09章《Designing a web application》(来源项目 book-source:extracted/Designing APIs with Swagger and OpenAPI/_epub-src/OEBPS/Text/ch09.htm,阅读块 182)
- 结论依据:原文按故事涉及一个模型还是多个模型来提取动作和关系。
- 原始内容:Previously, we created three models: User, Job, and Dog. They all already have a set of attributes. To find out about their functionality and relationships, we should walk through the user stories and see which of the models they affect. If they