An Overview of Database Access on the Web An Overview of Database Access on the Web Using ASP and Microsoft Database Technology Sheffield Hallam University.

Slides:



Advertisements
Similar presentations
DT228/3 Web Development WWW and Client server model.
Advertisements

DT211/3 Internet Application Development Active Server Pages & IIS Web server.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
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.
Introduction to Web Database Processing
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
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.
DT211/3 Internet Development Application Internet Development Application.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
Introduction to Web Interface Technology (CSE2030)
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
Introduction to eValid Presentation Outline What is eValid? About eValid, Inc. eValid Features System Architecture eValid Functional Design Script Log.
Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Beginning Active Server Pages Barry Sosinsky Valda Hilley Programming.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
Server-side Scripting Powering the webs favourite services.
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.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Server Side Programming ASP1 Server Side Programming Database Integration (cont.) Internet Systems Design.
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
State Management. What is State management Why State management ViewState QueryString Cookies.
Elements of ASP Documents Adapted from MCDN Web Workshop ( and Webmonkey’s Introduction to Active.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
COMP3121 E-Commerce Technologies Richard Henson University of Worcester November 2011.
Universiti Utara Malaysia Chapter 3 Introduction to ASP.NET 3.5.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
Security Scanners Mark Shtern. Popular attack targets Web – Web platform – Web application Windows OS Mac OS Linux OS Smartphone.
Lecture Note 1: Getting Started With ASP.  Introduction to ASP  Introduction to ASP An ASP file can contain text, HTML tags and scripts. Scripts in.
1 Welcome to CSC 301 Web Programming Charles Frank.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
Producing a high-impact web experience by integrate Macromedia Flash and ASP By Katie Tuttle CS 330: Internet Architecture and Programming Project.
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
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.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
WEB SERVER SOFTWARE FEATURE SETS
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Database Connectivity and Server-Side Scripting Chapter 12.
CSC 405: Web Application Engineering II Course Preliminaries Course Objectives Course Objectives Students’ Learning Outcomes Students’ Learning Outcomes.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
The basics of knowing the difference CLIENT VS. SERVER.
Copyright © 2002 Pearson Education, Inc. Slide 3-1 Internet II A consortium of more than 180 universities, government agencies, and private businesses.
Higher Computing Science Coding the Web: HTML, JavaScript, PHP and MySQL.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
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.
PHP / MySQL Introduction
Web Systems Development (CSC-215)
Chapter 2 Interacting with the Customer
ASP.NET Module Subtitle.
Architecture of the web
An Introduction to JavaScript
Hypertext Preprocessor
Presentation transcript:

An Overview of Database Access on the Web An Overview of Database Access on the Web Using ASP and Microsoft Database Technology Sheffield Hallam University 2003

Structure of Session Lecture: An Overview of Database Access Over the Web (30 mins) Lecture: An Overview of Database Access Over the Web (30 mins) Reading exercise 1 (20 mins): Reading exercise 1 (20 mins): A. Introduction to Client Server technology on the web B. Introduction to HTML, Scripting Languages ASP technology C. An introduction to ASP D. Getting acquainted with Microsoft Access databases Activity 1: Experimenting with HTML (20 mins) Activity 1: Experimenting with HTML (20 mins) Activity 2: Experimenting with ASP (25 mins) Activity 2: Experimenting with ASP (25 mins) Activity 3: Playing with the Shopping Cart e-commerce Site (15 mins) Activity 3: Playing with the Shopping Cart e-commerce Site (15 mins)

Structure of Presentation Introduce ASP and Microsoft Database technologies Introduce ASP and Microsoft Database technologies 3 Tiered Network architecture 3 Tiered Network architecture Example scenario Example scenario Simulate working example of ASP Simulate working example of ASP Demonstrate Shopping Cart e-Commerce Site Demonstrate Shopping Cart e-Commerce Site Summarise Presentation Summarise Presentation Discuss areas for further study Discuss areas for further study

What is Microsoft Access? Microsoft’s economical, Small-Scale RDBMS Microsoft’s economical, Small-Scale RDBMS Currently release is Access 2002 (XP) Currently release is Access 2002 (XP) Little brother to Microsoft SQL Server Little brother to Microsoft SQL Server Front-end GUI building functions Front-end GUI building functions Moderate performance, 100 max simultaneous users, good enough for smaller e-commerce projects Moderate performance, 100 max simultaneous users, good enough for smaller e-commerce projects Intuitive GUI, VBA programming, can build self- contained database applications Intuitive GUI, VBA programming, can build self- contained database applications

Access 2002 – Integrated Development Environment

SQL Server SQL Server is very popular SQL Server is very popular Similar functionality to Access Similar functionality to Access Many more advanced features e.g. stored procedures, triggers Many more advanced features e.g. stored procedures, triggers SQL suitable for larger scale e-commerce i.e 1000’s simultaneous users SQL suitable for larger scale e-commerce i.e 1000’s simultaneous users Well worth being familiar with it! Well worth being familiar with it!

SQL Server IDE

What is ASP? ASP stands for Active Server Pages ASP stands for Active Server Pages Developed by Microsoft Developed by Microsoft Normally coded using VBScript Normally coded using VBScript Language used to ‘script’ operations on the server – invisible to client machine Language used to ‘script’ operations on the server – invisible to client machine Highly popular, used by 1000’s Web sites e.g. Halifax.co.uk Highly popular, used by 1000’s Web sites e.g. Halifax.co.uk Enhances Web pages by adding dynamic content Enhances Web pages by adding dynamic content

What can ASP do (that HTML can’t)? Interact with databases to read and write data Interact with databases to read and write data Read and write ‘cookies’ to a users computer Read and write ‘cookies’ to a users computer Track user activity within a Web site Track user activity within a Web site Check user input (validation) Check user input (validation) Talk to other applications on server e.g. Word Talk to other applications on server e.g. Word Talk to custom built applications on server Talk to custom built applications on server Send bulk or automated responses Send bulk or automated responses Return dynamic HTML code back to the client Return dynamic HTML code back to the client Read data from the end of a URL (called a query string) Read data from the end of a URL (called a query string)

What is ASP used for on Web? Search engines Search engines Online banking Online banking E-commerce E-commerce Web mail Web mail Financial calculators Financial calculators Online mortgage, credit, loan applications etc Online mortgage, credit, loan applications etc

Sample of ASP code <% dim req, copyright copyright =" This sample program Copyright SHU, 2003" req=request.QueryString("action") if req = "search" then response.write(“Searching Database”) call searchResponse() end if %>

Scenario – Phase Test Marks Students take phase tests on a regular basis Students take phase tests on a regular basis The tutor logs the marks for these tests on a table called tblmarks, on an Database called phase The tutor logs the marks for these tests on a table called tblmarks, on an Database called phase The course leader uses an ASP page to request the mark of any student and a pass/ fail status The course leader uses an ASP page to request the mark of any student and a pass/ fail status

Scenario – Phase Test Marks Test Marks Student completes Phase Test Test Marks Tutor records marks Student Data Course Leader requests mark Database phase database Request

Architecture Model of Client-Server Architecture Web Server (e.g. Microsoft IIS)Client (e.g. Windows 2000) The Internet Data Out Data in ASP Pages ASP pages Keyed Data Data Req.Data Request Database

ASP 1 - Phase Tests

ASP Code Walkthrough ASP code is contained within <% tags ASP code is contained within <% tags VBscript syntax almost identical to VB VBscript syntax almost identical to VB ASP code reads querystring from URL to determine actions ASP code reads querystring from URL to determine actions ASP dynamically returns HTML via response.write ASP seamlessly connects to SQL database ASP dynamically returns HTML via response.write ASP seamlessly connects to SQL database Uses server-side validation to check form data Uses server-side validation to check form data Uses inline script e.g. to insert data directly into HTML code Uses inline script e.g. to insert data directly into HTML code

ASP 2 – Small E-commerce Site

ASP 3 – Pushing the limits of ASP

Summary of Lecture Introduced ASP, HTML and Access technology Introduced ASP, HTML and Access technology Reviewed client-server architecture Reviewed client-server architecture Simulated how ASP can be used to retrieve data from an SQL Server database Simulated how ASP can be used to retrieve data from an SQL Server database Explained ASP code in detail Explained ASP code in detail

Areas For Further Study What are the pros and cons of using ASP?- How do alternatives compare e.g. JSP What are the pros and cons of using ASP?- How do alternatives compare e.g. JSP How does the performance of ASP compare to VB – why is there a difference? How does the performance of ASP compare to VB – why is there a difference? How much of an improvement is ASP.net? How much of an improvement is ASP.net? How much better is SQL Server 2000 than Access? How much better is SQL Server 2000 than Access? In which business situations would you choose SQL Server over Access? In which business situations would you choose SQL Server over Access?