Simple Signal Slot
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/sigslot
软件介绍
This plugin is utility for convinience of communication between iframes in HTML page,
it is mimicking from Qt's signal/slot concept.
you can do with jquery.sigslot.js:
- send signal to N-depth iframe page
- async. or sync. communication
- exclude or include particular iframe
- allow multiple slot or just one
Usage
([ .. ] for opton , '|' for seperator)
- 1. slot
$.slot.add( 'sig/slot id', function [,repeatable] )- repeatable = true | false
- false: allow only one slot function for signal-id (default)
- true: allow every slot function for signal-id, even it is identical. so, slot function is called as many as times you registered
- ex) $.slot.add( 'test', [a,b,c,d], true );
$.slot.remove( 'sig/slot id'[, function]);- * if function is omitted, remove all slot functions for signal-id
$.slot.countOf( 'sig/slot id');- * return number of registered slot function for signal-id
- 2. signal
$.signal( 'sig/slot id', args, [, options ] );- * args: arguments passing to slot function. wrap by [] if you want to pass more than one.
- * options : simple object, for ...
-
direction = $.signal.SELF | $.signal.UPLINK | $.signal.FOLLOWLINK | $.signal.OTHER | $.signal.BROADCAST - purpose: direct where to pass signal. default for all iframes include window.self
- - $.signal.SELF (send signal only to current page that the signal occur)
- - $.signal.UPLINK (send signal only to parents iframes EXCLUDE current page that the signal occur)
- - $.signal.FOLLOWLINK (send signal only to child iframes EXCLUDE current page that the signal occur)
- - $.signal.OTHER (send signal to all iframe pages EXCLUDE current page that the signal occur)
- - $.signal.BROADCAST (send signal to all iframes INCLUDE current page that the signal occur)
-
sync = true | false - purpose: select async or sync call. boolean type. default is sync.
- * $.signal will NOT cause error, if there's no slot function for signal-id. It will do nothing.
大型分布式网站架构设计与实践
陈康贤 / 电子工业出版社 / 2014-9-1 / 79.00元
《大型分布式网站架构设计与实践》主要介绍了大型分布式网站架构所涉及的一些技术细节,包括SOA架构的实现、互联网安全架构、构建分布式网站所依赖的基础设施、系统稳定性保障和海量数据分析等内容;深入地讲述了大型分布式网站架构设计的核心原理,并通过一些架构设计的典型案例,帮助读者了解大型分布式网站设计的一些常见场景及遇到的问题。 作者结合自己在阿里巴巴及淘宝网的实际工作经历展开论述。《大型分布式网站......一起来看看 《大型分布式网站架构设计与实践》 这本书的介绍吧!
RGB HSV 转换
RGB HSV 互转工具
HSV CMYK 转换工具
HSV CMYK互换工具
