Vous êtes sur la page 1sur 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.

Vous aimerez peut-être aussi