SlideShare une entreprise Scribd logo
1  sur  1
N-TIER ARCHITECTURE
The simplest examples of tier architecture are enumerated as 1-Tier, 2-Tier, and 3-Tier. 1-Tier Architecture is the simplest, single tier on
single user, and is the equivalent of running an application on a personal computer. All the required component to run the application are
located within it. User interface, business logic, and data storage are all located on the same machine. They are the easiest to design, but the
least scalable. Because they are not part of a network, they are useless for designing web applications. 2-Tier Architectures supply a basic
network between a client and a server. For example, the basic web model is a 2-Tier Architecture. A web browser makes a request from a
web server, which then processes the request and returns the desired response, in this case, web pages. This approach improves scalability
and divides the user interface from the data layers. However, it does not divide application layers so they can be utilized separately. This
makes them difficult to update and not specialized. The entire application must be updated because layers aren’t separated.
3-Tier Architecture is most commonly used to build web applications. In this model, the browser acts like a client, middleware or
an application server contains the business logic, and database servers handle data functions. This approach separates business logic from
display and data. But, it does not specialize functional layers. Its fine for prototypical or very simple web applications, but it doesn’t measure
up to the complexity demanded ofweb applications. The application server is still too broad, with too many functions grouped together. This
reduces flexibility and scalability. N-Tier Architectures provide finer granularity, which provides more modules to choose from as the
application is separated into smaller functions.
N-Tier and Example
Usually N-Tier Architecture begins as a 3-Tier model and is expanded. It provides finer granularity. Granularity is the ability of a system, in
this case, an application, to be broken down into smaller components or granules. The finer the granularity, the greater the flexibility of a
system. It can also be referred to as a system’s modularity. Therefore, it refers to the pulling apart of an application into separate layers or
finer grains.
One of the best examples of N-Tier Architecture in web applications is the popular shopping-cart web application. The client tier interacts with
the user through GUIs (Graphic User Interfaces) and with the application and the application server. In web applications, this client tier is a
web browser. In addition to initiating the request, the web browser also receives and displays code in dynamic HTML (Hypertext Markup
Language), the primary language of the World Wide Web. In a shopping cart web application, the presentation tier displays information
related to such services as browsing merchandise, purchasing, and shopping cart contents. It communicates with other tiers by outputting
results to the browser/client tier and all other tiers in the network. This layer calls custom tags throughout the network and to other networks.
It also calls database stored procedures and web services, all in the goal of providing a more sophisticated response. This layer glues the
whole application together and allows different nodes to communicate with each other and be displayed to the user through the browser. It is
located in the application server.
In N-Tier Architecture, the business logic tier is pulled out from the presentation tier and, as its own layer, it controls an application’s
functionality by performing detailed processing. For example, in our shopping cart example, this tier completes credit card authorization and
calculates things like shipping costs and sales tax. The tools used to encapsulate an application’s business logic into its own layer include web
services, custom tags, and stored procedures.
The business tier can also be considered the integration layer. Encapsulation allows the application to communicate with the data tier or the
business logic tier in a way that is intelligible to all nodes. Encapsulation is one of the principles of object-oriented programming (OOP) and
refers to an object’s ability to conceal its data and methods. Encapsulated objects only publish the external interface so any user interacting
with them only needs to understand the interface and can remain ignorant as to the internal specifications. This way a user can call all sorts
of services into action by calling the custom tag without having to know the code details of what made communication or implementation
possible. The services just have to be accessible in the custom tag library. Encapsulation in the integration tier also liberates the network from
just one vendor. The integration tier allows N-Tier Architecture to be vendor independent. In the shopping cart example, the application may
have a simple custom tag for searching inventory and providing the most up-to-date, detailed information.

Contenu connexe

Tendances

Contract First Modeling Services Using Uml
Contract First Modeling Services Using UmlContract First Modeling Services Using Uml
Contract First Modeling Services Using UmlRody Middelkoop
 
Content management software ppt for greet
Content management software ppt for greetContent management software ppt for greet
Content management software ppt for greetpaxchristiyouthforum
 
MortgageFlex System Solutions
MortgageFlex System SolutionsMortgageFlex System Solutions
MortgageFlex System SolutionsMortgageFlex
 
