What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.

Slides:



Advertisements
Similar presentations
HTTP Request/Response Process 1.Enter URL ( in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com.
Advertisements

CBS Expert Team on Integrated Data Management – WMO December 2003 ACSYS – CliC – IACPO.
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Dynamic Web Pages. Web Programming  All our web pages so far have been static pages. 1. We create a web page 2. We upload it to the web server 3. People.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Multiple Tiers in Action
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Apache Tomcat Server Typical html Request/Response cycle
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
PHP and MySQL Week#1  Course Plan.  Introduction to Dynamic Web Content.  Setting Up Development Server Eng. Mohamed Ahmed Black 1.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Intro to PHP Introduction to server-side scripts (It’s all good :D) © TAFE NSW
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, October 18, 2012 Session 7: PHP.
Web Application Architecture and Communication. Displaying a Web page in a Browser
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.
Web Application Programming Carol Wolf Computer Science.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Welcome to CSC 301 Web Programming Charles Frank.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Web Controlled of Robot Georgi Chakarov Ivelin Stoyanov.
Case Study Dynamic Website - Three Tier Architecture
Web Architecture Introduction
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
1 CSC 301 Web Programming Charles Frank. PHP – Stands for:  Personal Home Page (originally),  PHP: Hypertext Preprocessor (now; follows GNU’s recursive.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
The basics of knowing the difference CLIENT VS. SERVER.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Invitation to Computer Science 6 th Edition Chapter 10 The Tower of Babel.
How Web Database Architectures Work CPS181s April 8, 2003.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
Display Page (HTML/CSS)
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Overview Web Technologies Computing Science Thompson Rivers University.
CGS 3066: Web Programming and Design Spring 2016 Introduction to Server-Side Programming.
Dive into web development
CGS 3066: Web Programming and Design Spring 2017
Web Technologies Computing Science Thompson Rivers University
Introduction to Dynamic Web Programming
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
CSC 301 Web Programming Charles Frank.
Introduction and Principles
PHP / MySQL Introduction
Database Driven Websites
PHP + Oracle = Data-Driven Websites
Web Browser server client 3-Tier Architecture Apache web server PHP
Information system Management
Information system Management
PHP and Forms.
Unit 6 part 3 Test Javascript Test.
IntroductionToPHP Static vs. Dynamic websites
Architecture of the web
An Introduction to JavaScript
PHP Forms and Databases.
Web Technologies Computing Science Thompson Rivers University
UFCEUS-20-2 Web Programming
Client-Server Model: Requesting a Web Page
Web Application Development Using PHP
Presentation transcript:

What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used to generate web pages from data. –Some systems that provide the necessary functionality –How a simple example looks in code. Web sites based on data

Web Client / userWeb Server Database server 1. User requests a page 3. SQL query 4. Server executes query data returned 5. Server script copies data in HTML format Web page on screen The “three tier architecture” 2. HTTP request sent Response Runs program or script

Some technologies to use Web Client / userWeb ServerDatabase server Any Web browser Apache (most popular) Server language: PHP MySQL Query language: SQL Bundled in the package Client languages: HTML, CSS, JavaScript

In practice: code file=users/charles/PHP_and_MySQL.xml ( … PHP and MySQL databases <?php $con = mysql_connect(“hostname","user","password"); mysql_select_db(“databasename", $con); ?> The lines in red are server commands, Embedded in the HTML code.

Web sites based on data What is it? –Large Web sites that support commercial use are written by programming the Web server to generate pages from database data What you’ve learnt –The three-tier architecture supports data- oriented web sites –The open-source XAMPP package contains the necessary software –PHP server scripting is embedded within HTML code to program the system.