1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

Objectives In this session, you will learn to:
BICS546 Client/Server Database Application Development.
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
© 2007 by Prentice Hall 1 Chapter 10: The Internet Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
Time Scalability Single User Unlimited Users 100s of Users Several Users PC based Single user Late 1980sNow PC based, file-level locking Single user or.
Introduction to Web Interface Technology (CSE2030)
Chapter 9: The Client/Server Database Environment
Introduction to Web Interface Technology (CSE2030)
Database Processing Applications Chapter Seven DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Chapter 14 Database Connectivity and Web Technologies
Lecture The Client/Server Database Environment
Chapter 8: database application development
Client/Server Database Environment CISB344 Database 2  At the end of this chapter, you should be able to: › Define client/server systems, file server,
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
The Client/Server Database Environment
The Internet Database Environment Chapter 3 1. Outline Characteristics of Web-Based Database Applications Database-enabled intranet/internet environment.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
The Internet Database Environment
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Chapter 10 © 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 10: The Internet Database Environment Modern Database Management 9 th Edition.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
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.
VS.NET Syllabus By Peter Huang.
Enterprise Systems MIS 181.9: Service Oriented Architecture 2 nd Semester,
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 10: The Internet Database Environment Modern Database Management 9 th Edition Jeffrey.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 8: Database Application Development Modern Database Management 10 th Edition Jeffrey.
Concepts of Database Management Sixth Edition Chapter 9 Database Management Approaches.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
1 Welcome to CSC 301 Web Programming Charles Frank.
Personal Computer - Stand- Alone Database  Database (or files) reside on a PC - on the hard disk.  Applications run on the same PC and directly access.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
Introduction and Principles Web Server Scripting.
The basics of knowing the difference CLIENT VS. SERVER.
Chapter 9  Definition of terms  List advantages of client/server architecture  Explain three application components:
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
© 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 CHAPTER 8: DATABASE APPLICATION DEVELOPMENT Modern Database Management 11 th Edition Jeffrey.
Overview Web Technologies Computing Science Thompson Rivers University.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 9: The Client/Server Database Environment Modern Database Management 9 th Edition.
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
Chapter 10 1 Figure 10-1: Database-enabled intranet-internet environment.
National College of Science & Information Technology.
E-Business Infrastructure PRESENTED BY IKA NOVITA DEWI, MCS.
Web Technologies Computing Science Thompson Rivers University
What is WWW? The term WWW refers to the World Wide Web or simply the Web. The World Wide Web consists of all the public Web sites connected to the Internet.
The Client/Server Database Environment
Introduction and Principles
Chapter 15 Database Connectivity and Web Technologies
Chapter 10: The Internet Database Environment
Chapter 9: The Client/Server Database Environment
Lecture 1: Multi-tier Architecture Overview
Web Technologies Computing Science Thompson Rivers University
Presentation transcript:

1 LM 6 Database Applications Dr. Lei Li

Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered and 3-tiered system Describe key components of a Web application using a database Explain the purpose of XML, JSP, PHP and ASP.Net 2

Client/Server Architectures Processes distributed between clients and servers Client– requests and uses a service Server–provides a service DBMS- server is a database server 3

Application Logic 4 GUI Interface Procedures, functions, programs DBMS activities Processing Logic I/O processing I/O processing Business rules Business rules Data management Data management Storage Logic Data storage/retrieval Data storage/retrieval Presentation Logic Input–keyboard/mouse Input–keyboard/mouse Output–monitor/printer Output–monitor/printer

Two-tier client-server environments 5 Source: architecture/

Two-Tier Database Server Architectures Client responsible for Presentation logic Data processing logic Business rules logic Server performs all data storage, access, and processing Typically called a database server 6

Characteristics of Two-Tier Client/Server Systems Few users Not mission-critical Low transaction volumes Common programming languages: Java, VB.NET, C# Interface database via middleware, APIs 7

Three-tier Client-server Environments 8

Web Application Components Database server – hosts the DBMS e.g. Oracle, SQL Server, Informix, MS Access, MySql Web server – receives and responds to browser requests using HTTP protocol e.g. Apache, Internet Information Services (IIS) Application server – software building blocks for creating dynamic web sites e.g. MS ASP.NET framework, Java EE, ColdFusion, PHP Web browser – client program that sends web requests and receives web pages e.g. Internet Explorer, Firefox, Safari, Google Chrome 9

Languages for Creating Web Pages Hypertext Markup Language (HTML) Markup language specifically for Web pages Standard Generalized Markup Language (SGML) Markup language standard Extensible Markup Language (XML) Markup language allowing customized tags XHTML XML-compliant extension of HTML JavaScript/VBScript Scripting languages that enable interactivity in HTML documents Cascading Style Sheets (CSS) Control appearance of Web elements in an HML document XSL and XSLT XMS style sheet and transformation to HTML 10

Processing in 3-Tier Applications Static page requests.htm or.html requests handled by the Web server Dynamic page requests.jsp,.aspx, and.php requests are routed to the application server Server-side processing by JSP servlet, ASP.NET application, ColdFusion, or PHP Database access via JDBC, ADO.NET, or other database middleware 11

Considerations in 3-Tier Applications Stored procedures Code logic embedded in DBMS Improve performance, but proprietary Transactions Involve many database updates Either all must succeed, or none should occur Database connections Maintaining an open connection is resource-intensive Use of connection pooling 12

Benefits of Stored Procedures Performance improves for compiled SQL statements Reduced network traffic Improved security Improved data integrity Thinner clients 13

Benefits of Three-Tier Architectures Scalability Technological flexibility Long-term cost reduction Better match of systems to business needs Improved customer service Competitive advantage Reduced risk 14

Extensible Markup Language (XML) A text-based markup language (like HTML) Uses elements, tags, attributes Includes document type declarations (DTDs), XML schemas, comments, and entity references Revolutionizes the way data are exchanged over the Internet Document Structure Declarations (DSD), XML Schema (XSD) and Relax NG replacing DTDs for validating XML document structure 15