Web Technology and DBMS’s (CB 29)

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

Lecture plan Information retrieval (from week 11)
DT228/3 Web Development WWW and Client server model.
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.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
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.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Introduction to Web Database Processing
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 1.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
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.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Web Interface Technology (CSE2030)
Technologies for EC/EB Walt Scacchi FEMBA 290 Winter 2003.
1 Minggu 12, Pertemuan 24 Web Technology and DBMSs (Chapter , 3rd ed.) Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Introduction to Web Interface Technology (CSE2030)
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
14 Chapter 14 Databases and The Internet Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Web-based Software Development - An introduction.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
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.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
Introduction to Internet Programming (Web Based Application)
Internet, intranet, and multimedia database processing l Database processing across local and wide area networks l Alternative architectures for distributing.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Fundamentals of Database Chapter 7 Database Technologies.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Welcome to CSC 301 Web Programming Charles Frank.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
1 CS122B: Projects in Databases and Web Applications Spring 2015 Notes 03: Web-App Architectures Professor Chen Li Department of Computer Science CS122B.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
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,
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
Introduction and Principles Web Server Scripting.
WEB SERVER SOFTWARE FEATURE SETS
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Lect5.ppt - 02/23/06 CIS 4100 Systems Performance and Evaluation Lecture 6 by Zornitza Genova Prodanoff.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
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.
Web-based Software Development - An introduction
Web Programming Language
WWW and HTTP King Fahd University of Petroleum & Minerals
Web Technology and DBMSs
PHP / MySQL Introduction
Web Technology and DBMSs
Database Driven Websites
Presentation transcript:

Web Technology and DBMS’s (CB 29) CPSC 356 Database Design Ellen Walker Hiram College (Includes figures from Database Systems by Connolly & Begg, © Addison Wesley 2005)

What is the Internet? Interconnected Networks History Interoperable via standards (TCP, IP) History ARPANet (late 60’s, early 70’s) - military NSF took over, provided funding (1986) Commercial backbones (1996 - present)

Internet vs. Intranet Internet Intranet Typically, limited interaction Global, open, public Called “extranet” to distinguish from Intranet Intranet Private network for exclusive use of an organization Behind a firewall Typically, limited interaction

Internet Evolution of a Business (Cisco) E-mail Web site E-Commerce Customers can place and pay for orders via web E-Business Complete integration of Internet technology into business’s infrastructure Ecosystem Entire business process automated - customers, suppliers, alliance partners, corporate infrastructure merged into seamless system

Web vs. Internet Internet provides infrastructure of information transmission across the network Web contains interlinked information (web pages) Servers: contain pages and transmit on request Clients (browsers): request and display pages to users

Languages of the Web HTTP - protocol for sending / receiving web pages. Includes GET vs. POST HTML - basic markup language (represents complex pages as text). Includes mechanism (href) to reference other pages. XML - extended markup language - generalization of HTML to represent more complex document information (etc) -- this is not a complete list!

Limitations of HTTP Each transaction consists of a single request for data and a single response. GET = request data POST = response (or data from form) Protocol is “stateless” - does not retain information beteween transactions Workarounds: cookies or hidden text

Static vs. Dynamic Web Page Static web page Contents of page stored in a file, served as originally written Dynamic web page Generated as needed Only instructions for generating the page are stored (e.g. php query/display based on argument)

Dynamic Web Pages Input provided as parameters or from forms in the page Data generated from queries Pages written in a “scripting language” (PHP is one example)

Requirements for Web-DBMS Integration Ability to maintain data security Not tied to a single DBMS Not tied to a single browser Availability of all features of DBMS Open-architecture approach, supporting multiple servers, standard interoperability languages (e.g. DCOM, CORBA, XML, SOAP)

Advantages of Web Approach Simplicity Platform independence Graphical User Interface Standardization Transparent network access Simplified deployment Global access

Disadvantages (lack of) Reliability (lack of) Security Cost (!) Heavy (unpredictable) loads HTML limitations Bandwidth & Performance limitations Immaturity of platform & tools

Tools to Integrate the Web Scripting Languages Client-side or Server-side Common Gateway Interface (CGI) Server-side Web server extensions Java, J2EE, SQLJ, etc. Microsoft .Net Oracle’s Internet platform

Scripting languages Programs embedded in HTML files on server Behavior of all clients changed by changing script on server Scripts are generally interpreted, not compiled

JavaScript Server-side or Client-side (client-side more common) Allows immediate reaction to user interface widgets Object-based (Document Object Model) Limited relative to Java (VBScript : Visual Basic = JavaScript : Java)

Perl, PHP Server side languages Heavy Unix flavor (e.g. use of regular expressions) PHP preferred for Linux Integrates with Apache HTTP Server Works well with MySQL or PostgreSQL

Common Gateway Interface (CGI) Defines how scripts communicate with web servers Uses Environment variables, standard I/O on server side Uses HTML Forms on client side (original impetus for forms) Nearly any programming language can run on server (std. output returned to browser) Server runs script based on filename (x.cgi, x.php, etc) - this is configurable

CGI Environment

Advantages of CGI Standardized interface Programming-language independent Web-server independence Simplicity Wide acceptance

Disadvantages of CGI Web server can be bottleneck Problems from HTTP Statelessness No validation of user input (must go “back” to repopulate form) No transactions (must connect to database on every page) Security risks Scripts with greater privileges than server Risk of unanticipated (or malicious) user input

HTTP Cookies Stored by browser in a file on client Cookies set / retrieved by HTTP request Issues: Not supported by all browsers For privacy reasons, users disable cookies

Non-CGI Gateways API Extensions to server (NSAPI, ISAPI) Scripts loaded as part of server Direct interaction with back end One copy per server, not per request Changes server executable (risk?) Requires specialized programmers

Vendor Specific Scripting Developed by vendors as server add-ons JSP - Java Server pages (Sun) ASP - Active Server pages (Microsoft) Flexibility of CGI, without performance overhead and I/O limitations Better integration with vendor’s other web solutions Some compatibility limitations

Sun’s Java Platform Java language: “write once run anywhere” Assorted “editions” ME (embedded) SE (standard) - for desktop & workstation EE (enterprise) - for multi-tier, robust, multiuser applications

Java 2 Platform (1999)

Microsoft .NET Platform Integrated across servers, OS, applications, programming language environments OLE - Object Linking and Embedding Shared objects that provide specific functionality (e.g. sound clip) [D]COM([Distributed] Component Object Model) Connects client application and object (binary-compatible components)

MS OLE - DB

.NET Framework

Oracle’s Approach Aimed at distributed environments N-tier architecture, based on industry standards Designed for e-business Components include: TopLink (relate Java objects to relational databases) Portal (entry point for web access) Business Intelligence (Reports, Discoverer, etc)

Oracle Internet Platform