sarojpandey.com.np  

1

                Chapter  02  

Issues  of  Web  Technology    

 

Web  Technologies    

 

sarojpandey.com.np  

2

Web  Technologies    

Architectural  Issues  of  Web  Layer       OSI  Model       The  Open  Systems  Interconnection  Reference  Model  (OSI  Reference  Model  or  OSI  Model  for  short)  is   a  layered,  abstract  description  for  communications  and  computer  network  protocol  design,  developed   as  part  of  the  Open  Systems  Interconnection  initiative.  It  is  also  called  the  OSI  seven  layer  model.       Trick  to  remember                        PDNTSPA,  or  Please  Do  Not  Throw  Sausage  Pizza  Away                        APSTNDP,  or  All  People  Seem  To  Need  Data  Processing         7  Application  HTTP,  SMTP,  SNMP,  FTP,  Telnet,  ECHO,  SSH   6  Presentation  XDR,  SMB,  AFP,  NCP     5  Session  ASAP,  TLS,  SSL     4  Transport  TCP,  UDP     3  Network  IP,  ICMP,  IGMP,  IPX     2  Data  Link  Ethernet,  Token  ring,  HDLC,  Frame  relay,  ISDN,  ATM,  WiFi,  PPP     1  Physical       TCP/IP  model     The  TCP/IP  model  or  Internet  reference  model,  sometimes  called  the  DoD  model  (DoD,  Department  of   Defense),   ARPANET   reference   model,   is   a   layered   abstract   description   for   communications   and   computer  network  protocol  design.     5.  Process  Layer  or  Application  Layer     This  is  where  the  "higher  level"  protocols  such  as  DHCP  •  DNS  •  FTP  •  HTTP  •  IMAP4  •  IRC  •   MIME  •  POP3  •  SIP  •  SMTP  •  SNMP  •  SSH  •  TELNET  •  TLS/SSL  •  RPC  •  •  SOAP,  etc  operate.       4.  Host-­‐To-­‐Host  (Transport)  Layer     This   is   where   flow-­‐control   and   connection   protocols   exist,   such   as   TCP   and   UDP.   This   layer   deals  with  opening  and  maintaining  connections,  ensuring  that  packets  are  in  fact  received.       3.  Internet  or  Internetworking  Layer     This  layer  defines  IP  addresses,  with  many  routing  schemes  for  navigating  packets  from  one   IP  address  to  another.  IP  (IPv4  •  IPv6)  •  ARP  •  BGP  •  ICMP  •  IGMP    

 

sarojpandey.com.np  

3

Web  Technologies    

2.  Data  link  layer     ATM  •  Bluetooth  Baseband  &  Link  Manager  Protocol  •  Ethernet  •  FDDI  •  Frame  Relay  •  GPRS  •   Modems  •  PPP  •     1.  Network  Access  Layer  (Physical)     This   layer   describes   the   physical   equipment   necessary   for   communications,   such   as   twisted   pair   cables,   the   signaling   used   on   that   equipment,   and   the   low-­‐level   protocols   using   that   signaling.   Bluetooth   RF   •   Ethernet   physical   layer   •   ISDN   •   Modems   •   RS232   •   SONET/SDH   •   USB  •  Wi-­‐Fi  

REFER Computer Networks for more detail but not necessary in this subject. HTTP & FTP: Refer the handout of Chapter 1.    

  An   Internet   application   is   an   interactive,   compiled   application   that   can   be   accessed   through   a   communication   line.   Internet   applications   can   perform   complex   business   processes   on   either   the   client  or  the  server.  In  a  server-­‐based  Internet  application,  the  application  uses  the  Internet  protocol   to  receive  requests  from  a  client,  typically  a  Web  browser,  process  associated  code,  and  return  data  to   the  browser.     Tier  Technology:  Definition     • Tier:  refers  to  the  layer.   • Tier  Technology  refers  to  the  Network  application  architecture.   • The  concept  of  tier  provides  a  convenient  way  to  group  different  classes  of  architecture.   Types  of  Tier  Technology:     • There  exists  4  different  types  of  tier  technology:   1) 1-­‐Tier  Technology   2) 2-­‐Tier  Technology   3) 3-­‐Tier  Technology   4) N-­‐Tier  Technology   1-­‐Tier  Technology:     •

All  software  contains  codes  that  can  be  broken  down  into  the  following  categories:   -

Presentation  Logic:  User  Interface,  displaying  data  to  the  user,  accepting  input  from   the  user.  

 

sarojpandey.com.np  

-

Web  Technologies    

4

Business  Logic:  Data  validation,  ensuring  the  data  is  correct  before  being  added  into   database.  

-

Data   Access   Logic:   Database   communication,   accessing   tables   and   indices,   packing   and  unpacking  data  