Pega CPBA Training course content
Pega CPBA Training course content Pega CPBA Training course content
Pega CPBA Training course content Ashock Roy
 
An introduction to end user software development
An introduction to end user software developmentAn introduction to end user software development
An introduction to end user software developmentEr. Nawaraj Bhandari
 
Instant queue manager_architecture_october2011
Instant queue manager_architecture_october2011Instant queue manager_architecture_october2011
Instant queue manager_architecture_october2011instant_technologies
 
Web–based crm application with interactive graphs
Web–based crm application with interactive graphsWeb–based crm application with interactive graphs
Web–based crm application with interactive graphsMike Taylor
 
Case Study for CRM Application For Sales Deaprtment
Case Study for CRM  Application For Sales DeaprtmentCase Study for CRM  Application For Sales Deaprtment
Case Study for CRM Application For Sales DeaprtmentMike Taylor
 
Managed Metadata - SPSChicago 2010
Managed Metadata - SPSChicago 2010Managed Metadata - SPSChicago 2010
Managed Metadata - SPSChicago 2010Hersh Ajgaonkar
 

Tendances (11)

Contract First Modeling Services Using Uml
Contract First Modeling Services Using UmlContract First Modeling Services Using Uml
Contract First Modeling Services Using Uml
 
Content management software ppt for greet
Content management software ppt for greetContent management software ppt for greet
Content management software ppt for greet
 
Case study on single sign on intranet portal on dotnetnuke
Case study on single sign on intranet portal on dotnetnukeCase study on single sign on intranet portal on dotnetnuke
Case study on single sign on intranet portal on dotnetnuke
 
MortgageFlex System Solutions
MortgageFlex System SolutionsMortgageFlex System Solutions
MortgageFlex System Solutions
 
Pega CPBA Training course content
Pega CPBA Training course content Pega CPBA Training course content
Pega CPBA Training course content
 
An introduction to end user software development
An introduction to end user software developmentAn introduction to end user software development
An introduction to end user software development
 
Instant queue manager_architecture_october2011
Instant queue manager_architecture_october2011Instant queue manager_architecture_october2011
Instant queue manager_architecture_october2011
 
Web–based crm application with interactive graphs
Web–based crm application with interactive graphsWeb–based crm application with interactive graphs
Web–based crm application with interactive graphs
 
Case Study for CRM Application For Sales Deaprtment
Case Study for CRM  Application For Sales DeaprtmentCase Study for CRM  Application For Sales Deaprtment
Case Study for CRM Application For Sales Deaprtment
 
Internet banking
Internet bankingInternet banking
Internet banking
 
Managed Metadata - SPSChicago 2010
Managed Metadata - SPSChicago 2010Managed Metadata - SPSChicago 2010
Managed Metadata - SPSChicago 2010
 

En vedette

El derecho a la sanidad, diagnóstico y propuestas
El derecho a la sanidad, diagnóstico y propuestasEl derecho a la sanidad, diagnóstico y propuestas
El derecho a la sanidad, diagnóstico y propuestaslugifel
 
Princípios de liderança bíblica em elias 5
Princípios de liderança bíblica em elias   5Princípios de liderança bíblica em elias   5
Princípios de liderança bíblica em elias 5Vilmar Nascimento
 
3 Reasons You Should Get into Gardening
3 Reasons You Should Get into Gardening3 Reasons You Should Get into Gardening
3 Reasons You Should Get into GardeningAngelo Di Meglio
 
Дмитрий Николаев, SUP, - Система статистики и рейтингов LiveJournal.com
Дмитрий Николаев, SUP, - Система статистики и рейтингов LiveJournal.com Дмитрий Николаев, SUP, - Система статистики и рейтингов LiveJournal.com
Дмитрий Николаев, SUP, - Система статистики и рейтингов LiveJournal.com Media Gorod
 
Princípios de liderança biblica em elias 2
Princípios de liderança biblica em elias 2Princípios de liderança biblica em elias 2
Princípios de liderança biblica em elias 2Vilmar Nascimento
 
A Lei em livro da CPAD - Casa Publicadora das Assembléias de Deus.
A Lei em livro da CPAD - Casa Publicadora das Assembléias de Deus.A Lei em livro da CPAD - Casa Publicadora das Assembléias de Deus.
A Lei em livro da CPAD - Casa Publicadora das Assembléias de Deus.Bruno Glathardt
 
