Unit 10

Back-End Programming

Server-side programming with PHP: client-server architecture, a local XAMPP setup, GET and POST, cookies and sessions.

What you will learn

After this unit you can:

The back-end language used in this material is PHP with MySQL/MariaDB, matching the prescribed texts. The concepts (requests, sessions, databases, security) apply equally to Node.js, Python, Java or C#.

Topics in this unit

10.1.1Client-Server Architecture1 diagram✓10.1.2Introduction to server-side programming (PHP)✓10.1.3Setting up a local development environment1 code example✓10.1.4PHP language essentials2 code examples✓10.2HTTP Request Methods: GET, POST etc.3 code examples · 1 diagram✓10.3Session Management: Cookies and Sessions3 code examples · 1 diagram✓10.4Review QuestionsReview✓