DAT602 Database Application Development Lecture 12 C/S Model Database Application.

Slides:



Advertisements
Similar presentations
ICS 434 Advanced Database Systems
Advertisements

©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 9 Distributed Systems Architectures Slide 1 1 Chapter 9 Distributed Systems Architectures.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
SWE 316: Software Design and Architecture
Adding scalability to legacy PHP web applications Overview Mario A. Valdez-Ramirez.
Objectives In this session, you will learn to:
CS 415 N-Tier Application Development By Umair Ashraf July 2nd,2013 National University of Computer and Emerging Sciences Lecture # 7 N-Tier Architecture.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Technical Architectures
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
Distributed Systems Architectures
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
Ch 12 Distributed Systems Architectures
Chapter 2 Database Environment Pearson Education © 2014.
Application Architectures Vijayan Sugumaran Department of DIS Oakland University.
Distributed Systems: Client/Server Computing
1 © Prentice Hall, 2002 The Client/Server Database Environment.
Centralized and Client/Server Architecture and Classification of DBMS
Tiered architectures 1 to N tiers. 2 An architectural history of computing 1 tier architecture – monolithic Information Systems – Presentation / frontend,
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
Lecture The Client/Server Database Environment
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
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.
Client/Server Architectures
MIS 710 Module 0 Database fundamentals Arijit Sengupta.
Client/Server Technology Two-Tier Architecture Three-Tier Architecture Josh Antonelli Jenn Lang Joe Schisselbauer Chad Williams.
Database Architectures and the Web
The Design Discipline.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
MBA 664 Database Management Systems Dave Salisbury ( )
Database Architectures and the Web Session 5
CSC271 Database Systems Lecture # 4.
1 소프트웨어공학 강좌 Chap 9. Distributed Systems Architectures - Architectural design for software that executes on more than one processor -
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
Database Application Security Models Database Application Security Models 1.
CS480 Computer Science Seminar Introduction to Microsoft Solutions Framework (MSF)
Requirements To Design--Iteratively Chapter 12 Applying UML and Patterns Craig Larman.
Csi315csi315 Client/Server Models. Client/Server Environment LAN or WAN Server Data Berson, Fig 1.4, p.8 clients network.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Week 5 Lecture Distributed Database Management Systems Samuel ConnSamuel Conn, Asst Professor Suggestions for using the Lecture Slides.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
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.
Architectural Design Identifying system components and their interfaces.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
CENTRALISED AND CLIENT / SERVER DBMS. Topics To Be Discussed………………………. (A) Centralized DBMS (i) IntroductionIntroduction (ii) AdvantagesAdvantages (ii)
Introduction Database integral part of our day to day life Collection of related database Database Management System : software managing and controlling.
Middleware Technologies
UML Package Diagrams. Package Diagrams UML Package Diagrams are often used to show the contents of components, which are often packages in the Java sense.
Distributed System Architectures Yonsei University 2 nd Semester, 2014 Woo-Cheol Kim.
Data Communications and Networks Chapter 9 – Distributed Systems ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Chapter 9  Definition of terms  List advantages of client/server architecture  Explain three application components:
Chapter 2 Database Environment.
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
©Ian Sommerville 2000, Tom Dietterich 2001 Slide 1 Distributed Systems Architectures l Architectural design for software that executes on more than one.
DAT602 Database Application Development Lecture 1 Course Structure & Background knowledge.
IT 5433 LM1. Learning Objectives Understand key terms in database Explain file processing systems List parts of a database environment Explain types of.
Dr D. Greer, Queens University Belfast ) Software Engineering Chapter 7 Software Architectural Design Learning Outcomes Understand.
Distributed Systems Architectures Chapter 12. Objectives  To explain the advantages and disadvantages of different distributed systems architectures.
Distributed Systems Architectures. Topics covered l Client-server architectures l Distributed object architectures l Inter-organisational computing.
N-Tier Architecture.
COSadmin COSC513 Ping Lu.
Presentation transcript:

DAT602 Database Application Development Lecture 12 C/S Model Database Application

In this lecture, you will see how to create a simple Client / Server model database application. We will build a simple library book management system for demonstration. Database Application Development - Lecture 12

There are basically two major kinds of modern architectures: two-tier client/server and three- tier—also commonly called n-tier. Database Application Development - Lecture 12

Two-tier client/server A two-tier application ideally provides multiple workstations with a uniform presentation layer that communicates with a centralized data storage layer. The presentation layer is generally the client, and the data storage layer is the server. Database Application Development - Lecture 12

Two-tier client/server Following diagram shows how two-tier systems give clients access to centralized data. Database Application Development - Lecture 12

Two-tier limitations - Fat clients Two-tier, fat-client systems are notorious for their inability to adapt to changing environments and scale with growing user and data volume. Even though a client's primary task is the presentation of data, a fat client is loaded with knowledge completely unrelated to that task. Database Application Development - Lecture 12

Two-tier limitations -Object reuse In one common sense, object reuse is simply code reuse. In two-tier model, code is too close to database server, it is not easy to be modified when business logic changes. Two-tier model lacks flexibility. Database Application Development - Lecture 12

When to use a two-tier design? If you can answer "yes" to each of the questions in the checklist, then a two-tier architecture is likely your best solution. - Does your application emphasize time-to-market over architecture? - Does your application use a single database? - Is your database engine located on a single host? - Is your database likely to stay approximately the same size over time? - Is your user base likely to stay approximately the same size over time? - Are your requirements fixed with little or no possibility of change? - Do you expect minimal maintenance after you deliver the application? Database Application Development - Lecture 12

Three-tier’s advantage - Isolated database connectivity Three-tier model helps you to split presentation layer and data storage layer. Changes of these two layers won’t affect each other. Database Application Development - Lecture 12

Three-tier’s advantage -Centralized business processing These centralized rules for processing data inside business objects are called business rules. No matter what your problem domain is, the rules for how data should be processed rarely change. Database Application Development - Lecture 12

Three-tier’s advantage -Business object presentation The presentation layer of a three-tier application should therefore contain only user interface code that can be modified easily on a whim. The presentation layer of a bank application: The teller window's console at the bank The ATM machine The web applet Database Application Development - Lecture 12

Drawbacks to the three-tier architecture Chief among its drawbacks is the level of complexity it adds to a system. It is also harder to find software engineers who are competent in three-tier programming skills such as transaction management and security. Database Application Development - Lecture 12

In next, I’ll give you a demonstration for how to create a simple two-tie client server database application. This C/S database application is developed for library management. Database Application Development - Lecture 12

Step 1: write your specification of this library application. What kind of users be involved in this application? What features this application should has? Simple hierarchy of your application. Database Application Development - Lecture 12

Extremely Simple Specification In this application, there are two kinds of users: librarian and normal user. Librarians has fully authorization, they can add, modify or remove books, users information, and also can add or modify loan log. Normal users can observe their loan log and check their accounts’ status. This application should consists with two client GUIs, one for librarians, and another for normal users. Database Application Development - Lecture 12

Step: 2 Design and build database of this library application. Diagram: Structure of library application

Step 3: implement basic operation: insert record, remove record, query for each table. Step 4: Design GUI Database Application Development - Lecture 12