CSUMB-SP17-CST499 / VTRMD

Visualization of Traceroute Results of Mobile Devices
1 stars 4 forks source link

Create client entry point to application data access layer #14

Closed rciampa closed 7 years ago

rciampa commented 7 years ago

The client entry-point into the data access layer should be named, cals-data-access.php. This is the only data access layer PHP file to reside in the root "/" folder of the we application.

Its main set of features should include: -Accepting incoming asynchronous request for database access -Checking request ($_GET or $_POST) super global arrays for functions requested by the client caller -Ensuring that the required parameters were passed in the asynchronous client request for the function called -Executing the required function via the appDataAccess.inc.php file. -Setting the HTTP/1.1 headers to the appropriate content type based on what is returned to the calling client. -Returning the requested data from the database and relative application info in JSON, HTML or JavaScript.