Lesson 2.2 Shopping and Social on the Web

The goal for this lesson is for students to understand the role of client-side code, server-side code, and databases in delivering interactive web content. The hook is a project in which CS students collaborate with art students to publish content on the Web. Students are provided with JavaScript and PHP code and can access an SQL database from a secure shell command line as well as through PHP. Students compare languages encountered so far to generalize the concepts of sequencing instructions, selection of instructions by conditionals, iteration, and the common roles of variables. Students explore and compare career paths within computing.

Essential Questions
  • How does the Internet work?
  • How can we protect ourselves, our privacy, and our assets when working on the Internet?
  • How has the Internet affected society?