Store table data on the device.

0

I am developing an application for a company where I order meals, this application is in PHP, as I am new in the area I wanted to know if it is possible to have the employee base saved on the tablet, so when typing the employee's enrollment it loads the name without having to make a request on the server, in order to consume less mobile data. I know there is a list or array that would have this information.

    
asked by anonymous 05.01.2018 / 00:20

1 answer

0

In PHP it is not possible to do this, after all PHP is a web language that runs only on the server side. One way to do this would be to develop an application that can be in android for example, and use a SQLite database on the mobile / tablet to store the employees, but even with this solution the application would still have to make some requests to update its records if a new employee were added to the database. Usually when we develop a PHP application that will be used by some company the company is expected to provide a larger data package for the employees, or that the application is used internally using a Wi-Fi network (in case it is used by mobile devices) .

    
05.01.2018 / 22:42