|
Until you sign up you can't do much. Yes, it's free.
|
|
|
|
|
|
|
 | / / / Viewing Topic
|  |
|
|
Event Driven Programming |
| What is it mainly used for? |
|
|
|
Replies: 2 Last Post Oct. 31, 2008 12:40am by Ethryx
|
|
|
|
|
|
|
|
|
 LiveWire Humor
|
|
pleaseremove
meh
Patron
Tech Support Leader
|
Umm, examples are pretty simple, could just be a button on a very simple application, or it could be some form of data poller which checks a certain location for a certain file and if it is there it does something like important it and process it.
------- Anyone who isn't confused really doesn't understand the situation http://craigk.org/pictures/ Can you work out the code?
|
|
|
Ethryx
Enlightened One
Patron
Tech Support Leader
|
Event Driven Programming is used for a lot of OS applications and some web applications. It basically allows for the flow of the program to be determined by user or program generated actions (mouse clicks, key presses, etc). In programs that are not event driven, the flow of the program will be from Start to Finish and never change no matter how many times it is ran. Also, the program will not continue to run unless the program is in some type of loop or waiting for user input. On the other hand, in a program that is Event-driven, the flow of the program can be different every time you run it since the flow is determined by events. The user could click Button A and then Button C which will trigger Event A. While another time, the user could click Button A and then Button B which would trigger Event B. I personally like Event-driven programs, and they are usually the ones I program with, since they allow the flexibility that I am trying to achieve almost every time. Also, there are a lot of web-based applications now that are event driven, which is creating new possibilities in web-based development.
------- Learn from yesterday, live for today, hope for tomorrow..
|
12:40 am on Oct. 31, 2008 | Joined: Jan. 2007 | Days Active: 604 Join to learn more about Ethryx New York, United States | Straight Male | Posts: 5,202 | Points: 14,931
|
|
| |
|
|
|
| Looking for something else?
|
|
|
|
|
|
 | / / / Viewing Topic |  |
|