Skip to content
AiX
AiX Academy

Full-stack web development with PHP and JavaScript

Build a database-backed web application with secure forms, a clean API and browser code that works.

Intermediate
4.14.1 out of 5 stars from 8 ratings(8 ratings) 12 learners

Created by Lerato Dlamini, Tshega Mampshika

  • Last updated November 2026
  • English
  • Certificate of completion

What you'll learn

  • Serve pages and handle forms in PHP with validation and sessions
  • Design MySQL tables with keys, and write joins for reporting
  • Run every database query through prepared statements
  • Protect forms with CSRF tokens and store passwords with hashing
  • Fetch JSON from your own API and update the page with JavaScript
  • Deploy and maintain a PHP application on shared hosting

Skills you'll gain

  • PHP 8
  • MySQL
  • JavaScript
  • Web security
  • REST APIs
  • Deployment

Course content

4 sections · 12 lectures · 3.8 total hours · ≈ 1.4 GB to download

PHP and the request cycle 3 lectures · 56 min

How a PHP page is served, and how it handles forms and sessions.

  • How a PHP page is served Preview 14 min · 105 MB
  • Forms, validation and sessions Locked until you enrol 22 min · 165 MB
  • Prepared queries with PDO Locked until you enrol 20 min · 150 MB
MySQL and data design 3 lectures · 54 min

Tables, keys and the queries that report on them.

  • Designing tables and keys Locked until you enrol 18 min · 135 MB
  • Joins and reporting queries Locked until you enrol 22 min · 165 MB
  • Migrations and seed data Locked until you enrol 14 min · < 1 MB
JavaScript in the browser 3 lectures · 52 min

Making pages respond without a full reload.

  • The DOM and events Locked until you enrol 16 min · 120 MB
  • Fetching JSON from your own API Locked until you enrol 20 min · 150 MB
  • Accessible forms and error messages Locked until you enrol 16 min · 120 MB
Securing and shipping a web app 3 lectures · 1 h 3 min

Protect users and put the site live.

  • CSRF tokens and password hashing Locked until you enrol 20 min · 150 MB
  • Deploying to shared hosting Locked until you enrol 18 min · 135 MB
  • Capstone: a booking site for a small business Locked until you enrol 25 min · < 1 MB

Requirements

  • Basic HTML and CSS
  • Completed AI Software Developer foundations, or equivalent Python or programming experience
  • A local PHP and MySQL environment or a shared hosting account

Description

PHP still runs a large share of the websites that small businesses depend on. This course teaches it the way professional teams use it today: strict types, prepared database queries, CSRF protection and password hashing from the first project, not as an afterthought.

You will design a MySQL schema, write the PHP that serves it, and add JavaScript that talks to your own API without a page reload. The course ends with a booking site for a small business that you deploy to shared hosting and document, so that the next developer can maintain it.

Instructors

Lerato Dlamini

Senior software engineer and AI trainer

  • 9 courses
  • 193 learners

Lerato leads the AiX software and AI courses. Lerato has built systems for public-sector clients and teaches the testing and code review habits that the courses depend on, with a focus on code that the next person can maintain.

Tshega Mampshika

Co-founder and CTO, AlgoAtWork

  • 14 courses
  • 257 learners

Tshega leads technology at AlgoAtWork, the company behind AiX Academy. Tshega leads the robotics, electronics and hardware courses and reviews the design of each pathway.

4.1 course rating · 8 ratings

4.14.14.1 out of 5 stars from 8 ratings8 ratings
  • 5 stars38%
  • 4 stars38%
  • 3 stars25%
  • 2 stars0%
  • 1 star0%
  • Christelle Visser
    3.03.0 out of 5 stars from 1 ratings

    Expects you to know basic HTML. Good for intermediate learners, not for true beginners.

  • Oupa Setlhare
    4.04.0 out of 5 stars from 1 ratings

    The JavaScript module is short, but the fetch and DOM lessons are practical.

  • Andile Gumede
    5.05.0 out of 5 stars from 1 ratings

    Lerato's code reviews on the mini projects were thorough and fair.

  • Yolanda Pretorius
    3.03.0 out of 5 stars from 1 ratings

    Two lessons had broken links to code files. The team fixed them after I reported it.

  • Megan Jacobs
    5.05.0 out of 5 stars from 1 ratings

    Built a booking form and API end to end. Good balance between the PHP side and the browser side.

  • Ayanda Ntuli
    5.05.0 out of 5 stars from 1 ratings

    Prepared statements and CSRF tokens from the first project. It teaches the habits that most tutorials skip.

Frequently asked questions

Will I learn PHP frameworks?

The course uses plain PHP so that you understand the request cycle. Framework lessons are an optional extra.

Which PHP version?

PHP 8.2 or later. The setup lesson covers installing PHP and MySQL on Windows and Linux.

What is the capstone?

A booking site with an admin page, email confirmations and a README for the next maintainer.

More in Software

Browse all courses
R4 250Full-stack web development with PHP and JavaScript