接下来是代码执行,可能是直接执行,也可能过一段时间之后执行,其执行结果又作为另一请求的一部分被发往这个世界的另一参与者,以此类推。
This is followed, either directly or after some time has passed, by execution of code - as part of which a request might be sent to yet another part of the universe, and so on.
对于将用例图中的参与者转换成类图中有效的抽象,镜像映象模式和会话虚包模式是很有用的,这样最终将能够更清楚地转换成代码。
The Mirror Image and Session Facade patterns are useful for changing actors in use case diagrams into valid abstractions in class diagrams, which ultimately results in a cleaner translation to code.
Snippets是源代码示例的混合体,例如,把菜单项添加到多个视图以及对象中的简短示例代码,以便扩展多方聊天的参与者列表以及其他功能。
Snippets is a grab bag of source code examples, for instance, short examples that add menu items to different views and objects, that extend the n-way chat participants list, and so on.
应用推荐