As in Project #3, you will develop this project on the Omega web server and you will test the project on your PC/laptop using the Mozilla Firefox web browser. Login at omega.uta.edu using SSH and do the following:
cd public_html wget http://lambda.uta.edu/cse4392/project4.tgz tar xfz project4.tgz cp project3/.htaccess project3/.htpasswd project4/ cd project4The project4 directory contains 3 files: proxy.php, map.html, and map.js. As in project #3, you should not change proxy.php. All the web service requests to zillow.com should go through this proxy. See the example in map.js. Your project is to edit map.html and map.js as described in the description of the web application.
For this project, you will use the
http://omega.uta.edu/~xyz1234/project4/map.html(use your username instead of xyz1234) and by typing the address of some existing house. It will display the estimated value of this house (empty if the address is invalid).
How to URL-encode the address to send it to zillow: use the
How to extract the Zestimate value from the zillow XML response: use the method getElementsByTagName('amount').
Note that everything should be done asynchronously and your web page should never be redrawn completely. You need only one XMLHttpRequest object for sending a request to Zillow, since Google Maps is already asynchronous.
Important: In the commet on top of your music.html file, put the URL address to run your web application, such as http://omega.uta.edu/~xyz1234/project4/map.html. Use the form below to submit your map.html and map.js files. We do not accept email or hardcopy submissions. You may submit your files as many times as you like, but only the most recently submitted files will be retained and evaluated (newly submitted files replace the old files under the same file name). After you submit the files, please double-check that your submitted files are correct by clicking on the Status link.Last modified: 10/10/13 by Leonidas Fegaras