Clinical Professor, School of Information
Your browser is ancient!
Upgrade to a different browser to experience this site.
In this course, we'll look at the object oriented patterns available in PHP. You'll learn how to connect to a MySQL using the Portable Data Objects (PDO) library and issue SQL commands in the the PHP language. We'll also look at how PHP uses cookies and manages session data. You'll learn how PHP avoids double posting data, how flash messages are implemented, and how to use a session to log in users in web applications. We'll then build the first 'complete' application that has multiple screens to Create, Read, Update and Delete (CRUD) our data. This brings all the previous concepts together and will form the basis for all later web applications. It is assumed that learners have already taken the Building Web Applications course in this specialization.
Welcome to Building Database Applications in PHP, an online course designed to teach you how to create dynamic, data-driven web applications using PHP. You will learn object-oriented programming patterns, connect PHP to MySQL with Portable Data Objects (PDO), manage cookies and sessions, prevent double-posting, implement flash messages, and build a complete Create, Read, Update, and Delete (CRUD) application. This course assumes prior completion of Building Web Applications.
This abbreviated syllabus description was created with the help of AI tools and reviewed by staff. The full syllabus is available to those who enroll in the course.
Module 1: PHP Objects
Module 2: Connecting PHP and MySQL
Module 3: PHP Cookies and Sessions
Module 4: PHP Redirect, Routing, and Authentication
Module 5: Building a CRUD Application
Course materials and assignments are self-paced. You must earn an overall grade of 80% to pass and receive the certificate. Assignments in each module are worth 25% of your final grade.
Clinical Professor, School of Information
Course content developed by U-M faculty and managed by the university. Faculty titles and affiliations are updated periodically.
Intermediate Level
Some related experience required