Objectives PL/SQL And Application Programming Application Models

Slides:



Advertisements
Similar presentations
Netscape Application Server Application Server for Business-Critical Applications Presented By : Khalid Ahmed DS Fall 98.
Advertisements

SWE 316: Software Design and Architecture
Technical Architectures
Oracle11g: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
© Prentice Hall CHAPTER 5 Organizational Systems.
Local Area Networks Outline –Basic Components of a LAN –Network Architectures –Topologies and LAN Technologies –Selecting a LAN –Improving LAN Performance.
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
Chapter 9: The Client/Server Database Environment
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Client/Server Architecture
Client/Server Database Environment CISB344 Database 2  At the end of this chapter, you should be able to: › Define client/server systems, file server,
The Client/Server Database Environment
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.
Web-based Software Development - An introduction.
Copyright © 2002 Pearson Education, Inc. Slide 4-1.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
1 Chapter 3 Database Architecture and the Web Pearson Education © 2009.
Networked Application Architecture Design. Application Building Blocks Application Software Data Infrastructure Software Local Area Network Server Desktop.
Introduction to distributed systems Dr. S. Indran 23 January 2004.
Modern Software Technologies Java™, J2EE™, JSP™, JDBC™ by Radoslav Tr. Ivanov
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1 Chapter 2: Database System Concepts and Architecture - Outline Data Models and Their.
Chapter 2 Database System Architecture. An “architecture” for a database system. A specification of how it will work, what it will “look like.” The “ANSI/SPARC”
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
Simple Database.
I Copyright © 2004, Oracle. All rights reserved. Introduction Copyright © 2004, Oracle. All rights reserved.
11 Copyright س Oracle Corporation, All rights reserved. ® Overview of PL/SQL.
MACIASZEK, L.A. (2001): Requirements Analysis and System Design. Developing Information Systems with UML, Addison Wesley Chapter 6 - Tutorial Guided Tutorial.
1 Copyright © 2004, Oracle. All rights reserved. Introduction to PL/SQL.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
1 Copyright © 2004, Oracle. All rights reserved. Introduction to PL/SQL.
PL/SQLPL/SQL Oracle10g Developer: PL/SQL Programming Chapter 3 Handling Data in PL/SQL Blocks.
Stored Procedures. Definition a stored procedure is a set of Structured Query Language (SQL) statements with an assigned name that's stored in the database.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Application Development
Oracle10g Developer: PL/SQL Programming1 Objectives SQL queries within PL/SQL Host or bind variables The %TYPE attribute Include queries and control structures.
Oracle11g: PL/SQL Programming Chapter 3 Handling Data in PL/SQL Blocks.
WEB SERVER SOFTWARE FEATURE SETS
Chapter 9  Definition of terms  List advantages of client/server architecture  Explain three application components:
Oracle9i Developer: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
Chapter 2 Database Environment.
Oracle10g Developer: PL/SQL Programming1 Objectives Named program units How to identify parameters The CREATE PROCEDURE statement Creating a procedure.
SYSTEMSDESIGNANALYSIS 1 Chapter 21 Implementation Jerry Post Copyright © 1997.
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
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.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
Web-based Software Development - An introduction
Chapter 2: Database System Concepts and Architecture - Outline
Chapter 2 Database System Concepts and Architecture
Oracle11g: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
Chapter 10 Oracle11g: PL/SQL Programming Oracle-Supplied Packages,
MVC and other n-tier Architectures
Introduction to PL/SQL
The Client/Server Database Environment
Introduction to Databases Transparencies
Tiers vs. Layers.
Chapter 17: Client/Server Computing
MATERI PL/SQL Procedures Functions Packages Database Triggers
Handling Data in PL/SQL Blocks
UFCEUS-20-2 Web Programming
Graduation Project #1 University Internet Student Registration System
Presentation transcript:

Objectives PL/SQL And Application Programming Application Models Documentation SQL and PL/SQL tools BrewBeans & MoreMovies Databases SQL SELECT Statement Syntax Oracle10g Developer: PL/SQL Programming

Procedural Languages Programming languages allow actions of the end user to be converted to computer instructions Procedural languages allow the inclusion of logic processes PL/SQL is a procedural language, SQL is not a procedural language Oracle10g Developer: PL/SQL Programming

Application Programming Example application screen Oracle10g Developer: PL/SQL Programming

Brewbean’s Application Processing needed to support the shopping cart check out button Verify quantities are > 0 Calculate shipping cost Calculate taxes Check/update product inventory Check shopper profile for credit card information Oracle10g Developer: PL/SQL Programming

The PL/SQL Language Proprietary Oracle language Tightly integrated with SQL Can increase performance by grouping statements into blocks of code Portable to any Oracle platform Used within many Oracle tools Stored program units can increase security Oracle10g Developer: PL/SQL Programming

Application Models Three main components User interface or screens Program logic (brains behind the screens) Database Most models are based on a two- or three-tier structure Oracle10g Developer: PL/SQL Programming

Two-tier Model Commonly referred to as client/server Parts of the processing occur both on the user’s computer and the database server Named or stored program units are blocks of PL/SQL code saved in the Oracle database to provide server-side processing Oracle10g Developer: PL/SQL Programming

Two-tier Diagram Oracle10g Developer: PL/SQL Programming

Three-tier Model Thin client with no code loaded on the user machine (browser access) Middle tier is the application server – Forms server for Oracle Last tier is the database server Processing load is on the middle and last tier Maintenance is simplified Oracle10g Developer: PL/SQL Programming

Three-tier Diagram Oracle10g Developer: PL/SQL Programming

Oracle Documentation Oracle Technology Network (OTN): otn.oracle.com Doc directory on CDs distributed by Oracle Oracle10g Developer: PL/SQL Programming

Software Used SQL*Plus – Oracle10g Other software introduced in appendices Oracle SQL Developer TOAD Oracle10g Developer: PL/SQL Programming

SQL*Plus Client Interface Oracle10g Developer: PL/SQL Programming

SQL*Plus Internet Interface Named iSQL*Plus Oracle10g Developer: PL/SQL Programming

Third-party Tools TOAD Rapid SQL PL/SQL Developer SQL-Programmer PLEdit FROG Oracle10g Developer: PL/SQL Programming

The Brewbean’s Company Retails coffee and brewing equipment via the Internet, phone, and stores Used in chapter explanations, examples, and exercises Databases create script provided for each chapter Oracle10g Developer: PL/SQL Programming

ERD for Brewbean’s DB Oracle10g Developer: PL/SQL Programming

More Movies ERD Movie rental company used in an ongoing case study Oracle10g Developer: PL/SQL Programming

SQL Query Syntax SELECT <columns> FROM <tables, views> WHERE <conditions> GROUP BY <columns> HAVING <aggregation conditions> ORDER BY <columns>; Oracle10g Developer: PL/SQL Programming

Traditional Join Oracle10g Developer: PL/SQL Programming

ANSI Join Oracle10g Developer: PL/SQL Programming

Using Aggregate and WHERE Oracle10g Developer: PL/SQL Programming

Creating Tables Oracle10g Developer: PL/SQL Programming

DML Statements Oracle10g Developer: PL/SQL Programming