Objectives In this session, you will learn to:

Slides:



Advertisements
Similar presentations
ICS 434 Advanced Database Systems
Advertisements

Netscape Application Server Application Server for Business-Critical Applications Presented By : Khalid Ahmed DS Fall 98.
8.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
Technical Architectures
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
Some of these slides were excerpted from: Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer.
ISYS 512 Business Application Design and Development with.Net David Chao.
ISYS 546 Client/Server Database Application Development.
BICS546 Client/Server Database Application Development.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Layers & Tiers Umair Javed Lec - 41.
12 Chapter 12 Client/Server Systems Hachim Haddouti.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1 of…
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
Introduction to Web Applications Instructor: Enoch E. Damson.
12-1 © Prentice Hall, 2004 Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Client/Server Architecture
Client-Server Processing and Distributed Databases
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Web application architecture
Chapter 2 Database System Concepts and Architecture
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
N-Tier Architecture.
Software Development Architectures Ankur K. Rajopadhye Louisiana Tech University.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Database Architectures and the Web
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
The Design Discipline.
LAYING OUT THE FOUNDATIONS. OUTLINE Analyze the project from a technical point of view Analyze and choose the architecture for your application Decide.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
Database Architectures and the Web Session 5
Internet Basics Dr. Norm Friesen June 22, Questions What is the Internet? What is the Web? How are they different? How do they work? How do they.
Introduction to distributed systems Dr. S. Indran 23 January 2004.
CSC271 Database Systems Lecture # 4.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
DATABASE PROGRAMMING Lecture on 16 – 05 – PREVIOUS LECTURE QUIZ: - Some students were very creative in transforming 2NF to 3NF. Excellent! - Some.
DAT602 Database Application Development Lecture 12 C/S Model Database Application.
Introduction to J2EE Architecture Portions by Kunal Mehta.
2. Database System Concepts and Architecture
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
SAMANVITHA RAMAYANAM 18 TH FEBRUARY 2010 CPE 691 LAYERED APPLICATION.
Dr. Mohamed Osman Hegazi 1 Database Systems Concepts Database Systems Concepts Course Outlines: Introduction to Databases and DBMS. Database System Concepts.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
1 Welcome to CSC 301 Web Programming Charles Frank.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
Getting Started with.NET Getting Started with.NET/Lesson 1/Slide 1 of 31 Objectives In this lesson, you will learn to: *Identify the components of the.NET.
Chapter 12: Design Elements Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
6/28/ A global mesh of interconnected networks (internetworks) meets these human communication needs. Some of these interconnected networks are.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
N-Tier Architecture.
Introduction to J2EE Architecture
Introduction to Databases Transparencies
Lecture 1: Multi-tier Architecture Overview
Tiers vs. Layers.
Presentation transcript:

Objectives In this session, you will learn to: Identify the types of application architectures Identify the need for an n-tier architecture model Identify the features of the n-tier architecture model Identify the advantages of using n-tier architecture Identify the steps to develop an n-tier model

Application Architectures Applications are developed to support organizations in their business operations. The functions performed by an application can be divided into three categories: user services, business services, and data services. Application architectures are of the following types: Single-tier Two-tier Three-tier N-tier

Single-tier Architecture The Single-tier Architecture In the case of a single-tier architecture, a single executable file handles all functions related to the user, business, and data service layers. Such an application is also called a monolithic application. The following figure depicts the components of the single-tier architecture: Single-tier Architecture User Services Business Services Data Services

The Single-tier Architecture (Contd.) Examples of single-tier architecture can be found in some of the very early COBOL programs performing extremely mission-critical operations.

The Two-tier Architecture The two-tier architecture divides an application into the following components: Client Server The client implements the user interface. The server stores the data.

The Two-tier Architecture (Contd.) The following figure depicts the components of the two-tier architecture: The communication between a Web browser and a Web server is an example of client server architecture. Client Two-tier Architecture Server Business logic User tier Data tier

The Three-tier Architecture In the two-tier system, the actual processing of data takes place on the server. Therefore, the data has to be transported over the network. This leads to increased network stress. To overcome these problems, there was a shift from the two-tiered to the three-tiered systems. In the three-tiered system, there is a clear separation of user-interface-control and data presentation from application-logic. Therefore, more clients are able to access a wide variety of server applications. This leads to quicker development through the reuse of pre-built business-logic components and a shorter test phase because the server-components have already been tested.

The Three-tier Architecture (Contd.) The three-tiered architecture is the most popular architecture on the Web. The three-tiered architecture comprises: The user interface, mostly a Web browser, that processes client requests in the form of HTML/DHTML pages The data tier that stores data in the database server The business logic tier, implemented by the Web server that uses scripting languages, such as ASP to perform tasks like form validation All the three service layers reside separately, either on the same machine or on different machines.

Three-tier Architecture The Three-tier Architecture (Contd.) The following figure depicts the components of the three-tier architecture: Three-tier Architecture User Services Business Services Data Services Client Business Logic Data Store

The N-tier Architecture The n-tier architecture is an expanded model of the three-tier architecture. A typical n-tier model consists of the following tiers: Presentation logic tier- The presentation layer provides an interface for the end user. This layer generally consists of the windows forms and ASP pages. Proxy tier and the distributed logic- The proxy layer provides access to distributed components in the n-tier architecture.

