design

ITIL V3 角色的定义

时光毁灭记忆、已成空白 提交于 2021-01-13 00:41:22
Roles within ITIL V3 Roles are employed in order to define responsibilities. In particular, they are used to assign Process Owners to the various ITIL V3 processes, and to illustrate responsibilities for the single activities within the detailed process descriptions (EPCs). The definitions found here (in alphabetical order) are meant to be short, summing up the main characteristics of a specific ITIL V3 role. When in-depth information on a role's tasks and responsibilities is required this can, in our view, best be obtained from the EPCs. ITIL V3 roles within Service Strategy IT Steering Group

分享25个带给你设计灵感的超棒音乐网站

£可爱£侵袭症+ 提交于 2021-01-09 10:00:32
日期:2012-3-28 来源: GBin1.com 是不是寻找设计灵感呢?这里我们收集了25个超棒的音乐网站设计,希望能带给大家网站设计的灵感和技巧,希望大家喜欢! Vodafone.fm Freestyle-Night Decorated Playlist More Hazards More Heroes 来源: 分享25个带给你设计灵感的超棒音乐网站 来源: oschina 链接: https://my.oschina.net/u/156697/blog/51819

Expression evaluation using visitor pattern

笑着哭i 提交于 2020-05-28 04:51:52
问题 I have been trying to design an expression evaluator using visitor framework. Before going into my current design here are few problems that I am facing. Current design works well with arithmetic operators but when it comes to logical operators for eg 5 > 6 will output to false it doesn't work. As Visitor is a generic interface so if I say Visitor<Boolean> the return value will become boolean but participating values are integer hence I am not able to have integer as parameter. The design

文章-依赖注入:《Inversion of Control Containers and the Dependency Injection pattern》

元气小坏坏 提交于 2020-04-10 09:43:58
ylbtech-文章-依赖注入:《Inversion of Control Containers and the Dependency Injection pattern》 In the Java community there's been a rush of lightweight containers that help to assemble components from different projects into a cohesive application. Underlying these containers is a common pattern to how they perform the wiring, a concept they refer under the very generic name of "Inversion of Control". In this article I dig into how this pattern works, under the more specific name of "Dependency Injection", and contrast it with the Service Locator alternative. The choice between them is less important

设计模式-Strategy Pattern

眉间皱痕 提交于 2020-03-11 11:57:13
一、 策略(Strategy)模式 策略模式的用意是针对一组算法,将每一个算法封装到具有共同接口的独立的类中,从而使得它们可以相互替换。策略模式使得算法可以在不影响到客户端的情况下发生变化。 假 设现在要设计一个贩卖各类书籍的电子商务网站的购物车(Shopping Cat)系统。一个最简单的情况就是把所有货品的单价乘上数量,但是实际情况肯定比这要复杂。比如,本网站可能对所有的教材类图书实行每本一元的折扣;对 连环画类图书提供每本7%的促销折扣,而对非教材类的计算机图书有3%的折扣;对其余的图书没有折扣。由于有这样复杂的折扣算法,使得价格计算问题需要系 统地解决。 使用策略模式可以把行为和环境分割开来。环境类负责维持和查询行为类,各种算法则在具体策略类 (ConcreteStrategy)中提供。由于算法和环境独立开来,算法的增减、修改都不会影响环境和客户端。当出现新的促销折扣或现有的折扣政策出 现变化时,只需要实现新的策略类,并在客户端登记即可。策略模式相当于"可插入式(Pluggable)的算法"。 二、 策略模式的结构 策略模式是对算法的包装,是把使用算法的责任和算法本身分割开,委派给不同的对象管理。策略模式通常把一个系列的算法包装到一系列的策略类里面,作为一个抽象策略类的子类。用一句话来说,就是:"准备一组算法,并将每一个算法封装起来,使得它们可以互换。" 策略又称做政策

list of most-frequently-used design patterns

二次信任 提交于 2019-12-19 18:14:14
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> FROM HEAD FIRST DESIGN PATTERNS strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it. Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically. Decorator Pattern attaches additional responsibility to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality. Factory Method defines an

创建Material Design风格的Android应用--创建列表和卡片

青春壹個敷衍的年華 提交于 2019-12-06 08:59:42
上次说过使用主题,应用Material Design的样式,同时卡片布局也是Material Design的重要组成部分,今天来写写。 引言 在程序中创建复杂的Material Design 样式的 List和Card,可以使用RecyclerView和CardView组件,这两个组件是在最新的support v7包(version 21)中提供的。因此需要引入依赖包: dependencies { compile 'com.android.support:appcompat-v7:+' compile 'com.android.support:cardview-v7:+' compile 'com.android.support:recyclerview-v7:+' } 创建List RecylerView组件是一个更加高效灵活的ListView。这个组件时一个显示大数据集的容器,可以有效的滚动,保持显示一定数量的视图。使用RecyclerView组件,当你有数据集,并且数据集的元素在运行时根据用户的操作或者网络事件改变。 RecylerView类简化大数据集的显示和处理,通过提供: 布局管理者控制元素定位。 在通用的元素上操作上显示默认的动画,比如移除和增加元素。 使用RecyclerView组件,你需要指定一个Adapter和布局管理器

The Design of HDFS

左心房为你撑大大i 提交于 2019-12-06 06:00:20
HDFS is a filesystem designed for storing very large files with streaming data access patterns, running on clusters of commodity hardware. Let’s examine this statement in more detail : Very large files “Very large” in this context means files that are hundreds of megabytes, gigabytes, or terabytes in size. There are Hadoop clusters running today that store petabytes of data. Streaming data access HDFS is built around the idea that the most efficient data processing pattern is a write-once, read-many-times pattern. A dataset is typically generated or copied from source, and then various

创建Material Design风格的Android应用--使用自定义动画

人盡茶涼 提交于 2019-12-05 06:54:22
动画在Material Design设计中给用户反馈放用户点击时,并且在程序用户界面中提供连贯的视觉。Material主题为按钮(Button)和activity的转换提供了一些默认的动画,在android5.0(api 21)和更高的版本,你可以自定义这些动画和创建一个新动画: Touch feedback(触摸反馈) Circular Reveal(循环揭露效果) Activity transitions(Activity转换效果) Curved motion(曲线运动) View state changes (视图状态改变) 自定义触摸反馈 触摸反馈在Material Design中在触摸点提供了一个即时视觉确认当用户作用在UI元素。按钮的默认触摸反馈动画是使用了新的RippleDrawable类,它会是波纹效果在不同状态间变换。 大多数情况下,我们可以使用这个功能通过在xml文件中定义背景: ?android:attr/selectableItemBackground 有界限的波纹 ?android:attr/selectableItemBackgroundBorderless 可以超出视图区域的波纹 ?android:attr/selectableItemBackgroundBorderless 是21新添加的api 另外,还以使用 ripple 元素定义