showdoc icon indicating copy to clipboard operation
showdoc copied to clipboard

几个建议

Open HengCC opened this issue 4 years ago • 6 comments

  • 增加项目依赖关系,或者接口依赖关系.
  • 建议增加接口订阅机制
  • 建议增加接口变动通知提醒

HengCC avatar Mar 31 '20 07:03 HengCC

如果你想订阅通知,你希望以哪种方式收到提醒?邮件?

jhsy [email protected] 于2020年3月31日周二 下午3:26写道:

  • 增加项目依赖关系,或者接口依赖关系.
  • 建议增加接口订阅机制
  • 建议增加接口变动通知提醒

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLTAFT5GRSRQSDRYW3LRKGLJFANCNFSM4LXJXALA .

star7th avatar Mar 31 '20 07:03 star7th

事实上订阅->通知的过程是为了解决项目繁杂. 接口繁多导致的信息不对称

通知机制可以预留接口.

  • 站内信
  • 邮件通知
  • 公司内的IM通知
  • 有条件的短信平台通知等等

HengCC avatar Mar 31 '20 07:03 HengCC

也就是说这个东西需要依赖到用户自己编程。这个怕是会增加用户复杂度而没什么人用

jhsy [email protected] 于2020年3月31日周二 下午3:32写道:

事实上订阅->通知的过程是为了解决项目繁杂. 接口繁多导致的信息不对称

通知机制可以预留接口.

  • 邮件通知
  • 公司内的IM通知
  • 有条件的短信平台通知等等

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/828#issuecomment-606452794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLV5AUN562SRJVS6D6LRKGMBDANCNFSM4LXJXALA .

star7th avatar Mar 31 '20 07:03 star7th

怎么说呢. 信息不对称的代价我觉得是非常耗时和昂贵的. 如果能有提醒能最大化的减少这种影响, 那何乐而不为呢, 如果是我的话. 我可能会将接口的状态做成"类生命周期"一样. 每个周期触发钩子. 钩子检测订阅的事件配置. 触发不同的动作. 比如 post 一个请求出去. 携带变动的参数. 请求的URL可以配置. 当然站内信的模式就无须触发这种钩子.

仅仅是建议供参考.

HengCC avatar Mar 31 '20 07:03 HengCC

这个会考虑一下吧。要收集下用户反馈。 另外那个项目依赖/接口依赖就不考虑了。showdoc是项目和项目之间是独立的。如果彼此有依赖情况,自己在文档里讲清楚即可。

jhsy [email protected] 于2020年3月31日周二 下午3:42写道:

怎么说呢. 信息不对称的代价我觉得是非常耗时和昂贵的. 如果能有提醒能最大化的减少这种影响, 那何乐而不为呢, 如果是我的话. 我可能会将接口的状态做成"类生命周期"一样. 每个周期触发钩子. 钩子检测订阅的事件配置. 触发不同的动作. 比如 post 一个请求出去. 携带变动的参数. 请求的URL可以配置. 当然站内信的模式就无须触发这种钩子.

仅仅是建议供参考.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/828#issuecomment-606456833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLRJQJVCVIWTK4VQX63RKGNEZANCNFSM4LXJXALA .

star7th avatar Mar 31 '20 07:03 star7th

邮件通知就可以了

lijianfeigeek avatar Apr 01 '20 03:04 lijianfeigeek