摘要:
事件驱动的一般步骤: 1、确定响应事件的元素 2、为指定元素确定需要响应的事件类型 3、为指定元素的指定事件编写相应的事件处理程序 4、将事件处理程序绑定到指定元素的指定事件 对于事件驱动模式,对象包括事件类型、事件对象、事件分发器、事件处理器,每种事件都有对应的事件处理器编写于处理函数中, 事件分 阅读全文
posted @ 2018-02-09 19:02
zzfx
阅读(2179)
评论(0)
推荐(0)
摘要:
A DFD shows what kind of information will be input to and output from the system, how the data will advance through the system, and where the data wil 阅读全文
posted @ 2018-02-09 18:42
zzfx
阅读(582)
评论(0)
推荐(0)
摘要:
Signal programming is used in the same sense as dataflow programming, and is similar to event-driven programming. The signal flow of a program or a si 阅读全文
posted @ 2018-02-09 18:34
zzfx
阅读(195)
评论(0)
推荐(0)
摘要:
脏数据在临时更新(脏读)中产生。事务A更新了某个数据项X,但是由于某种原因,事务A出现了问题,于是要把A回滚。但是在回滚之前,另一个事务B读取了数据项X的值(A更新后),A回滚了事务,数据项恢复了原值。事务B读取的就是数据项X的就是一个“临时”的值,就是脏数据。通俗的讲,当一个事务正在访问数据,并且 阅读全文
posted @ 2018-02-09 15:55
zzfx
阅读(2149)
评论(0)
推荐(0)