This online course is 6 weeks long, followed by a 2-week period to complete the final exam (online, open book). Lessons are released on Wednesdays and Fridays of each week. You are not required to be online at any specific time. You register and pay on our website and instructions on how to access your course will be emailed to you immediately after registration.

The actual time commitment involved in completing any given lesson can vary significantly based on a number of factors including reading speed, familiarity with the topic, related experience, the amount of time spent completing optional assignments, and involvement with discussion board. For planning purposes we suggest setting aside 1 hour per lesson as a starting point.

Intermediate PHP and MySQL

Intermediate PHP and MySQL

$190 + applicable tax

Learn how to create an interactive online store complete with an online catalog of products, allowing customers to browse the catalog to select items, place them in a shopping cart, and complete an order. In this six-week online course, you'll see how to create a commercial online store using the PHP programming language and the MySQL database server.

We'll walk through the steps for developing a complete online store Web application. During the course, you'll see step-by-step how to create all of the software and database objects used in the application. The application consists of two parts, an administrative Web application allowing a store manager to post new products, alter product information, and process customer orders, and a customer Web application allowing customers to browse the catalog of products, select products for purchase, and check out using a shopping cart. At the end of the course, you'll be able to use these code templates to create your own online store application.

Week 1 Wednesday - Lesson 1

Review the Basics of PHP and MySQL
In today's fast-paced world, it's almost crucial for every type of business to have an Internet presence. In this lesson, you'll peek at behind-the-scenes components of a commercial-quality Web store application. You'll see how to use the PHP programming language to create the Web store storefront page, complete with product catalog and customer ordering system. You'll discover how Web stores use the popular MySQL database server to maintain the store inventory and track customer orders.

Week 1 Friday - Lesson 2

Advanced PHP Programming
Because of the complexity of creating a Web store, we'll need to discuss some advanced topics in PHP programming. In this lesson, you'll create functions in your PHP programming code that you can use every time you need to perform a specific feature in your applications. We'll examine the PHP code required to manage and manipulate images within your Web site.

Week 2 Wednesday - Lesson 3

Advanced SQL Techniques
Complex Web applications often require complex database structures. Today, you'll explore some of the advanced features that the MySQL database server offers. You'll discover how to use the MySQL console to enter SQL commands, and build commands to create the application database objects. You'll manually create a database, user account, and all of the tables required for the application. You'll find out about some advanced features that you'll be using, such as creating foreign table key constraints and table views.

Week 2 Friday - Lesson 4

Create Back-End Applications
Every Web store has an administrative interface, which allows the store manager to create and manage the product catalog, as well as process customer orders. In this lesson, you'll dive into the Web store backend application, which allows the store manager to control the Web store environment. You'll examine how to force the store manager to log into the backend system, and how to restrict the system so only the logged-in manager can perform specific functions. You can use this basic backend template to create your own Web store management interfaces for other Web applications.

Week 3 Wednesday - Lesson 5

Create New Categories and Products
The most important feature in the Web store backend application is the ability to create the product catalog. In today's lesson, you'll learn how to incorporate images into your Web store application. You'll discover how to use the MySQL Binary Large Object (BLOB) data type to store images within the MySQL database. And you'll find out how to organize your product catalog by creating sections in the product catalog and assigning each product to a specific section.

Week 3 Friday - Lesson 6

Display Images
After having a store full of products, your store manager will need to know how to manipulate existing product information. In this lesson, you'll build the backend Web pages required to allow the store manager to modify information in existing product database records.

Week 4 Wednesday - Lesson 7

Create a Storefront Web Application
In this lesson, we'll turn our attention to the storefront application. The storefront lays out the basic format for the entire Web store, and gently guides customers to the correct location. You'll see how to best organize and present your products in the store without overwhelming your customers with information while providing them with an easy path to obtaining the information they're looking for.

Week 4 Friday - Lesson 8

Create and Use a Shopping Cart
Once you have your customer in your Web store, you'll want them to purchase something. In this lesson, you'll discover how to create a shopping cart for your customers. You'll learn how to allow customers to select products to place in their shopping carts, and how to display shopping cart information for them to view and modify.

Week 5 Wednesday - Lesson 9

Create a Checkout Web Page
After allowing customers to place products in their shopping carts, the next most important feature is to allow them to check out. You'll create registration pages, to allow your customers to register as returning customers to make future checkout sessions easier. You'll also find out how to take steps to ensure that the data your customers enter in the registration process is valid, and how to protect it from prying eyes.

Week 5 Friday - Lesson 10

Use MySQL Transactions
When a customer checks out and places an order, you must be able to process the data in your application. In this lesson, we'll walk through the PHP programming and MySQL database techniques required to perform this function. We'll also look at how to use database transactions to keep the information in your database tables synchronized so your data is accurate at all times.

Week 6 Wednesday - Lesson 11

Generate Reports
With the bulk of the Web store application finished, we'll turn our attention to a few of the finer details that'll make your Web store more professional. First, you'll learn advanced MySQL searching techniques to help your customers find just what they're looking for. Next, you'll find out how to generate reports directly from your Web store database for your store manager. You'll discover how to extract the data in your database and produce fancy spreadsheet reports that would make any manager envious.

Week 6 Friday - Lesson 12

Use Object-Oriented Programming Techniques
The PHP programming language allows you to incorporate object-oriented programming principles easily in your Web page code. In this lesson, we'll walk through the basic principles of object-oriented programming and how to use it in a Web environment. You'll learn how to incorporate the object-oriented database features in PHP in your Web applications. Finally, you'll create your own object-oriented programming classes to interact with your database table that you can use in any application.
A PHP and MySQL development environment (the first lesson in the course walks through installing the Wampserver software, which provides a full PHP and MySQL development environment in one package. You download Wampserver for free from; Windows NT, Windows 2000, Windows XP, or Windows Vista (Wampserver does not support either Windows 98 or Windows Me.)

Note: Macintosh users can't use the Wampserver software and must provide their own PHP and MySQL development environment. Prior HTML coding experience is helpful, but not required.

Course Details
This course is fully online, you require internet access and an email account. The course duration is 6 weeks, followed by a 2-week period to complete the final exam (online, open book). Lessons are released on Wednesdays and Fridays of each week, for a total of 12. You are not required to be online at any specific time.

In addition to the specific lesson content, there is a discussion board with each lesson and often there is an optional assignment to apply the learning.

Following each lesson, there is a short multiple choice quiz. Your score on these quizzes does not count towards the final mark but completing these helps solidify your learning as well as prepare you for the final exam.

The final exam is an open-book, multiple choice exam and you need to achieve a minimum of 65% on the final exam to pass the course. There is only one opportunity to pass the exam. A certificate of completion from Ed2Go is available for printing immediately upon successful completion of the course and a certificate from the University of Waterloo will be emailed typically 1-2 weeks later.

Many of the Ed2Go courses are eligible towards the various online certificates offered by Professional Development.

Choose your course start date:

Aug 12, 2020Sep 16, 2020Oct 14, 2020Nov 11, 2020Dec 09, 2020