Web Technology II notes

8 chapter notes, in syllabus order. Each starts with the key points.

Unit 1 · 6 hrs

Web Programming Basics & HTML FundamentalsUnit 1 of Web Technology II introduces the core concepts of web development, covering the architecture of the web, the role of HTML as the backbone of web pages, and fundamental tags and attributes that structure content. Students learn how browsers interpret HTML, the difference between client-side and server-side pro11 min read

Unit 2 · 6 hrs

HTML Forms, Input Validation & SecurityUnit 2 of Web Technology II covers HTML form elements, validation techniques (client-side and server-side), security best practices, and real-world applications in web development, with hands-on examples and exam-focused insights.12 min read

Unit 3 · 6 hrs

PHP Basics: Syntax, Variables, Control Flow & ScriptingUnit 3 of Web Technology II introduces PHP as a server-side scripting language, covering its basic syntax, variable types, control structures, and how it integrates with HTML to build dynamic web pages. Learn how PHP executes on the server, processes data, and generates HTML output—with real-world examples from Nepales6 min read

Unit 4 · 6 hrs

PHP Arrays & File Handling: Syntax, Operations & SecurityUnit 4 of Web Technology II covers PHP arrays (indexed, associative, multidimensional) and file handling (reading, writing, uploading), including error handling, security risks, and real-world applications in web forms, logs, and dynamic content generation.12 min read

Unit 5 · 6 hrs

PHP Database Interaction & SQL Injection PreventionUnit 5 of Web Technology II covers how PHP connects to databases (MySQL, SQLite), executes queries safely, and prevents SQL injection attacks through parameterized queries, stored procedures, and input validation—with real-world examples from eSewa’s transaction logs and Daraz’s order systems.9 min read

Unit 6 · 6 hrs

Cookies, Sessions, and Security in PHP · note coming

Unit 7 · 6 hrs

JavaScript Basics & DOM Manipulation: Syntax, Events, and Dynamic Web PagesUnit 7 of Web Technology II covers JavaScript fundamentals—variables, loops, functions, and DOM manipulation—explaining how to interact with HTML elements dynamically, handle events, and build responsive web interfaces. Real-world examples from eSewa, Daraz, and Ncell illustrate practical applications.9 min read

Unit 8 · 6 hrs

Advanced PHP Security & Performance: OOP, Error Handling, Encryption & APIsUnit 8 of Web Technology II explores PHP’s advanced features—object-oriented programming (OOP), robust error handling, data encryption, secure API design, and performance optimization—with real-world security threats like SQL injection and XSS, plus best practices for building scalable web applications.7 min read

Unit 9 · 6 hrs

Project Work & Implementation in Web TechUnit 9 of Web Technology II covers end-to-end project development, integrating HTML, PHP, JavaScript, databases, and security into a real-world web application. Students learn to design, implement, test, and deploy a functional project while addressing challenges like user authentication, data validation, and performan16 min read