Course Name | Introduction to Web Programming (CMPT 105) |
---|---|
Course Description | This course was an introduction to the components of web programming. It introduced the class to HTML and PERL. The basic web page markup uses HTML, and PERL is used to create dynamic content, such as displaying a username or completing a calculation, which is impossible with only a static HTML page. |
Artifact Description | This assignment was the final project in the course. The task was to create a Craps game in which a user logs into their account, makes a bet, then rolls dice until either winning or losing the game. In addition, there must be a page to allow a new user to create an account. This assignment required me to put to use all of the things I learned in the course. The pages all display basic HTML. The PERL scripts perform calculations, generate random numbers (for dice), make use of variables, read files, and write to files. |
Assignment Grade | A |
Course Grade | A |
Course Reflection | Prior to entering the course, I knew HTML, but I didn't know PERL. I had prior knowledge of PHP, a language based off PERL, but PHP is much more flexible, and generally more tolerant of errors. A lot of commands are similar between the 2 languages, so PERL was easy for me to learn. There are some things I had to get used to, like the shabang line (the line that starts with #!, a hash and a bang). The most important things I learned from the course were the need to properly structure my code, to debug code, and the most common errors to look for. |
Link to Assignment | Play the Game! |