Upload
pontong81
View
221
Download
0
Embed Size (px)
Citation preview
8/9/2019 How Web Application Work
1/21
1
Prepared by Muth
8/9/2019 How Web Application Work
2/21
2
How web application work
Web application eRb IR) as ;n Uv Client/Server archetecture. Web application man mUl d an
en Ael Ima:s Iun Sever eh Iy p l ;n Uv Response eTAeGay Clients CaeRc In Ed l ) an Request Webpage BIma:s Iun Sever en Ael I Internet . d Uc b g aj en Ak g r Ub 1 >1 .
r Ub PaB 1 >1Web application architecture
Prepared by Muth Monen
8/9/2019 How Web Application Work
3/21
3
How web application work
en AEp k Client Web application Gac d MeN Irk ar) an ed ay s ar Browser d Uc Ca -Internet Explorer b NetScape Navigator. l .T Mr g ; n ig r Ub r ag r b s ; Web application Rt Uv) an b k ERb r n ig b g aj CaTMr g ;n Pas a
HTML ( HyperText Markup Language ) ed ay Clients Browser .en AEp k Server Web application d MeN Ir k ar eRk amk ar RKb ;RKg r b s ; Microsoft InternetInformation Service (IIS) . man n y f a IIS RKb ;RKg n ig c at ;Ec g n Uv Web application ed ay
b Ban n UvRequest
BIClients
eTAeGayapplication
eRk ay mk b Banapplications
CaResponses
eTAk an ; Client vij q g k at ; Internet ed ay eRb IR) as ; HyperText Transport Protocol (HTTP).r Ub PaB 2 >2 b g aj BIt MeN Ir k ar BI Client eTA Server en Ael I Internet .
Prepared by Muth Monen
8/9/2019 How Web Application Work
4/21
4
Web application b eg It Cac Mel Iy t b eTAeGay Gk Ed l ) an es Ir s Mu BIF n F an Ed l x n man en Ael Ima:s IunServer. F n F an T aMg en aHr Ymman k Ud Ed l k MBug d Men Irk arel I server , web form , html page , imageFile , Media fileEd l b eg It ) an CaRT g ;RT ay n ig c Mn uH content r b s ; web application .Web application KWman l k N Rs ed og n wg web site F mt aEd r el Ik El g Et content Ed l b g ajmk eGay Gk eRb IR) as ;KWRt Uv) an b eg It Ca dynamic ed ay k arRb t ib t ik ar k Ud Ed l man l k N Rb es IrCagStatic web site ed ay RKan ;Et p l ;eGay n Uv static page Ed l rk SaTuk en Ael I server b :ueN aH .
r Ub PaB 1 >2Client/server interaction in a Web application
Prepared by Muth Monen
8/9/2019 How Web Application Work
5/21
5
r Ub PaB 1 >3 b g aj BI web application b eg It CaTMr g ; HTML b Ban Rt l b ;eT Ak an ;Gk eRb IR) as ; .
r Ub PaB 1 >3A Web application response from server resources
b MEN k n Rb t ib t ik ar k Ud rb s ; web application Gac eGay Gk eFVIGVI ) an CaeRc In Ed l Gc min Gac eFVI) anCamYy n wg static web site, d Uc Ca-
- Rb mUl Bt man BIGk eRb IR) as ; eh Iy r k SaBt man TaMg en aHT uk en Ael I Server- b MeBj Par k ic s Mr ab ;Gk eRb IR) as ;d Uc Ca k k ;k En g Gg y k ar k m:g ;T Mn ij k ar eF VIk ar KN n a
n ig T aj T in n y BI database .Prepared by Muth Monen
8/9/2019 How Web Application Work
6/21
6
- b g aj n UvBt man Ed l Gac p as ;b ry a:g rh s d Uc Cak ar eF VIb BaIs areBIPN T Mn i j Ed l z it k gk arb BaaTi j n ig k ar b Ban T Mn i j ep Sg .en HKWRKan ;Et CaEp k mYy b :ueN aH Gk Gac eFVIGVI ) an eRc In t amEt Gk K it f ac g ;eFVICamYy n wg client/serverApplication CaBies s client/server Ed l TMn ak ;T Mn g K aen Ael I Internet .
er ob c MMn ig c at ;Ec g Project CamYy IIS
Web application Gac z it en AEt k g T It aMg mYy b :ueN aHEd l p l ;ed ay IIS Ed l Ca virtual folder
eQ aHrb s ; Virtual folder KW//localhost n wg Ca web root folder en Ak g ma:s Iun k MBTr e h Iy CaT UeT AIIS Rt Uv) an t MeL Ig en Ael I boot drive \Inetpub\wwwroot .
Prepared by Muth Monen
8/9/2019 How Web Application Work
7/21
7
1
2
Start-control panel
-Add Remove
Programs
Click on
Add/Remove
Windows
Components
t MN ak ;k al t MeL Ig IIS
Prepared by Muth Monen
8/9/2019 How Web Application Work
8/21
8
3
Tick in IIS check box
c Mn aM k ar t MeL Ig IIS n wg T amT ar eGay Gk man n Uv Windows CD Cac Ma) ac ;
Prepared by Muth Monen
8/9/2019 How Web Application Work
9/21
9
d ak ;b Bal windows cd eTAk g cd room4
Prepared by Muth Monen
8/9/2019 How Web Application Work
10/21
10
b Bab ;k ar t MeL Ig IIS ed ay c uc button Finish5
Prepared by Muth Monen
8/9/2019 How Web Application Work
11/21
11
Web root folder Ed l
ek It eL Ig en AeBl IISRt Uv) an t MeL Ig
Prepared by Muth Monen
8/9/2019 How Web Application Work
12/21
12
http://localhost
http://server-name
http://ip-address
s ak l ,g t MeN Irk ar IIS b n ab ;BIt MeL Ig r Yc
CMn an ;r b s ; IIS KW5 >1
Bt man Ed l b g aj en HKWb Baak ;f a IIS
Rt Uv) an t MeL Ig ed ay Rt wmRt Uv n ig t MeN Ir) an y a:g l en Ael Ima:s Iun k MuBT r .
Prepared by Muth Monen
8/9/2019 How Web Application Work
13/21
13
1
2
t MN ak ;k al n k ar t MeL Ig PHP 5.0.2
Prepared by Muth Monen
8/9/2019 How Web Application Work
14/21
14
3
4
Prepared by Muth Monen
8/9/2019 How Web Application Work
15/21
15
5
6Prepared by Muth Monen
8/9/2019 How Web Application Work
16/21
16
7
8Prepared by Muth Monen
8/9/2019 How Web Application Work
17/21
17
9
1 0
eRCIs erIs Rb ePTn http server
s Mr ab ; windows xpEd l CMn an ;rb s ; IIS KW5 >1
Prepared by Muth Monen
8/9/2019 How Web Application Work
18/21
18
1 1
1 2Prepared by Muth Monen
8/9/2019 How Web Application Work
19/21
19
1 3
1 4
Prepared by Muth Monen
8/9/2019 How Web Application Work
20/21
20
PhpInfo.php
1 5b eg It script ed Im,Ib g aj Bt man rb s ;PHP.
Prepared by Muth Monen
8/9/2019 How Web Application Work
21/21
21
t MeN Irk ar Php File CamYy Internet Explorer.1 6
http://localhost/PhpInfo.php
http://MyServerName/PhpInfo.php
http://192.169.254.9/PhpInfo.php
Prepared by Muth Monen