Programacion orientada a eventos
http://Tutorial_EventDrivenProgramming.sourceforge.net Stephen Ferg (steve@ferg.org) Version 0.2 – 2006-02-08
This work is licensed under a Creative Commons Attribution License http://creativecommons.org/licenses/by/2.5/
The Creative Commons Attribution License gives you permission to do virtually anything you want with thiswork, including copying it, distributing it, and making derived works (including translations) based on it – as long as you give credit to the original author (Stephen Ferg). In particular, I encourage teachers to make copies of all or parts of this document for their students, and translators to translate this document into other languages. It is not necessary to ask for permission. -- SteveFerg
1
Revision History
(most recent first) ? ? 2006-02-08 2006-01-10 version 1.0 released version 0.3 – Modified beta version version 0.2 – modified draft version version 0.1 – First draft
Acknowledgments
Thanks to my co-worker Jeff Davis, for scanning several of the diagrams. Thanks to my co-worker Gary Ault, who reported a mistake in one of the state transition diagrams.
2Contents
Revision History................................................................................................................................ 2 Acknowledgments ............................................................................................................................. 2 In The Beginning – TransactionAnalysis........................................................................................ 7 Dataflow Diagrams ....................................................................................................................... 7 Structure Charts.......................................................................................................................... 10 The Handlers DesignPattern..........................................................................................................11 The Headless Handlers Pattern................................................................................................. 12 The Extended Handlers Pattern ................................................................................................ 13 The EventQueue......................................................................................................................... 13 Some Examples of the Handlers Pattern................................................................................... 14 Objects......................................................................................................................................... 14Systems........................................................................................................................................ 15 Client-Server Architecture ......................................................................................................... 18 Messaging Systems ..................................................................................................................... 19 Frameworks..................................................................................................................................... 21 Object-Oriented Event-Driven Programming........................................................................... 21 Frameworks ................................................................................................................................ 25 SAX – an example of aframework ............................................................................................ 27 Why programming with a framework is hard...........................................................................29 GUI programming...........................................................................................................................30 Why GUI programming is hard...
Regístrate para leer el documento completo.