Hello, I want to ask for a suggestion. I have a website, where user need to put some inputs and after the user click the button, the system will do data processing for each input. The problem now is, user need to wait for the data to be process. More input, more waiting time. I'm thinking to have a system where the input will be store in a database or file and the server will process the input later in the background.User can check the status of the output at certain page. Is there any way to do the queue data processing ?
There's a way for everything. But I don't get it, it shouldn't take THAT long to process data.. It would help if you elaborate what type of data you are processing, etc.
You just need to use ajax to process the submitted data and present a new input box/cleared input box. read up anything on ajax (which is actually javascript) and how it can work with PHP in the backend. If you are using a content management systems like WordPress, Joomla or Drupal you will already have all the scripts you need, you just need to know how to use them.
well you can simply store data in a table that has a column that stores the current data status, set it to 0 during the insert and update it to 1 when it's been processed. Give the user a page to check his data status If you give us more details maybe we can help you better