Impact of inserting data directly into the db


I am developing a chat module for php5/mysql-based dating website (since a long time now) where the users send chat requests to one another.

If I am not misunderstanding it, the solution is to add roster subscriptions capabilities to the website, along with the the denial/acceptance of the subscriptions.

As a classic solution, I have the class.jabber.php class, but I have no idea how compatible it is with the latest version of OF3.6

The other solution is to handle thr roster table manually using sql only.

I would like to know what is your experience with such operations and what does the tech team advise to do in such cases ?