0% found this document useful (0 votes)
45 views

Web Programming: Dr. Ahmed Al-Saadi

This document provides an overview of web programming. It discusses web basics like how the web works using a client-server model over HTTP. It also covers client-side and server-side programming, as well as markup languages. Programming languages can be compiled to machine code or interpreted at runtime. Common web programming languages include JavaScript for client-side scripting, PHP for server-side scripting, and HTML for markup.

Uploaded by

Akram Ta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Web Programming: Dr. Ahmed Al-Saadi

This document provides an overview of web programming. It discusses web basics like how the web works using a client-server model over HTTP. It also covers client-side and server-side programming, as well as markup languages. Programming languages can be compiled to machine code or interpreted at runtime. Common web programming languages include JavaScript for client-side scripting, PHP for server-side scripting, and HTML for markup.

Uploaded by

Akram Ta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Web Programming

Dr. Ahmed Al-Saadi


Outline

• Web Basics and how the web works?


• Client Side and server side.
• How HTTP Works?
• Programming Language
• Scripting Language
• MarkUp Language
Web Basics and how the web works?

Request

Client Server

Internet

Response
Client Server

Client Request Server


Response
Application Application
HTTP, HTTPS HTTP, HTTPS
Application Telnet, Ping, Telnet, Ping, Application
NTP DHCP NTP DHCP

Transport Transport Port Number


Port Number

Network Network IP Address


IP Address

Physical Physical
Network Interface Network Interface

Internet
HTTP (Hyper text transfer protocol)

• The main purpose of the WWW is to exchange information


• HTTP enables machines to exchange information on the web
• Hyper text is a special text that can include text, audio and video and can have link to
other resources on the Internet.
• HTTP allows to exchange hyper text between machines connected to the Internet.

HTTP Request
Web Server Hyper Text
Example
Apache web
server
HTTP response
Compilers and Interpreters

• Computers can understand machine languages only


• Compiler can convert high level programs written in English to machine language.
• Then the machine langue is executed to give instruction to the machine.
• C, C++, Java use compilers to compile thier code to another file that will be executed by
the system.
• Interpreters execute codes line by line at the runtime and send it to the system directly
with out generating other set of files.
• example of languages that use interpretes are python, javascript and PHP.

You might also like