Treinamento para liderança 3 – a liderança vivendo na expectativa da consumaç...
Treinamento para liderança 3 – a liderança vivendo na expectativa da consumaç...Treinamento para liderança 3 – a liderança vivendo na expectativa da consumaç...
Treinamento para liderança 3 – a liderança vivendo na expectativa da consumaç...Vilmar Nascimento
 
Web Analytics no TcheSEO 2011
Web Analytics no TcheSEO 2011Web Analytics no TcheSEO 2011
Web Analytics no TcheSEO 2011Leonardo Naressi
 
City Tours Celendin
City  Tours  CelendinCity  Tours  Celendin
City Tours Celendinj_aspillaga
 

En vedette (18)

El derecho a la sanidad, diagnóstico y propuestas
El derecho a la sanidad, diagnóstico y propuestasEl derecho a la sanidad, diagnóstico y propuestas
El derecho a la sanidad, diagnóstico y propuestas
 
Class 1-slides.ppt
Class 1-slides.pptClass 1-slides.ppt
Class 1-slides.ppt
 
Social media pov
Social media povSocial media pov
Social media pov
 
Princípios de liderança bíblica em elias 5
Princípios de liderança bíblica em elias   5Princípios de liderança bíblica em elias   5
Princípios de liderança bíblica em elias 5
 
3 Reasons You Should Get into Gardening
3 Reasons You Should Get into Gardening3 Reasons You Should Get into Gardening
3 Reasons You Should Get into Gardening
 
Visita aomuseu
Visita aomuseuVisita aomuseu
Visita aomuseu
 
2maki
2maki2maki
2maki
 
Marival Vacation Club
Marival Vacation ClubMarival Vacation Club
Marival Vacation Club
 
Дмитрий Николаев, SUP, - Система статистики и рейтингов LiveJournal.com
Дмитрий Николаев, SUP, - Система статистики и рейтингов LiveJournal.com Дмитрий Николаев, SUP, - Система статистики и рейтингов LiveJournal.com
Дмитрий Николаев, SUP, - Система статистики и рейтингов LiveJournal.com
 
Princípios de liderança biblica em elias 2
Princípios de liderança biblica em elias 2Princípios de liderança biblica em elias 2
Princípios de liderança biblica em elias 2
 
A Lei em livro da CPAD - Casa Publicadora das Assembléias de Deus.
A Lei em livro da CPAD - Casa Publicadora das Assembléias de Deus.A Lei em livro da CPAD - Casa Publicadora das Assembléias de Deus.
A Lei em livro da CPAD - Casa Publicadora das Assembléias de Deus.
 
El índice de masa corporal casa abierata
El índice de masa corporal casa abierataEl índice de masa corporal casa abierata
El índice de masa corporal casa abierata
 
Treinamento para liderança 3 – a liderança vivendo na expectativa da consumaç...
Treinamento para liderança 3 – a liderança vivendo na expectativa da consumaç...Treinamento para liderança 3 – a liderança vivendo na expectativa da consumaç...
Treinamento para liderança 3 – a liderança vivendo na expectativa da consumaç...
 
nATACION
nATACIONnATACION
nATACION
 
Presentación de la Consultoría Industrial X efficiency
Presentación de la Consultoría Industrial X efficiency Presentación de la Consultoría Industrial X efficiency
Presentación de la Consultoría Industrial X efficiency
 
Web Analytics no TcheSEO 2011
Web Analytics no TcheSEO 2011Web Analytics no TcheSEO 2011
Web Analytics no TcheSEO 2011
 
City Tours Celendin
City  Tours  CelendinCity  Tours  Celendin
City Tours Celendin
 
Documento8
Documento8Documento8
Documento8
 

Similaire à N tier architecture

N-tier Application Developement
N-tier Application DevelopementN-tier Application Developement
N-tier Application DevelopementDetectivee Mirza
 
Web technology and commerce unit 2
Web technology and commerce unit 2Web technology and commerce unit 2
Web technology and commerce unit 2arun0501
 
Differences Between Architectures
Differences Between ArchitecturesDifferences Between Architectures
Differences Between Architecturesprasadsmn
 
Web apps architecture
Web apps architectureWeb apps architecture
Web apps architectureTanmoy Barman
 
