I want to implement the following instant chat function. Since chat history does not need to be saved, does that mean PHP is no longer needed? Just use JS directly?
Temporary chat records do not need to be stored in the database, and there is no need to use PHP language.
You can try Baidu Shangqiao, which is also a chat tool