Review of Databases, Server-side Scripting. Databases Database Database Modeling Relational Data Model Object oriented Database Entity Relationship Diagrams.

Slides:



Advertisements
Similar presentations
Management Information Systems, Sixth Edition
Advertisements

MSc IT UFIE8K-10-M Data Management Prakash Chatterjee Room 3P16
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Lecture 2 Web application architecture. Themes Architecture : The large scale structure of a system, especially a computer system Design choice: The need.
Chapter 2 Database Environment. Agenda Three-Level ANSI-SPARC Architecture Database Languages Data Models Functions of DBMS Components of DBMS Teleprocessing.
Introduction to Web Interface Technology (CSE2030)
Lecture Two Database Environment Based on Chapter Two of this book:
Database Management COP4540, SCS, FIU An Introduction to database system.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Database Systems Chapter 1 The Worlds of Database Systems.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Database Lecture # 1 By Ubaid Ullah.
CSC2012 Database Technology & CSC2513 Database Systems.
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.
Module Title? DBMS Introduction to Database Management System.
Chapter 2 CIS Sungchul Hong
Chapter 2 Database Environment
Web-Enabled Decision Support Systems
CSC271 Database Systems Lecture # 4.
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Fundamentals of Database Chapter 7 Database Technologies.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Database Organization and Design
Entity Framework Overview. Entity Framework A set of technologies in ADO.NET that support the development of data-oriented software applications A component.
MET280: Computing for Bioinformatics Introduction to databases What is a database? Not a spreadsheet. Data types and uses DBMS (DataBase Management System)
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts COMP319: Introduction Course Structure Course Assessment Review: DBMS Structure Review: Terminology.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
Web Programming Brian Toone 8/27/2014. Outline for today 1.Understanding the architecture of the web 2.Overview of programming languages – Client-side.
CF101: Welcome to ColdFusion Simon Horwith CTO, Etrilogy Ltd.
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
CS453: Databases and State in Web Applications (Part 2) Prof. Tom Horton.
CS779 Term Project Steve Shoyer Section 5 December 9, 2006 Week 6.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
Introduction and Principles Web Server Scripting.
Database Connectivity and Server-Side Scripting Chapter 12.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Chapter 2 Database Environment.
1 Database Environment. 2 Objectives of Three-Level Architecture u All users should be able to access same data. u A user’s view is immune to changes.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Database System Concepts Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
An Introduction to database system
Introduction What is a Database?.
PHP / MySQL Introduction
Database System Concepts and Architecture
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
IntroductionToPHP Static vs. Dynamic websites
Database Management Systems
Web Application Development Using PHP
Presentation transcript:

Review of Databases, Server-side Scripting

Databases Database Database Modeling Relational Data Model Object oriented Database Entity Relationship Diagrams SQL

Database Database is a collection of Information. It refers to a collection of data that is managed by a DBMS. A DBMS is expected to.. Allow users to create new Databases and specify its schema. Gives user ability to query and manipulate data.

Database contd… Supports storage of large volume of data, keeping it secure from accidents and unauthorized use. Control access to data from many users at once, taking care to see that the data is not corrupted.

DBMS Architecture “Query” Processor Storage Manager Data Metadata Transaction Manager Schema Modifications Queries Modifications

Database Modeling The process begins with analysis of what information the database must hold and the relationship among components of that information. The Database schema is specified in one of the several languages or notations suitable for expressing designs. After due consideration, the design is committed to a form that can be input to the DMBS.

Relational Data Model Today’s database implementations are almost always based on Relational model. It has a single data-modeling concept called the relation, a two-dimension table in which data is arranged. This model supports a very high level programming language called Structured Query Language, SQL.

Example Student #StudentNameAddress 1Jane JonesFirst Address 2Brian BrownSecond Address 3Clara ClarkeThird Address Student Studies Student #Course # 1C1 2T2 3 Course Course#CourseName# C1Computing T2Technology

Example contd… To query: "What course does Student 2 work in?" go to STUDIES and look up Student 2 and return Course# (i.e. T2) go to COURSE and look up T2 and return Theology "Name all students doing Theology" go to COURSE and find Course# (i.e. T2) go to STUDIES look up T2 and return all Student#s go to STUDENT and find each Student# and return each StudentName

Relational Database of a Cat Hammer the world flat by normalization

Object Oriented Database When database capabilities are integrated with object-oriented programming language capabilities, the result is an object-oriented database management system (ODBMS). An ODBMS makes database objects appear as programming language objects in one or more object-oriented programming languages. An ODBMS extends the language with transparently persistent data, concurrency control, data recovery, associative queries, and other database capabilities. Object-oriented databases are designed to work well with object-oriented programming languages

Example

Example contd… To query: "What course does Student 2 work in?" search Students index for pointer to Student 2 follow CoursePointer to T2 and return CourseName (Theology) "Name all students doing Theology" search Course Index and find Course# (i.e. T2) follow Student Pointers, looking up each Student# This process is called navigation, note that it relies heavily on pointers and that a large proportion of pointers must be persistent

Oo-database of a Cat

Entity Relationship Diagram Student StudentNo(PK) StudentName Address Studies StudentNo(FK) CourseNo(FK) Course CourseNo(PK) CourseName

SQL The Structured Query Language (SQL) comprises one of the fundamental building blocks of modern database architecture. SQL defines the methods used to create and manipulate relational databases on all major platforms.

SQL contd… SQL commands can be divided into two main sub languages. The Data Definition Language (DDL) contains the commands used to create and destroy databases and database objects. The Data Manipulation Language to insert, retrieve and modify the data contained within it.

Server-side Scripting Need ASP Coldfusion Perl PHP

NEED The Website creation will need access to databases and the ability to respond to user input.databases It also must be dynamic, scalable, and robust. Old standbys XSSI and static files just aren't sufficient to meet this requirements.XSSI

ASP Active server pages can be written in VBScript, an easy-to-learn scripting language that uses a syntax similar to VB. With the extensive integration capabilities of Microsoft's.NET Framework, powerful ASP pages with expanded libraries can be created..NET Framework IIS is required to run ASP. IIS is not extensively stable. A number of applications require third party software, which may not be free.

Coldfusion Simple, easy-to-learn, tag-based Syntax. Its native language, CFML (ColdFusion Markup Language) uses fewer but more powerful commands. Primitive, passable language. Works on variety of platforms.

PHP OPEN SOURCE Syntax borrowed from C, JAVA etc, hence a quick learning curve. Dynamic graphics generation, IMAP, SNMP, LDAP, XML. PHP can interface with Sybase, Oracle, Informix, Solid, Postgres, and even MSSQL. Runs on all possible web-servers.

Demonstration A web interface for students to enroll in courses online in PHP and Coldfusion using MYSQL backend.