This is the Linux app named EventDispatcher Component whose latest release can be downloaded as v6.3.2.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named EventDispatcher Component with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
EventDispatcher Component
DESCRIPTION
The EventDispatcher component provides tools that allow your application components to communicate with each other by dispatching events and listening to them. Object-oriented code has gone a long way to ensuring code extensibility. By creating classes that have well-defined responsibilities, your code becomes more flexible and a developer can extend them with subclasses to modify their behaviors. But if they want to share the changes with other developers who have also made their own subclasses, code inheritance is no longer the answer. Consider the real-world example where you want to provide a plugin system for your project. A plugin should be able to add methods, or do something before or after a method is executed, without interfering with other plugins. This is not an easy problem to solve with single inheritance, and even if multiple inheritance was possible with PHP, it comes with its own drawbacks.
Features
- EventDispatcher component implements the Mediator and Observer design patterns to make all these things possible and to make your projects truly extensible
- When an event is dispatched, it’s identified by a unique name (e.g. kernel.response), which any number of listeners might be listening to
- When the dispatcher notifies listeners, it passes an actual Event object to those listeners
- The base Event class contains a method for stopping event propagation
- The dispatcher is the central object of the event dispatcher system
- When an event is dispatched via the dispatcher, it notifies all listeners registered with that event
Programming Language
PHP
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/eventdispatcher-comp.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.