I'm currently creating a web app. The app goes like this, the client creates something like reports in the web app, and we are using html5 and php and mariadb w/ phpmyadmin for our front end and database. And then, the report will send to the server. And the admin of the server will give response to the report. Now I am wondering on how the admin will response. Should I create a new webpage for the admin so he can receive the report? Should I use websocket? or is there something else? Any idea? Thank you very much in advance.
Since a web page report submission is inherently asynchronous (ie you don't know when it will occur), it follows that the admin response to submitted reports should also be asynchronous (since admins have to go to the toilet every now and then, much to the chagrin of management).
Your report system should post the report to a queue of 'to-be-processed' inbound reports. The admin could have either a web page portal (or a custom native applicatoin) for viewing pending reports. From there the admin can select one, view it, send client an update, close it. in other words, whatever host of actions the admin is expected to perform.
In this manner you can have a super admin interface that monitors one or more admins responding to reports and offers a higher level view of all the pending reports (time on queue) and the number of closed reports per admin per hour/day .. you could even make a graph..everyone likes graphs.
hope that helps.