Mobile iOS Application Architectures
Mobile iOS Application ArchitecturesMobile iOS Application Architectures
Mobile iOS Application ArchitecturesArpit Kulsreshtha
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architectureraima sen
 
Web Based Application for Rent or Sale
Web Based Application for Rent or SaleWeb Based Application for Rent or Sale
Web Based Application for Rent or SaleMike Taylor
 
E commerce technologies
E commerce technologiesE commerce technologies
E commerce technologiesAnne ndolo
 
Over view of software artitecture
Over view of software artitectureOver view of software artitecture
Over view of software artitectureABDEL RAHMAN KARIM
 
Lecture5 architecture styles.pdf
Lecture5 architecture styles.pdfLecture5 architecture styles.pdf
Lecture5 architecture styles.pdfssuser9d62d6
 
Chapter2
Chapter2Chapter2
Chapter2suks_87
 
Topic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information SystemsTopic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information Systemssanjoysanyal
 
Cloud MicroService Architecture
Cloud MicroService ArchitectureCloud MicroService Architecture
Cloud MicroService ArchitectureYakov Liskoff
 
Distributed information sys
Distributed information sysDistributed information sys
Distributed information sysMeena Chauhan
 

Similaire à N tier architecture (20)

N-tier Application Developement
N-tier Application DevelopementN-tier Application Developement
N-tier Application Developement
 
Web technology and commerce unit 2
Web technology and commerce unit 2Web technology and commerce unit 2
Web technology and commerce unit 2
 
Differences Between Architectures
Differences Between ArchitecturesDifferences Between Architectures
Differences Between Architectures
 
Appathika.ppt
Appathika.pptAppathika.ppt
Appathika.ppt
 
Client server architecture in .net by varun tiwari
Client server architecture in .net by varun tiwariClient server architecture in .net by varun tiwari
Client server architecture in .net by varun tiwari
 
Web apps architecture
Web apps architectureWeb apps architecture
Web apps architecture
 
Mobile iOS Application Architectures
Mobile iOS Application ArchitecturesMobile iOS Application Architectures
Mobile iOS Application Architectures
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Web Based Application for Rent or Sale
Web Based Application for Rent or SaleWeb Based Application for Rent or Sale
Web Based Application for Rent or Sale
 
Lec 4.ppt
Lec 4.pptLec 4.ppt
Lec 4.ppt
 
[IJET-V2I2P8] Authors:Ms. Madhushree M.Kubsad
[IJET-V2I2P8] Authors:Ms. Madhushree M.Kubsad[IJET-V2I2P8] Authors:Ms. Madhushree M.Kubsad
[IJET-V2I2P8] Authors:Ms. Madhushree M.Kubsad
 
E commerce technologies
E commerce technologiesE commerce technologies
E commerce technologies
 
Over view of software artitecture
Over view of software artitectureOver view of software artitecture
Over view of software artitecture
 
Lecture5 architecture styles.pdf
Lecture5 architecture styles.pdfLecture5 architecture styles.pdf
Lecture5 architecture styles.pdf
 
Chapter2
Chapter2Chapter2
Chapter2
 
Client server computing
Client server computingClient server computing
Client server computing
 
Topic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information SystemsTopic1 Understanding Distributed Information Systems
Topic1 Understanding Distributed Information Systems
 
Cloud MicroService Architecture
Cloud MicroService ArchitectureCloud MicroService Architecture
Cloud MicroService Architecture
 
Distributed information sys
Distributed information sysDistributed information sys
Distributed information sys
 
icv
icvicv
icv
 

Plus de Nidhi Saurav

N tier architecture
N tier architectureN tier architecture
N tier architectureNidhi Saurav
 
N tier architecture
N tier architectureN tier architecture
N tier architectureNidhi Saurav
 
N tier architecture
N tier architectureN tier architecture
N tier architectureNidhi Saurav
 
N tier architecture
N tier architectureN tier architecture
N tier architectureNidhi Saurav
 
N tier architecture
N tier architectureN tier architecture
N tier architectureNidhi Saurav
 
N tier architecture
N tier architectureN tier architecture
N tier architectureNidhi Saurav
 
N tier architecture
N tier architectureN tier architecture
N tier architectureNidhi Saurav
 
N tier architecture
N tier architectureN tier architecture
N tier architectureNidhi Saurav
 

