Lesson 2.2 Shopping and Social on the Web

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 problem 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 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. Students also begin selecting topics for the CS Principles Performance Tasks as described in the final Problem 4.2.5 of the course.