Web Programming-I
Subject Overview
The first course in the Full Stack Development elective stream, introducing server-side scripting with PHP — syntax, control structures and functions, form handling, arrays/strings/file handling, and an introduction to backend development with databases (MySQL/MongoDB) and REST APIs. A 2-credit elective theory paper.
Unit-wise Syllabus
3 units — click WhatsApp below to get the full notes for each
Unit 1: Introduction to PHP programming
Server-side scripting overview, PHP syntax, variables, constants, data types, expressions, operators, control structures (if, else, switch, loops), functions, handling HTML forms with GET and POST, embedding PHP into HTML
Unit 2: Arrays, strings and file handling
Indexed, associative and multidimensional arrays, array functions (sorting, merging, searching), string manipulation and formatting functions, file handling (open, read, write, append, delete), file uploads, cookies and sessions
Unit 3: Backend development and databases
Introduction to server-side programming with Node.js or PHP, Express.js routing, handling GET/POST requests, session and cookie management, introduction to MySQL/PostgreSQL/MongoDB, CRUD operations, connecting backend to database, JSON and REST APIs
