Web Server Administration Chapter 7 Installing and Testing a Programming Environment.

Slides:



Advertisements
Similar presentations
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 1 Introduction to Perl and CGI.
Advertisements

Basic SQL Introduction Presented by: Madhuri Bhogadi.
Murach’s Java SE 6, C21© 2007, Mike Murach & Associates, Inc.Slide 1.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Introduction to Web Interface Technology (CSE2030)
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Oracle SQL*plus John Ortiz. Lecture 10SQL: Overview2 Overview  SQL: Structured Query Language, pronounced S. Q. L. or sequel.  A standard language for.
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
INTRODUCTION TO WEB DATABASE PROGRAMMING
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
CSCI 6962: Server-side Design and Programming
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
7/8/05MySQL David Lawrence1 David Lawrence, JLab An introduction for the novice.
ASP.NET Programming with C# and SQL Server First Edition
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.
True or False? Programming languages can be used to update databases and communicate with other systems. True.
PHP Programming with MySQL Slide 8-1 CHAPTER 8 Working with Databases and MySQL.
 SQL stands for Structured Query Language.  SQL lets you access and manipulate databases.  SQL is an ANSI (American National Standards Institute) standard.
Server Side Programming ASP1 Server Side Programming Database Integration (cont.) Internet Systems Design.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
Python MySQL Database Access
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Chapter 7 Working with Databases and MySQL PHP Programming with MySQL 2 nd Edition.
CSC 411/511: DBMS Design Dr. Nan WangCSC411_L12_JDBC_MySQL 1 MySQL and JDBC.
MySQL Databases & PHP Integration Using PHP to write data to, and retrieve data from, a MySQL database.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
Introduction to ADO Y.-H. Chen International College Ming-Chuan University Fall, 2004.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
MySQL Database Management Systems Universitas Muhammadiyah Surakarta Yogiek Indra Kurniawan.
Web Programming Brian Toone 8/27/2014. Outline for today 1.Understanding the architecture of the web 2.Overview of programming languages – Client-side.
Information Building and Retrieval Using MySQL Track 3 : Basic Course in Database.
CF101: Welcome to ColdFusion Simon Horwith CTO, Etrilogy Ltd.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
PHP and Mysql Database. PHP and Database Mysql – popular open-source database management system PHP usually works with Mysql for web-based database applications.
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.
Module Review Basic SQL commands: Create Database, Create Table, Insert and Select 2. Connect an SQL Database to PHP 3. Execute SQL Commands in.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
SQL.. AN OVERVIEW lecture3 1. Overview of SQL 2  Query: allow questions to be asked of the data and display only the information required. It can include.
CHAPTER 10 PHP MySQL Database
Database Connectivity and Server-Side Scripting Chapter 12.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
1 A Very Brief Introduction to Relational Databases.
SQL Introduction to database and SQL. Chapter 1: Databases and Database Users 6 Introduction to Databases Databases touch all aspects of our lives. Examples:
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
MY SQL INTRODUCTION TO LOGIN BASIC COMMANDS OTHER COMMANDS.
Introduction to MySQL  Working with MySQL and MySQL Workbench.
Understand Data Definition Language (DDL) Database Administration Fundamentals LESSON 1.4.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
 MySQL is a database system used on the web  MySQL is a database system that runs on a server  MySQL is ideal for both small and large applications.
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.
Introduction to Dynamic Web Programming
PGT(CS) ,KV JHAGRAKHAND
PHP / MySQL Introduction
Chapter 8 Working with Databases and MySQL
MSIS 655 Advanced Business Applications Programming
SQL Queries Chapter No 3.
SQL .. An overview lecture3.
IntroductionToPHP Static vs. Dynamic websites
Web Application Development Using PHP
Presentation transcript:

Web Server Administration Chapter 7 Installing and Testing a Programming Environment

Overview Understand the need for programming languages Understand database management systems (DBMSs) Install and test DBMSs Understand the Web-based programming environment Program with databases

The Need for Programming Languages Web pages with just HTML statements are static pages Pages that contain programming statements allow changes and they are called dynamic pages Programming languages can also be used to update databases and communicate with other systems

Database Management Systems (DBMSs) The purpose of a DBMS is to store data in an organized manner for further processing Structured Query Language (SQL) is the language used to define and manipulate the data Most databases are relational and organize data into tables

Database Tables

Three Categories of SQL Data Manipulation Language (DML) Used for programming and to insert, update, delete, and retrieve data Data Definition Language (DDL) Used to create tables and other related structures in a database Data Control Language (DCL) Allows you to control access to tables

Installing and Testing MySQL for Red Hat Linux As with other applications, you need to install (we already have it installed) Start MySQL with /etc/rc.d/init.d/mysqld start The command-line interface is accessed with mysql Create a password for mysql root account with SET PASSWORD FOR root=PASSWORD('password');

Login to mysql and Create a Database To login from the shell prompt use mysql –uroot –ppassword To create a database called hr create database hr; In order to do any operations on the database such as create tables, you have to "use" it use hr;

Create Tables and Insert Data The following script creates the employee table and adds three employees create table employee ( ssn char(9) primary key, firstname varchar(20), lastname varchar(30), deptno char(2), salary numeric(6)); insert into employee values(' ','Lynn','Gweeny',10,55000); insert into employee values(' ','Elark','Kaboom',10,60000); insert into employee values(' ','John','Doh',20,45000);

Web-based Programming Environment Cookie Text that a Web site stores on your disk Common Gateway Interface (CGI) A protocol that allows the operating system to interact with the Web server Practical extraction and reporting language (Perl) First popular language for Web servers Java Server Pages (JSP) Language similar to Java

Web-based Programming Environment Active Server Pages (ASP) Script-based environment available on all IIS Web servers ASP.NET Compiled programs operate under.NET Framework.NET Framework is an integral part of Windows Server 2003 and can be installed on Windows 2000 PHP Hypertext Protocol (PHP) Popular language available on most platforms The structure of JSP, ASP, and PHP are similar

Programming with Databases Program wants to use a database 1. Connect to the database 2. Send SQL command to the database 3. Process data returned by database Two types of SQL statements Retrieves data – select statement Changes data – insert or delete statement

Producing a Report Connect to the database Execute a SQL select statement to retrieve data from a table Loop through the records and display the contents

Programming with PHP

Summary Programming languages process data, allow you to create dynamic Web pages, and can produce other features Database management systems organize data for processing