Web Programming-I Laboratory Notes
Subject Overview
The practical companion to Web Programming-I, building PHP scripts and forms that store data to files and MySQL, a session-based login system, and a small deployed mini project such as a blog system or task tracker. A 1-credit elective lab paper.
Subject at a glance
1
Units
11
Topics
1
Credits
1
Infographics
Unit-wise Syllabus
1 units — open any unit for detailed topic-wise notes, diagrams and important exam questions
- PHP scripts for form input
- conditions and loops
- GET/POST feedback forms
- text-file-backed contact forms
- session-based login system
- MySQL-backed user registration
- mini project (blog system, inventory manager or task tracker)
- deployment on a local server or free hosting platform
- displaying database data in table format using PHP
- using XAMPP/WAMP/LAMP
- phpMyAdmin and Git/GitHub basics
- 1Registration form
Collect and validate input
- 2Store user
Insert into MySQL with a hashed password
- 3Login form
Check credentials
- 4Start session
Remember the logged-in user
- 5Logout
Destroy the session
Study guide
In this lab you build PHP applications: scripts for form input, conditions and loops, GET and POST feedback forms, a text-file-backed contact form, a session-based login system, MySQL-backed user registration, a mini project (blog, inventory manager or task tracker), deployment on a local server or free hosting, showing database data in tables, and using XAMPP, WAMP or LAMP, phpMyAdmin and Git and GitHub basics. Put your mini project on GitHub; it doubles as a portfolio entry.
Why Web Programming-I Laboratory Matters
The mini project and GitHub habit from this lab give you something concrete to show in internships and interviews.
How to Prepare for Web Programming-I Laboratory
- Pick a mini project early and build it a little every week.
- Commit your work to GitHub regularly with clear messages.
- Test login and registration with wrong inputs as well as correct ones.
Web Programming-I Laboratory: Frequently Asked Questions
What is built in the Web Programming-I lab?
PHP forms, a login system with sessions, MySQL-backed registration and a mini project such as a blog or task tracker.
