V2EX  ›  英汉词典

Event-driven

定义 Definition

Event-driven(事件驱动的)是一个形容词,指一种编程范式或系统架构,其中程序的执行流程由事件(如用户操作、消息、信号等)来决定和触发,而非按固定的顺序依次执行。广泛应用于软件开发、系统设计和用户界面编程中。

发音 Pronunciation

/ɪˈvɛnt ˈdrɪvən/

词源 Etymology

Event-driven 由两个英语单词组合而成。Event 源自拉丁语 eventus,意为"结果、事件",由 e-(出)和 venire(来)构成,字面意为"出现的事情"。Drivendrive 的过去分词,源自古英语 drīfan,意为"驱动、推动"。两词合在一起表示"由事件所驱动的"。该术语在20世纪后半叶随计算机科学的发展而广泛使用,用于描述一种响应式的程序设计思想。

例句 Examples

Modern web applications are typically built using an event-driven architecture.
现代网络应用通常采用事件驱动架构来构建。

Instead of polling the server constantly, the system uses an event-driven approach where actions are triggered only when specific changes occur, making it far more efficient.
该系统没有持续轮询服务器,而是采用事件驱动的方式,仅在特定变化发生时才触发操作,因此效率大大提高。

相关词汇 Related Words

文学与技术著作引用 Notable Works

  • **"Design Patterns: Elements of Reusable Object-Oriented Software"**(Erich Gamma 等著,1994)——书中介绍了 Observer 模式,这是事件驱动编程的核心设计模式之一。
  • **"Node.js Design Patterns"**(Mario Casciaro 著)——深入讲解了 Node.js 中事件驱动的非阻塞 I/O 模型。
  • **"Reactive Design Patterns"**(Roland Kuhn 等著)——探讨了事件驱动与响应式系统的架构设计原则。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5493 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 07:14 · PVG 15:14 · LAX 00:14 · JFK 03:14
♥ Do have faith in what you're doing.