找回密码
 注册
搜索
热搜: java php web
查看: 633|回复: 0

Event Drivent Programming, Introduction, Tutorial

[复制链接]
发表于 2009-1-27 17:02:48 | 显示全部楼层 |阅读模式
Introduction
It's not easy to learn event-driven programming. If you're trying to program your first GUI
application, or trying to learn how to parse XML with a SAX parser, you've experienced the
difficulties first-hand.
Most, if not all, GUI systems and toolkits are designed to be event driven, meaning that
the main flow of your program is not sequential from beginning to end. If you've never

done GUI programming, this is one of the trickiest paradigm shifts.
— Robin Dunn, speaking on GUI programming at OSCON2004
Hollywood Principle: "Don't call us; we'll call you." ... You implement the interfaces,
you get registered. You get called when the time is right. This requires a distinctly
different way of thinking to that which is taught in introductory programming where
the student dictates the flow of control.
— Dafydd Rees, http://c2.com/cgi/wiki?HollywoodPrinciple

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|软晨网(RuanChen.com)

GMT+8, 2024-11-14 13:05

Powered by Discuz! X3.5

Copyright © 2001-2023 Tencent Cloud.

快速回复 返回顶部 返回列表