Events
Posted: Thu Jan 20, 2022 10:21 am
Our current API has no events. It has come to my attention that various 3rd parties depend heavily on events for their functionality. So far, I'm aware of two strategies:
1. MySQL triggers added to the db. When a trigger fires, this runs a query or multiple queries.
2. Plug-in that responds to certain things happening in the UI. This also runs queries, either by calling OD code or directly.
So both of the above are making changes to the database. Both are being used by third parties in a manner that is more complex than I had imagined.
We cannot push developers onto the API until we can fully replace all their existing functionality. That means that we need to back off a little bit and work harder on building a better API.
1. MySQL triggers added to the db. When a trigger fires, this runs a query or multiple queries.
2. Plug-in that responds to certain things happening in the UI. This also runs queries, either by calling OD code or directly.
So both of the above are making changes to the database. Both are being used by third parties in a manner that is more complex than I had imagined.
We cannot push developers onto the API until we can fully replace all their existing functionality. That means that we need to back off a little bit and work harder on building a better API.