If  the  3  categories  of  logic  are  contained  in  a  single  component  within  a  single  computer   then  the  component  is  said  to  be  a  1-­‐tier  Structure.  

 

Application Components

   

Presentation Logic

 

Business Logic

 

Data Access Logic

Database

Fig: 1- Tier Technology

  2-­‐Tier  Technology:   •

This  technology  is  also  known  as  Client/Server  Technology.  



This   consists   of   a   primary   tier   which   incorporates   all   presentation   and   business   logic,   and   a  secondary  tier  which  contains  all  data  access  logic.    



is  basically  a  client  server  model.  



There  are  basically  two  types  of  client:   a. Thin  Client:   -

The   clients   do   not   have   too   much   work   as   most   of   the   functionality   is   hosted  on  the  server.  

-

Thin  Clients  were  due  to  the  fact  that  computing  power  was  expensive.  

b. Fat  Client:   -

A  name  given  such  because  some  of  the  processing  has  been  passed  onto   it.  

-

Typical   Example   –   if   such   a   client   were   accessing   a   database,   the   client   application   would   need   to   be   capable   of   accessing   the   database   and   manipulating  the  data  which  resides  on  the  server.  

 

1st layer

 

Presentation Logic

     

Data Layer Business Logic

Data Access Logic

Database

Fig: 2- Tier Technology

    3-­‐Tier  Technology:   •

If   each   category   of   logic   is   contained   within   a   separate   component,   known   as   3-­‐tier   structure.  

 

sarojpandey.com.np  

5

Web  Technologies    



In  this  structure  the  presentation  layer  is  not  in  direct  communication  with  the  database.  



In   order   to   send   or   receive   data   it   must   communicate   with   the   business   layer,   which   in   turn  communicates  with  the  data  layer.  



Contains  3  physical  tiers:  client  tier,  business  or  middle  tier,  data  tier.   a. Client  Tier:   -

Front  –End  tools  with  which  the  end  user  interacts.  

-

Not  concerned  with  inner  workings  of  the  applications.  

-

E.g:  Web  Browser,  or  VB  Forms.  

b. Middle  Tier:   -

This  is  where  the  ASP  pages  resides  upon  the  web-­‐server.  

-

Contains  rules  that  determine  what,  how  &  when  to  manipulate  &  access  data.  

-

This  logic  is  splitted  into:   I.

Client  Side  Business  Logic  or  workflow   -

II.

Controls  the  input  given  from  user.  

Server  Side  Business  Logic   -

Handles  data  manipulation  &  flow  of  data  on  server.  

c. Data  Tier   -

Represents  the  storage  mechanism  used  to  hold  persistent  data.  

-

This  could  be  a  relational  database,  text  based  files,  directories,  mail  server  etc.  

 

Fig: 3 – Tier Technology

                  N-­‐Tier  Technology:   •

N-­‐Tier  technology  is  the  latest  refinement  of  client/Server  model.  



It  refers  to  applications  that  have  more  than  three  tiers.  



An  n-­‐tier  system  is  scalable  because  it  can  service  a  large  number  of  clients  by  distributing   each  logical  tier  across  one  or  more  physical  machines.  



is   usually   considered   the   most   effective   approach   because   it   can   provide   integration   of   current  information  technology  into  this  new,  more  flexible  model.  

•  

In  this  structure  middle  tier  is  spited  to  incorporate  user-­‐centric  tier  and  data-­‐centric  tier.    

 

sarojpandey.com.np  

Web  Technologies    

6

a. User-­‐centric  Tier:   -

User-­‐centric   tier   of   an   ASP   applications   contains   the   ASP   pages   and   environment-­‐dependent   ASP   components   that   help   render   HTML   pages   to   the   presentation  layer.  E.g.  –  generating  HTML,  accessing  and  creating  cookies.  

b. Data-­‐centric  Tier–   -

Data-­‐centric   tier   contains   the   components   that   do   not   depend   upon   the   ASP   environment   but   is   responsible   for   database   manipulation,   such   as   adding,   deleting,  querying  and  updating  etc.  

 

 

sarojpandey.com.np  

Web  Technologies    

7

                         

Fig: N-Tier Technology

         

Web Browser

Web Browser & Mail Client

Email Server

Database Server

   

 

 

CH 02 - Tier.pdf

PDNTSPA, or Please Do Not Throw Sausage Pizza Away. APSTNDP ... All software contains codes that can be broken down into the following categories: - Presentation Logic: User Interface, displaying data to the user, accepting input from. the user. Page 3 of 7. CH 02 - Tier.pdf. CH 02 - Tier.pdf. Open. Extract. Open with.

2MB Sizes 1 Downloads 122 Views

Recommend Documents

CH 02 - Tier.pdf
communication line. Internet applications can perform complex business processes on either the. client or the server. In a server-based Internet application, the ...

