Database Driven Websites

Slides:



Advertisements
Similar presentations
Cross-Site Scripting Issues and Defenses Ed Skoudis Predictive Systems © 2002, Predictive Systems.
Advertisements

PHP I.
DT228/3 Web Development WWW and Client server model.
DT211/3 Internet Application Development Active Server Pages & IIS Web server.
Server-Side vs. Client-Side Scripting Languages
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.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
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.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Introduction to Web Interface Technology (CSE2030)
Multiple Tiers in Action
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
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.
Lecturer: Ghadah Aldehim
INTRODUCTION TO WEB DATABASE PROGRAMMING
Web Design Scripting and the Web. Books on Scripting.
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Chapter 1: Introduction to Web
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Server-side Scripting Powering the webs favourite services.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
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)
Case Study Dynamic Website - Three Tier Architecture
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
NMD202 Web Scripting Week5. What we will cover today PHP & MySQL Displaying Dynamic Pages Exercises Modifying Data PHP Exercises Assignment 1.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
The basics of knowing the difference CLIENT VS. SERVER.
Higher Computing Science Coding the Web: HTML, JavaScript, PHP and MySQL.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
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.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
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.
4.01 How Web Pages Work.
Internet/Web Databases
Web Programming Language
Higher Computing Science
Tonga Institute of Higher Education IT 141: Information Systems
Introduction to Dynamic Web Programming
Section 6.3 Server-side Scripting
Introduction and Principles
PHP / MySQL Introduction
APTECH JANAKPURI INSTITUTE PROVIDING WEB DESIGNING COURSES Address:- J-1,2nd Floor, Opp Metro Pillar No – 559, Janakpuri East, Delhi /42.
Tonga Institute of Higher Education IT 141: Information Systems
PHP and Forms.
Lesson 1 The Web.
Tonga Institute of Higher Education IT 141: Information Systems
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
IntroductionToPHP Static vs. Dynamic websites
Intro to PHP.
Tutorial 6 PHP & MySQL Li Xu
DD Sir-Infomatics Web Development Part-1.
4.01 How Web Pages Work.
Client-Server Model: Requesting a Web Page
Hypertext Preprocessor
Web Application Development Using PHP
Presentation transcript:

Database Driven Websites Higher Computing Science

Static Web Pages a web page where content is created and set using HTML and CSS, no options to support user input. content will not change as a result of any activity taking place on a server side database must be updated by web developers if changes are to be seen by users. best for those who do not intend to have lots of content that needs to be updated regularly.  Shawlands Academy website is an example

Dynamic Web Pages A dynamic web page contains information that changes. This information can change for a number of reasons: the user who has logged on to the system Sports / news update e-commerce update of available stock /bank balance etc geo-location/date/time/weather Eg http://www.bbc.co.uk/sport/football

Database-driven Website The parts of the website which change are often linked to a database held on a server. This is known as a database-driven website. The web page takes information from a database and inserts that information into the web page each time it is loaded. Database driven websites allow users to fill in forms that can then be sent as queries to the database allowing for real time feedback eg the number of tickets available for a concert or the number of seats left on flight

Database-driven Website If the information stored in the database changes, the web page connected to the database will update automatically eg online banking sites where customers can log in and check their bank account - balance is updated in real time; Online flight sales (prices and availability updated in real time) Most database-driven websites are authenticated sites – users must log on to access them

Advantages real time update of webpages when the content of a server side database changes user specific/targeted content possibility of e-commerce real time update of content linked to other database driven sites or servers, eg weather widgets ability to gain feedback or queries from the user via forms

DBMS for database-driven websites MySQL (Structured Query Language) – most common (runs on UNIX and Linux OS) SQL server, MS Access and XML (extensible markup language) run on windows OS

Client-side Scripting A client-side script is a program that is processed within the client browser. These kinds of scripts are small programs which are downloaded, compiled and run by the browser.  JavaScript is an important client-side scripting language and widely used in dynamic websites. The script can be embedded within the HTML or stored in an external file

Server-side scripting Server side scripting occurs when data is sent from a client device to the server, where it is processed before a result is sent back to the client. This means validation can be carried out on the server rather than being interpreted by browser software on the client. Queries can also be sent from the client device to be executed on the server which contains a database relevant to the purpose of the site. E-commerce sites, online multiplayer games and social media sites all make extensive use of server side scripting

server side scripting – 4 stages: Server receives data from the client Request to receive a webpage User completed form entries Specific information such as the current time or location on the client system Validation will occur on the server Form data such as usernames and passwords, email addresses and the number of tickets/items are checked for validity server side If data is not valid, the server will send a message back to the client that is then interpreted by the browser software and output on the dynamic webpage Valid data can be used to query a database server side using languages like MySQL a result is sent back to the client, the result will often mean that the webpage or parts of the webpage change. PHP code is often used as part of this process.