C. Testing and Deployment
Fig. 2 shows the interactions of the components required to create and run the application. The first request is initialized
at the browser, where the user would report a crime by putting a marker in the location on the map where the crime happened. By the used of Ajax the location of the marker is sent to the Apache Server. PHP then creates a formatted XML with the data from the database which is received by Ajax and parsed with JavaScript. When the JavaScript has the information, it can then call the Google API to load the map specific to that location. The process is then repeated,using a different PHP and AJAX script to load the map.