php codweComputer Science 30 Course Description:

This course introduces students to the nuts and bolts of HTML (HyperText Markup Language), the programming language used to create web pages. This course explains what HTML is, how it's structured, and presents the major tags and features of the language. Discover how to format text and lists, add images and flow text around them, link to other pages and sites,  and create HTML forms. Students will also start working with Cascading Style Sheets (CSS).

Topics include:

  • What is HTML?
  • Using HTML tags and containers
  • Understanding block vs. inline tags
  • Controlling line breaks and spaces in text
  • Aligning images
  • Linking within a page
  • Using relative links
  • Working with tables
  • Adding buttons and check boxes to forms
  • Applying CSS
  • Optimizing your pages for search engines


PHP is a popular, reliable programming language at the foundation of many smart, data-driven websites. Computer Science 30 students learn the basics of PHP (including variables, logical expressions, loops, and functions), understand how to connect PHP to a MySQL database, and gain experience developing a complete web application with site navigation, form validation, and a password-protected admin area.  

Students will have access to an Apache Web Server account and will be learning how to develop their application with NotePad++ and using Filezilla to FTP files to the server.  Students will also work with phpMyAdmin to create and modify MySQL tables.

Computer Science 30 also covers the basic CRUD routines for updating a database, debugging techniques, and usable user interfaces. Along the way, students receive practical advice, examples of best practices, and refactoring techniques to improve existing code.

Topics include:

  • What is PHP?
  • Exploring data types
  • Controlling code with logical expressions and loopsUsing
  • PHP's built-in functions
  • Writing custom functions
  • Building dynamic webpages
  • Working with forms and form data
  • Using cookies and sessions to store data
  • Connecting to MySQL with PHP
  • Creating and editing database records
  • Building a content management system
  • Adding user authentication

 Take a tour of the final project

Teacher: Mr. Boulton

Prerequisite: Computer Science 20