You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ESPressio Event library has an internal dependency, which is the [`ESPressio Threads library`](http://github.com/Flowduino/ESPressio-Threads).
45
+
46
+
This library for Event-Driven Development (EDD) builds upon the Threading library directly, so please pay attention to include both libraries in your projects.
47
+
37
48
## Platformio.ini
38
49
You can quickly and easily add this library to your project in PlatformIO by simply including the following in your `platformio.ini` file:
39
50
@@ -46,3 +57,9 @@ lib_deps =
46
57
Please note that this will use the very latest commits pushed into the repository, so volatility is possible.
47
58
This will of course be resolved when the first release version is tagged and published.
48
59
This section of the README will be updated concurrently with each release.
60
+
61
+
## What is "Event-Driven" Development?
62
+
Event-Driven Development is a means of fully (and truly) decoupling your code from each distinct functionality.
63
+
64
+
By Dispatching "Events" (*through a Queue or a Stack, see later*) containing context-specific "payload" information, and having separate code *Listen* for those Events, we are able to ensure that no direct relationship need exist between either distinct functionality.
65
+
In this way, distinct functionalities can be developed in total indepdenence of each other, and all that need be agreed are the Events that will be Dispatched and Received.
0 commit comments