单点登录SSO(Single Sign On)说得简单点就是在一个多系统共存的环境下,用户在一处登录后,就不用在其他系统中登录,也就是用户的一次登录能得到其他所有系统的信任。单点登录在大型网站里使用得非常频繁,例如像阿里巴巴这样的网站,在网站的背后是成百上千的子系统,用户一次操作或交易可能涉及到几十 ...
分类:
其他好文 时间:
2017-09-20 10:23:37
阅读次数:
151
45. Single Number 在个数都为2的数组中找到个数为1的数 46. Missing Number 在数组中找到从0到n缺失的数字 47. Find the Difference 找两个字符串总t中多出来的那个字符 48. Linked List Cycle 判断一个链表是否有环 49. ...
分类:
其他好文 时间:
2017-09-19 21:25:00
阅读次数:
145
阅读目录: 1.原则 1.1.精简聚合 1.2.分离用例与接口功能(设计模式的用武之地) 2.工具、框架、组件 3.过程 1.1.精简聚合 1.2.分离用例与接口功能(设计模式的用武之地) 1】原则 原则对于任何一项技术实现来说都是至关重要的,在设计某一个系统功能的时候我们讲究的是设计原则: 【单一 ...
分类:
Web程序 时间:
2017-09-19 11:21:51
阅读次数:
235
1. 单一职责原则(Single Responsibility Principle - SRP) 原文:There should never be more than one reason for a class to change. 译文:永远不应该有多于一个原因来改变某个类。 理解:对于一个类而 ...
分类:
其他好文 时间:
2017-09-18 17:25:10
阅读次数:
128
前沿: 首先是看到了单例模型,想不明白 outer中的参数 为什么能像 global的参数 一样屹立不倒。 #单例模型 def single_model(cls): instance = {} def inner(*args, **kwargs): print if cls not in insta ...
分类:
编程语言 时间:
2017-09-18 17:20:40
阅读次数:
180
单页Web应用(single page web application,SPA),就是只有一张Web页面的应用,是加载单个HTML 页面并在用户与应用程序交互时动态更新该页面的Web应用程序。 单页Web应用 单页Web应用(single page web application,SPA),就是只有 ...
分类:
其他好文 时间:
2017-09-18 14:56:26
阅读次数:
486
There is a company that has N employees(numbered from 1 to N),every employee in the company has a immediate boss (except for the leader of whole compa ...
分类:
其他好文 时间:
2017-09-17 16:34:05
阅读次数:
225
一. 6大设计模式 Single Responsibility Principle : 单一职责原则 Liskov Substitution Principle : 里氏替换原则 Dependence Inversion Principle :依赖倒置原则 Interface Segregation ...
分类:
其他好文 时间:
2017-09-17 16:26:48
阅读次数:
122
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://ovcer.blog.51cto.com/1145188/1581326 [root@openfire-x86v-app01 ~]# tsung -f jabber_register ...
分类:
其他好文 时间:
2017-09-15 13:51:34
阅读次数:
273