I would like to create my custom event subscriber class. I read wiki https://github.com/dreamfactorysoftware/dsp-core/wiki/Server-Side-Events#php-subscriber-examples especially part about custom php class. I have a problems with creating instance of my class - it’s never created. I add autoload.php in storage/.private/config but it’s never called too. Where is the on() method of the DSP’s main application instance?
I have dsp 1.8.0
What is the best technique write own server side event listener? In my case I would like to send messages to social networks (twitter, …) after successful post into my database table with formatted information from that table.
Thank you for your help.