web engineering lcte 1

24
WEB ENGINEERING LECTURE #01 1

Upload: waqar-iftekhar

Post on 06-Jul-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 1/24

WEB ENGINEERINGLECTURE #01

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 2/24

LAYERS OF THEINTERNET:

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 3/24

TCP/IP protocol family

IP : Internet Protocol

UDP : User Datagram Protocol

RTP, traceroute

TCP : Transmission Control ProtocoHTTP, FTP, ssh

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 4/24

WHT I! " I"T#R"#T$

%   set of inter connecte& net 'or(s

% e)ample

% "et'or(s can *e completely &ifferent

% #thernet, T+, mo&em,

-TCP/.IP is 'hat lin(s them

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 5/24

%   Routers -no&es. are &eices on multiple ne

that pass traffic *et'een them% In&ii&ual net'or(s pass traffic from one ro

en&point to another % TCP/IP hi&es the &etails as much as possi

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 6/24

I!0/0!I "#TW0R1 +0D#2

!een net'or( 3layers4

% 2ayer 5 : Physical 6 ca*les% 2ayer 7 : Data 2in( 6 ethernet

% 2ayer 8 : "et'or( 6 IP

% 2ayer 9 : Transport 6 TCP/UDP

% 2ayer : !ession

% 2ayer ; : Presentation

% 2ayer < : pplication

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 7/24

TCP/IP "#TW0R1 +0D#2

Different ie' 6 9 layers2ayer 5 : 2in( -'e &i& not loo( at &etails.

2ayer 7 : "et'or(

2ayer 8 : Transport

2ayer 9 : pplication

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 8/24

OSI Model TCP/IP Hierarchy Protocols

7th

Application Layer

6th

PresentationLayer

5th

Session Layer

4th

Transport Layer

3rd

et!or" Layer

#nd

Lin" Layer

$st

Physical Layer

ApplicationLayer

TransportLayer

et!or" Layer

Lin" Layer

2in( 2ayer : inclu&es &eice &rier an& net'or( interface car&

"et'or( 2ayer : han&les the moement of pac(ets, i=e= Routing

Transport 2ayer : proi&es a relia*le flo' of &ata *et'een t'o hosts

 pplication 2ayer : han&les the &etails of the particular application

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 9/24

IP% Responsi*le for en& to en& transmission

%!en&s &ata in in&ii&ual pac(ets

% +a)imum si>e of pac(et is &etermine& *y the net'or(s% Fragmente& if too large

% Unrelia*le% Pac(ets might *e lost, corrupte&, &uplicate&, &eliere& out of or&er 

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 10/24

IP DDR#!!#!

% 9 *ytes

% e=g= 5;8=5=57=?@% #ach &eice normally gets one -or more.

% In theory there are a*out 9 *illion aaila*le

% Aut

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 11/24

IP C2!!#!:TH#R# R# DIFF#R#"T C2!!#! 0F TH# IP WHICH

 ! F0220W!:

Class B57<

Class A 57@5?5

Class C 5?7787

Class D 7887

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 12/24

The Worl& Wi&e We*

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 13/24

TH# W0R2D WID# W#A

The Web %  n infrastructure of information com*ine& an& the net'or( soft'access it

Web page 

%   &ocument that contains or references arious (in&s of &ata

Links

%   connection *et'een one 'e* page an& another 

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 14/24

Website 

%   collection of relate& 'e* pages

Web browser 

%   soft'are tool that retriees an& &isplays We* pages

Web server 

%   computer set up to respon& to reuests for 'e* pages

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 15/24

Uniform Resource Locator (URL)

%   stan&ar& 'ay of specifying the location of a We* page, containhostname, E/E, an& a file

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 16/24

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 17/24

!#RCH #"I"#!

Search %n&ine % A w!"$ $%&$ %'(" )*+ ,-. *$%/ w!"$"

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 18/24

I"!T"T +#!!I"

Instant 'essa&in& (IM) 

% A(('&$*-" $%&$ &''*w (*(' $* "-. "%*/$ ""&"

% S'&/ $* $$- !+$ !&". *- +"/-& -*$ ''+'&/ (%*- -+!/

% S* &(('&$*-" &''*w */ $%&- $w* +"/" - & %&$ /**

% I (&/$(&-$" /+- &(('&$*- "+'$&-*+"') $%) &- %& &- -$/&$

% *"$ &(('&$*-" +" (/*(/$&/) (/*$**'" $%&$ .$&$ $% (/" */

* $% ""&"

% *"$ -"$&-$ ""&" &/ not "+/

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 19/24

W#A20!

Blog or Weblog%  n online Gournal or ne'sletter that is freuently up&ate& an& inten&e& for

consumption

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 20/24

C001I#!

Coo"ie % A "&'' $$ ,' $%&$ & w! "// "$*/" *- )*+

*(+$/" %&/. ."% A ** *-$&-" -*/&$*- &!*+$ )*+/ "$ $* $% "% C**" &- ! +".

% $* .$/- -+!/ * +-+ "$*/" $* $% "$

% $* +"$*; $% "$ */ +$+/ "$"% $* ('-$ "%*((- &/$" $%&$ &- ! &-$&-. /*

% C**" &/ not .&-/*+"

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 21/24

TH# D"! I!%  T% <=*&- N& S)"$>

% W%&$ I-$/-$ +"/" +" $* //- &-)$%- !) -& *- $% I-%  T% %&-" !) w%% I-$/-$ "*$w&/ $/&-"'&$" -&" $*

"+% &" &../"""

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 22/24

%   glo*ally &istri*ute&, scala*le, relia*le &ata*ase% Comprise& of three components

%   3name space4% !erers ma(ing that name space aaila*le% Resolers -clients. 'hich uery the serers a*out the nam

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 23/24

D0+I" "+#!%   domain name is the seuence of la*els from a no&e to the root, separate&

rea& left to right

% The name space has a ma)imum &epth of 57< leels

% Domain names are limite& to 7 characters in length

%   no&es &omain name i&entifies its position in the name space

8/17/2019 Web Engineering Lcte 1

http://slidepdf.com/reader/full/web-engineering-lcte-1 24/24