Module 1: Web Programming Fundamentals (Easy Notes)
- Working of Web Browser
A web browser is a program that lets you visit websites.
When you type a website address, the browser finds the server using DNS,
sends a request using HTTP/HTTPS, and shows the website content.
- HTTP Protocol
HTTP (HyperText Transfer Protocol) is a set of rules for data exchange over the web.
It uses GET, POST, PUT, DELETE methods. It is stateless and uses port 80.
- HTTPS
HTTPS is the secure version of HTTP. It encrypts data using TLS (or SSL).
Used for safe communication over the internet. Uses port 443.
- DNS
DNS (Domain Name System) converts website names (like [Link]) into IP addresses.
It helps browsers locate websites.
- TLS
TLS (Transport Layer Security) keeps your internet connection private and secure.
It encrypts data, ensuring safety while using HTTPS.
- XML Introduction
XML (eXtensible Markup Language) stores and transports data using custom tags.
It's mainly used in web services and configurations.
- JSON Introduction
JSON (JavaScript Object Notation) is used to store and exchange data.
It's lightweight and easy for both humans and machines to read.
- DOM
DOM (Document Object Model) represents the structure of a webpage.
It allows JavaScript to access and change the content dynamically.
- URL
URL (Uniform Resource Locator) is the web address used to access a resource on the internet.
Example: [Link]
- URI
URI (Uniform Resource Identifier) is used to identify a resource, either by name or location.
A URL is a type of URI.
- REST API
REST API (Representational State Transfer) allows communication between systems using HTTP.
It uses methods like GET, POST, PUT, DELETE to access or change data over the web.