Reference no: EM131394324
1. We want to see the http headers for a web page. You can do this in 2 ways. (1) Use telnet on your own client. If it is not installed, for example on windows, do a search for enabling telnet on windows and do that (see Exercise 1 telnet example above). (2) Use an online telnet client, for example, https://telnet.browseas.com/. You can just use the returned text for the complete response as your answer in a text file (this is the easy way). Note the URL to your text file on gl.
2. JQuery and XMLHTTPRequest exercise - Go to the w3schools.com site for Learn JQuery. Peruse the basic JQuery tutorial. Your goal is not to memorize, but to see how it works. Under the JQuery Get Started section, note that at the bottom of the page, it tells you how to include the JQuery library as a link from the cloud - use that method. Go to the JQuery Examples section and implement the first Ajax example for JQuery load(). Be sure to use a different .txt file contents that includes your name in yourgl account. Note how easy this makes an Ajax call. Note the URL to your HTML file.
3. CGI exercise - We will just implement a simple CGI program using Perl. You will just copy my program and implement it in your account. CGI libraries offer sophisticated integration with a programming language. Go to https://swe.umbc.edu/~canfield/programs/colors4.html and choose a color and submit. See how the results work and view the returned HTML source. You can just replace the .cgi extension with .txt to see the commented source code. Replace 'Gold' with a different color and implement these 2 files in your gl account. You can see all color names and codes in the w3schools HTML tutorial. Note the URL to your HTML file.
4. PHP exercise 1 - Implement the procedural example from the object-oriented php tutorial above on gl. Then add a function with 2 parameters to add a lastname to a person as in this output. See also php associative arrays. Note the URLs to your php file and a text version so I can see the php code.
5. PHP exercise 2 - Implement the OO example from the object-oriented php tutorial above on gl with the added function. Note the URLs to your php file and a text version so I can see the php code.
6. Create an HTML Table of Contents (toc) on gl. A toc here is simply a list of 7 links in HTML. Submit the single url to your toc on blackboard.