· Decision 6 · Weeks 11, 13–14

"How do I put a database online?"

A schema in your laptop helps no one. By the end of these weeks, you'll have a real MySQL database running on your own domain, fronted by a PHP API, accessible from anywhere. This is the part you put on your résumé.

MySQL Hostinger PostgreSQL PHP API 3-Tier

Why this decision matters

Most database courses stop at "here's how to write a query." This one keeps going. By the time you're done, you'll have actually deployed a database to the public internet — which is a different (and more interesting) skill than just designing one. Hostinger costs about $36 for the semester and gives you a permanent professional asset: your own domain, your own database, a real portfolio piece.

What you walk away with

A live database-driven web application at YourName.com, accessible from anywhere. This is the artifact you point hiring managers at. It outlasts the course.

Materials

Key concepts to know
  • 3-tier architecture — client (browser) → middle tier (PHP API) → database (MySQL/PostgreSQL).
  • Shared web hosting — what you actually get for $3/month, what you don't.
  • phpMyAdmin / cPanel — the consoles you'll use to manage the live DB.
  • SQL injection — the most common attack on web databases. Defending with prepared statements.
  • API basics — REST endpoints, HTTP methods, JSON in/out.
  • Concurrency & transactions — what happens when two users hit the same row at the same time.
3-tier architecture
Hands-on: MySQL on Hostinger
Hands-on: PostgreSQL (Aiven)
Building the full-stack app (PHP + DB)

Stay Ahead of the Curve

Subscribe to our bi-weekly newsletter for the latest insights on AI, data, and business strategy.