State of Animals Ch 02
Frank R. Ascione and Randall Lockwood. 2CHAPTER. Introduction. D ..... groups. Children in the “no–cruelty–to animals” (“no CTA”) group (N=101) were not reported to have been cruel to animals on the Child Behavior. Checklist (CBCL). In co

1660-02-02
Jun 29, 2017 - ... awarded to any vessel under the Tennessee numbering system ... on each side of the vessel on the windows located nearest the main ...

CH-Besancon.pdf
Page 1 of 8. Page 1 of 8. Page 2 of 8. Page 2 of 8. Page 3 of 8. Page 3 of 8. CH-Besancon.pdf. CH-Besancon.pdf. Open. Extract. Open with. Sign In. Details.

1660-02-02
Jun 29, 2017 - signs to be temporarily but firmly mounted upon or attached to the vessel ... (e) Vessels with a valid document issued by the United States Coast ...

1660-02-02
Jun 1, 2017 - on each side of the vessel on the windows located nearest the main operator ... if not equipped with windows, the decal shall be placed in the ...

1720-02-02
Aug 1, 2017 - Repeal filed September 16, 2016; effective August 1, 2017. 1720-02-02-.02 REPEALED. Authority: T.C.A. § 49-9-209(e) and Public Acts of ...

1720-02-02
Aug 1, 2017 - Authority: T.C.A. § 49-9-209(e) and Public Acts of Tennessee, 1839-1840, Chapter 98, Section 5, and. Public Acts of Tennessee, 1807, Chapter 64. Administrative History: Original rule filed September 15,. 1976; effective October 15, 197

WHAP-CH-1-AND-CH-2-TARGETS-NEOLITHIC ...
WHAP-CH-1-AND-CH-2-TARGETS-NEOLITHIC-REVOLUTION - Google Drive.pdf. WHAP-CH-1-AND-CH-2-TARGETS-NEOLITHIC-REVOLUTION - Google ...

Ch 03
NATIONAL AND STATE GOVERNMENTS. STATE GOVERNMENTS. Concurrent Powers. Reserved to the States ne. • Regulate intrastate commerce. Conduct elections. • Provide for public health, safety, and morals. Establish local government. • Maintain the mili

danh s¸ch
U.N. Industrial Development Organization (UNIDO)........................ 296 ...... 7th Floor, Daeha Business Center. 360 Kim Ma ...... 28 Mac Dinh Chi Str. District 1. Tel.

022 CH By ...
Connect more apps... Try one of the apps below to open or edit this item. 022 CH By CTSEK11_HKG_SPECIAL_OF_THE_MONTH_3D2N_15-17SEP-17.pdf.

Tu, CH
Page 1 of 12. CHAPTER 2. Concepts of PLE and ONLE. EMERGING LEARNING CONCEPT. Network learning technologies, such as social media and Web 2.0, ...

danh s¸ch
HANOI. Chancery of the Embassy. 31 Hai Ba Trung Str. Tel. 9360500. Fax. 9360561. E-mail: .... [email protected] (Cultural services). Giê lµm viÖc.

CH-u_culture.pdf
Sign in. Page. 1. /. 1. Loading… Page 1 of 1. Page 1 of 1. CH-u_culture.pdf. CH-u_culture.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying ...

CH. Karnchang - Settrade
Jul 25, 2017 - *The Company may be issuer of Derivative Warrants on these securities. http://research.kgi.com; Bloomberg: KGIT . Please see back ...

Ch 24 Physics Answers
Jul 12, 2012 - Thus the pattern is just the reverse of the usual double-slit pattern. 10. For constructive ..... the mirror movement must produce an integer number of fringe shifts for each wavelength: .... Because measurements are made far from the

Ch 30.1WS.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Ch 30.1WS.pdf.

2014 02 02 Newsletter February 02 2014.pdf
were originally celebrated on one occasion, at the end of the cate- chumenal journey, normally at the Easter Vigil. The path of for- mation and gradual ... and defend the faith, ... to confess the name of Christ boldly, and. never to be ashamed of hi

Cao2009-CH-Chapter8_ICAS.pdf
16 Yugur 26.4 33 Baoan 14.19 50 Lisu 5.34. 17 Tu 23.87 34 Dulong 13.95 51 Dongxiang 4.26. Source: Tabulation on Nationalities of 2000 Population Census ...

CH 6.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. CH 6.pdf. CH 6.

CH-Utinam-Louvre.pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. CH-Utinam-Louvre.pdf. CH-Utinam-Louvre.pdf. Open. Extract.

ch 1.pdf
geesa ls izR;sd O;fDr vf}rh; gksrk gS D;ksafd izR;sd. O;fDr fofHkUu fo'ks"kdksa osQ fof'k"V lfEeJ.k dks vfHkO;Dr. djrk gSA vki iz'u dj ldrs gSa fd izR;sd O;fDr D;ksa ...