← All learning materials
Project Overview · 15 MIN READ · DEVELOPER GUIDE

Start here: the WebsHigher codebase

Understand the languages, folders and request flow before making your first change.

Learning progress is saved in this browser when local storage is available.

The technology stack

PHP runs server-side page logic and produces HTML. HTML defines document structure, CSS controls layout and appearance, and JavaScript adds browser interactions and API requests. MySQL stores application records; PHP uses PDO to execute queries. JSON carries API responses and template configuration. Apache rewrite rules provide clean URLs.

Find your way around

Root PHP files are page and endpoint entry points. includes/ holds reusable PHP helpers and JSON manifests. assets/css/ and assets/js/ hold browser styles and behavior. category/ holds template source files. scripts/ contains build and maintenance tools. tests/ contains focused regression checks.

Follow one page request

A visitor requests /academy. Apache resolves the matching PHP file through .htaccess. PHP loads the learning data and shared Academy header, then returns HTML. The browser loads the CSS and JavaScript. Search and filters update the cards locally without a database request.

Syntax in practice

A focused learning example. Read the referenced source file for its full application context.

<?php
require_once __DIR__ . '/includes/solution-distinct-templates.php';
$templates = wh_solution_distinct_templates('travel');
foreach ($templates as $template) {
    echo htmlspecialchars($template['name'], ENT_QUOTES, 'UTF-8');
}
PUT IT INTO PRACTICE

Try it yourself

Draw the journey from /academy to academy.php and list which code runs in PHP versus the browser.

Work on a development copy, then explain what changed and how you verified it.

Project file map

Find these paths in your local WebsHigher checkout. Source paths are references, not public downloads of application code.

  • .htaccess
  • clean-url-router.php
  • includes/solution-distinct-templates.php

Keep learning

Run the project locally →PHP syntax and reusable page components →Build responsive pages with HTML and CSS →
Get Started