The N-tier Architecture (Contd.) Client interface- The client interface layer represents the end-user presentation, such as the windows forms. Business tier- The business layer is the most important part of the n-tiered architecture. It contains the business rules and data manipulation/transformation logic. Data access tier- The data access layer is a reusable interface to the database. It contains the generic methods used to interface with the data. Data tier- The data layer deals with storage and retrieval of information. Basically, the data tier consists of the database management systems.

The N-tier Architecture (Contd.) The following figure depicts the components of the N-tier architecture: Proxy and Distributed Logic Tier Business Tier Data Access Data Tier Presentation Tier

The N-tier Architecture (Contd.) Each layer of the n-tier architecture performs specific functions. The following diagram depicts the functions performed by each layer: N-tier architecture View Distributed Logic Connects to proxy layer to send and receive requests Presentation logic tier Proxy tier and distributed logic Data access tier Data tier Client interface Business objects and rules Interface with database, handles all input/output operations Query and data storage Business tier

Advantages of Using the N-tier Architecture The n-tier application architecture helps you to create: Robust and reliable applications for the Internet Interoperable applications Extensible, maintainable, and scalable applications

Developing an N-tier Model To develop and integrate an n-tier model, you need to perform the following steps: Create the data tier Create the database, create tables in the database, and define the primary and foreign keys Create the data access tier Create a set of useful and specific routines to interact with the database Create the business tier Write useful methods that will conform to the business rules Write codes to perform server-side data validation

Developing an N-tier Model (Contd.) Set up the proxy and distributed logic tier Add the class libraries and Web services to the project Set up dependencies, protocols, and add references Create the presentation tier Create windows forms and add functionalities to the controls

N-tier and Enterprise Applications Application architecture that handles persistent data and has business logic is known as enterprise architecture. The persistent data might outlive the hardware or software that was used to collect the data. There might be changes to the structure of data, for instance, addition of new data or reorganization of data. The persistent data is associated with specific business logic. This brings out the need for an enterprise application to be built on an architecture, which allows one component to be modified independently without affecting the other components. Therefore, an enterprise architecture needs to be built on the n-tier architecture.

N-tier and Enterprise Applications (Contd.) The data of an enterprise application will map to the data tier of the n-tier architecture. For example, SQL can be used to store the data. The logic to access the data can be implemented in the data access tier. For example, ADO.NET can be used to access the data. The business logic can be implemented in the business logic tier. For example, Visual Basic .NET or C# can be used to implement the business rules. The interpretation of the data can be implemented in the proxy and distributed logic tier. For example, C# or Visual Basic .NET can be used to implement the proxy tier.

N-tier and Enterprise Applications (Contd.) The view of the data can be implemented in the presentation tier. For example, ASP.NET can be used to implement the view. A representation of the enterprise architecture is given below: Proxy and Distributed Logic Tier (VB.NET or C#) Business Tier (VB.NET or C#) Data Access (ADO.NET) Data Tier (MS-SQL) Presentation Tier (ASP.NET)

Summary In this lesson, you learned that: Application architectures are of the following types: Single-tier Two-tier Three-tier N-tier In single-tier architecture, a single executable file handles all functions related to the user, business, and data service layers.

Summary (Contd.) Two-tier architecture comprises the following components: Client Server In the two-tier architecture, the actual processing of data takes place on the server. Therefore, the data has to be transported over the network. This leads to increased network stress. The three-tiered architecture comprises: The user interface, mostly a Web browser, that processes client requests in the form of HTML/DHTML pages The data tier that stores data in the database server

Summary (Contd.) The business logic tier, implemented by the Web server that uses scripting languages, such as ASP to perform tasks like form validation A typical n-tier model consists of the following tiers: Presentation logic tier Proxy tier and the distributed logic Client interface Business tier Data access tier Data tier

Summary (Contd.) The data layer deals with storage and retrieval of information. The data tier consists of the database management systems. The presentation layer provides an interface for the end user into the application. This layer generally consists of the windows forms and ASP pages. The proxy layer provides access to the next tier in the multi-tiered system. The client interface layer represents the end-user presentation, such as the windows forms. The business layer is the most important part of the n-tiered architecture. It contains the business rules and data manipulation/transformation logic.

Summary (Contd.) The data access layer is a reusable interface to the database. It contains the generic methods used to interface with the data. Using n-tier application architecture, you can create: Robust and reliable applications for the Internet Extensible, maintainable, and scalable applications Interoperable applications Application architecture that handles persistent data and has business logic is known as enterprise architecture. The persistent data might outlive the hardware or software that was used to collect the data.

Summary (Contd.) The persistent data is associated with specific business logic. The data of an enterprise application will map to the data tier of the n-tier architecture. For example, SQL can be used to store the data. The logic to access the data can be implemented in the data access tier. For example, ADO.NET can be used to access the data. The business logic can be implemented in the business logic tier. For example, Visual Basic .NET or C# can be used to implement the business rules. The interpretation of the data can be implemented in the proxy and distributed logic tier. For example, C# or Visual Basic .NET can be used to implement the proxy tier.

Summary (Contd.) The view of the data can be implemented in the presentation tier. For example, ASP.NET can be used to implement the view.