Plus de Nidhi Saurav (8)

N tier architecture
N tier architectureN tier architecture
N tier architecture
 
N tier architecture
N tier architectureN tier architecture
N tier architecture
 
N tier architecture
N tier architectureN tier architecture
N tier architecture
 
N tier architecture
N tier architectureN tier architecture
N tier architecture
 
N tier architecture
N tier architectureN tier architecture
N tier architecture
 
N tier architecture
N tier architectureN tier architecture
N tier architecture
 
N tier architecture
N tier architectureN tier architecture
N tier architecture
 
N tier architecture
N tier architectureN tier architecture
N tier architecture
 

Dernier

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Dernier (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

N tier architecture

  • 1. N-TIER ARCHITECTURE The simplest examples of tier architecture are enumerated as 1-Tier, 2-Tier, and 3-Tier. 1-Tier Architecture is the simplest, single tier on single user, and is the equivalent of running an application on a personal computer. All the required component to run the application are located within it. User interface, business logic, and data storage are all located on the same machine. They are the easiest to design, but the least scalable. Because they are not part of a network, they are useless for designing web applications. 2-Tier Architectures supply a basic network between a client and a server. For example, the basic web model is a 2-Tier Architecture. A web browser makes a request from a web server, which then processes the request and returns the desired response, in this case, web pages. This approach improves scalability and divides the user interface from the data layers. However, it does not divide application layers so they can be utilized separately. This makes them difficult to update and not specialized. The entire application must be updated because layers aren’t separated. 3-Tier Architecture is most commonly used to build web applications. In this model, the browser acts like a client, middleware or an application server contains the business logic, and database servers handle data functions. This approach separates business logic from display and data. But, it does not specialize functional layers. Its fine for prototypical or very simple web applications, but it doesn’t measure up to the complexity demanded ofweb applications. The application server is still too broad, with too many functions grouped together. This reduces flexibility and scalability. N-Tier Architectures provide finer granularity, which provides more modules to choose from as the application is separated into smaller functions. N-Tier and Example Usually N-Tier Architecture begins as a 3-Tier model and is expanded. It provides finer granularity. Granularity is the ability of a system, in this case, an application, to be broken down into smaller components or granules. The finer the granularity, the greater the flexibility of a system. It can also be referred to as a system’s modularity. Therefore, it refers to the pulling apart of an application into separate layers or finer grains. One of the best examples of N-Tier Architecture in web applications is the popular shopping-cart web application. The client tier interacts with the user through GUIs (Graphic User Interfaces) and with the application and the application server. In web applications, this client tier is a web browser. In addition to initiating the request, the web browser also receives and displays code in dynamic HTML (Hypertext Markup Language), the primary language of the World Wide Web. In a shopping cart web application, the presentation tier displays information related to such services as browsing merchandise, purchasing, and shopping cart contents. It communicates with other tiers by outputting results to the browser/client tier and all other tiers in the network. This layer calls custom tags throughout the network and to other networks. It also calls database stored procedures and web services, all in the goal of providing a more sophisticated response. This layer glues the whole application together and allows different nodes to communicate with each other and be displayed to the user through the browser. It is located in the application server. In N-Tier Architecture, the business logic tier is pulled out from the presentation tier and, as its own layer, it controls an application’s functionality by performing detailed processing. For example, in our shopping cart example, this tier completes credit card authorization and calculates things like shipping costs and sales tax. The tools used to encapsulate an application’s business logic into its own layer include web services, custom tags, and stored procedures. The business tier can also be considered the integration layer. Encapsulation allows the application to communicate with the data tier or the business logic tier in a way that is intelligible to all nodes. Encapsulation is one of the principles of object-oriented programming (OOP) and refers to an object’s ability to conceal its data and methods. Encapsulated objects only publish the external interface so any user interacting with them only needs to understand the interface and can remain ignorant as to the internal specifications. This way a user can call all sorts of services into action by calling the custom tag without having to know the code details of what made communication or implementation possible. The services just have to be accessible in the custom tag library. Encapsulation in the integration tier also liberates the network from just one vendor. The integration tier allows N-Tier Architecture to be vendor independent. In the shopping cart example, the application may have a simple custom tag for searching inventory and providing the most up-to-date, detailed information.