{"id":2680,"date":"2022-06-19T20:49:02","date_gmt":"2022-06-20T00:49:02","guid":{"rendered":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/?p=2680"},"modified":"2022-06-19T20:49:02","modified_gmt":"2022-06-20T00:49:02","slug":"what-does-it-mean-to-be-event-driven","status":"publish","type":"post","link":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/2022\/06\/19\/what-does-it-mean-to-be-event-driven\/","title":{"rendered":"What Does It Mean To Be Event-Driven?"},"content":{"rendered":"<p>The term event-driven programming is pretty self explanatory; it is programming that is driven by events. But it becomes a little tough to actually figure out what that means. I think Wikipedia sums it up nicely: &#8220;In\u00a0computer programming,\u00a0event-driven programming\u00a0is a programming paradigm in which the\u00a0flow of the program\u00a0is determined by\u00a0events\u00a0such as user actions (mouse\u00a0clicks, key presses),\u00a0sensor\u00a0outputs, or\u00a0message passing\u00a0from other programs or\u00a0threads.&#8221;\u00a0<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/media.geeksforgeeks.org\/wp-content\/uploads\/20211017211104\/EDP1drawio-660x305.png\" \/><\/p>\n<p>Source: www.geeksforgeeks.org<\/p>\n<p>&nbsp;<\/p>\n<p>Basically, the main loop picks senses an event and then triggers a response to the event. A simple way to look at it is to think of it as an input-output loop; when something specific comes in, something specific goes out.\u00a0<\/p>\n<p>One benefit to this method of programming is that it can be flexible. But it can be slow and complicated.\u00a0<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The term event-driven programming is pretty self explanatory; it is programming that is driven by events. But it becomes a little tough to actually figure out what that means. I think Wikipedia sums it up nicely: &#8220;In\u00a0computer programming,\u00a0event-driven programming\u00a0is a programming paradigm in which the\u00a0flow of the program\u00a0is determined by\u00a0events\u00a0such as user actions (mouse\u00a0clicks, key [&hellip;]<\/p>\n","protected":false},"author":28313,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[663943],"tags":[],"class_list":{"0":"post-2680","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-instructor","7":"entry"},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/posts\/2680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/users\/28313"}],"replies":[{"embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/comments?post=2680"}],"version-history":[{"count":2,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/posts\/2680\/revisions"}],"predecessor-version":[{"id":2703,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/posts\/2680\/revisions\/2703"}],"wp:attachment":[{"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/media?parent=2680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/categories?post=2680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.mis.temple.edu\/mis2101sec712summer2022\/wp-json\/wp\/v2\/tags?post=2680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}