Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > ANN: Introduction to Event-Driven Programming

Reply
Thread Tools

ANN: Introduction to Event-Driven Programming

 
 
Steve
Guest
Posts: n/a
 
      01-20-2006
I've just released a draft (beta) version of a paper called
"Event-Driven Programming: Introduction, Tutorial, History".

It is available at
http://eventdrivenpgm.sourceforge.net/

A few years ago I was trying to learn event-driven programming. I
searched the Web for an introduction to the basic concepts, but I
couldn't find one. This is my attempt to fill that void.

Suggestions for improvements can be sent to me at steve(at)ferg(dot)org.

 
Reply With Quote
 
 
 
 
Randall Parker
Guest
Posts: n/a
 
      01-20-2006
Steve,

This is an aside: I'd love to see someone implement in Python a
framework similar to the Quantum Leaps Quantum Framework for
event-driven programming. I think Python has some features that lend
themselves to a neater implementation than what can be done in C/C++.

More generally, I'd like to see an event driven framework which would
be more declarative than the Quantum Framework. Rather than write code
for most transitions it should be possible to declare in data what
various events cause as transitions from states to states. Then
optionally hang pointers to code for things to do before transitioning.
Even let the code return a flag to test for whether to transition.

 
Reply With Quote
 
 
 
 
Carl Cerecke
Guest
Posts: n/a
 
      01-23-2006
Randall Parker wrote:
> Steve,
>
> This is an aside: I'd love to see someone implement in Python a
> framework similar to the Quantum Leaps Quantum Framework for
> event-driven programming. I think Python has some features that lend
> themselves to a neater implementation than what can be done in C/C++.
>
> More generally, I'd like to see an event driven framework which would
> be more declarative than the Quantum Framework. Rather than write code
> for most transitions it should be possible to declare in data what
> various events cause as transitions from states to states. Then
> optionally hang pointers to code for things to do before transitioning.
> Even let the code return a flag to test for whether to transition.
>


There's a small discussion in this group currently regarding efficiently
representing state machines in python (without resorting to bytecode
hacks) under the thread "Python code written in 1998, how to
improve/change it?". That would be a part of what you want.

Cheers,
Carl.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MIT OpenCourseWare Introduction to Computer Science and Programming sato.photo@gmail.com Python 1 07-01-2009 12:36 AM
Prentice.Hall.Introduction.to.Java.Programming.Comprehensive.Version.6th.Edition. Kokarat Java 6 10-16-2007 08:55 PM
Introduction to Programming Using Java k.vidura@gmail.com Java 11 03-17-2006 04:05 PM
Introduction to Programming Using Java k.vidura@gmail.com Computer Support 0 03-15-2006 03:16 PM
Is there any good introduction books on C++multithread programming QQ C++ 3 05-17-2005 11:35 PM



Advertisments