Summer 2017 | University of California, San Diego CSE Department
This homework presents an opportunity to prove to ourselves that the languages and architectures used in Web programming are quite related to each other. Their are trade-offs with the different approaches, but our small test programs we write in this homework might sway us not to get caught up in the syntax of the moment battle and focus on the parts of Web development that are more similar than different.
Our aim for this homework is to write the following small programs as tests of core server-side Web basics:
You will write all these programs in 3 different ways
Your current server should handle the CGI and PHP content already. If not fix this first before starting. You likely will not have NodeJS running yet so once you are at that step add it to your hosted environment before coding. You should approach the programs in order first with CGI, then PHP, then Node. The order may reveal something itself. Advanced students may write the same 4 examples as Apache Modules if they desire for a bonus of 8pts worth of extra credit. You must speak to the Prof. before undertaking that effort for clearance.
Please indicate that you are done to the TA via e-mail by 9 PM 8/22. Your code should be in your repo at that time.