Thoughts

作者: RoFF | 来源:发表于2015-12-22 10:58 被阅读13次

1,解耦无处不在

公司办理医保报销,办公室门前排期了长队,既影响公司秩序,也耽误了大家的工作时间;

HR想了个办法:给每个人发一张带有顺序号的纸条,写上电话,交给HR;等到办理的时候HR打电话通知到个人。

这是很好的消息通知机制的应用:HR定义接口(纸条和内容的格式);注册接口(交回给HR);异步通知(HR打电话)。

从另一个角度看,这也是一个解耦的过程:把跟用户密切相关的时间(必须等前边的人办理完)和地点(必须在原地排队)两个因素通过使用某种替代物(虚拟或实际的,纸条)达到了接触绑定或耦合的目的。

相关文章

  • 学英文之每日自我激励 Positive Self Talk!

    Ouractions are inspired by our thoughts and our thoughts ...

  • Not yours

    The thoughts are not your thoughts. The souce talks about...

  • March 30:知道心在想

    When there are thoughts, please don't fightthem. Thoughts...

  • I see nothing what it is now

    My thoughts are meaningless. Meaningless thoughts show me...

  • 2017年要养成的五个习惯

    our beliefs become your thoughts, Your thoughts become yo...

  • 信仰即思想

    Your beliefs become your thoughts. Your thoughts become y...

  • Thoughts

    人的一切痛苦,本质上都是对自己无能的愤怒。 —王小波

  • Thoughts

    Time is a bird for ever on the wing.A winter vacation is ...

  • thoughts

    凡事看得太清不好。有的时候就需要一点死脑筋。不管是谈恋爱找对象,还是研究发明创造。若你红尘看破就注定你身上没有风花...

  • thoughts

    如果想要混的如鱼得水,就得睁一只眼闭一只眼,在社会上混也是,放到国家也是。然后就需要一套完美的完整的哲学体系来让鱼...

网友评论

      本文标题:Thoughts

      本文链接:https://www.haomeiwen.com/subject/rromhttx.html