Dynamic Web Sites Chris North cs3724: HCI. Presentations matt ketner, sam altman, mike gordon Vote: UI Hall of Fame/Shame?

Slides:



Advertisements
Similar presentations
E-Commerce CMM503 – Lecture 8 Stuart Watt Room C2.
Advertisements

DT228/3 Web Development WWW and Client server model.
Session 13 Active Server Pages (ASP) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Languages for Dynamic Web Documents
Server-Side vs. Client-Side Scripting Languages
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
DT211/3 Internet Development Application Internet Development Application.
Introduction to Active Server Pages
Active Server Pages Chapter 1. Introduction Understand how browsers and servers interacted when the Web was young Understand what early Internet and intranet.
Python and Web Programming
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Session Management A290/A590, Fall /25/2014.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Java Server Pages (JSP) Presented by: Ananth Prasad & Alex Ivanov May 10, 2001.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
JAVASCRIPT HOW TO PROGRAM -2 DR. JOHN P. ABRAHAM UTPA.
Chapter 9 Using Perl for CGI Programming. Computation is required to support sophisticated web applications Computation can be done by the server or the.
Web Design Scripting and the Web. Books on Scripting.
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.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Evaluation: Controlled Experiments Chris North cs3724: HCI.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
ASP.NET Dr. Ralph Westfall May, Web Development Problem HTML designed to display static pages only interactive when user clicks links  can’t provide.
Comp2513 Forms and CGI Server Applications Daniel L. Silver, Ph.D.
Project Four Forms Discuss form processing Describe the difference between client-side and server-side form processing Add a horizontal rule to a Web page.
© 2011 Delmar, Cengage Learning Chapter 9 Collecting Data with Forms.
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
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.
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.
Introduction to Internet Programming (Web Based Application)
Elements of ASP Documents Adapted from MCDN Web Workshop ( and Webmonkey’s Introduction to Active.
Programming Data-Driven WebSites (ASPX, Active Server Pages) Chris North CS 4604: DB.
CS453: State in Web Applications (Part 1) State in General Sessions (esp. in PHP) Prof. Tom Horton.
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 7: HTTP and CGI Fundamentals of Web Programming.
Web Server Programming 1. Nuts and Bolts. Premises of Course Provides general introduction, no in-depth training Assumes some HTML knowledge Assumes some.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Chapter 6 Server-side Programming: Java Servlets
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
CSU - DEO Introduction to CGI - Fort Collins, CO Copyright © XTR Systems, LLC Introduction to the Common Gateway Interface (CGI) Instructor: Joseph DiVerdi,
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.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
Jan 2001C.Watters1 World Wide Web and E-Commerce Client Side Processing.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7
Fall 2000C.Watters1 World Wide Web and E-Commerce Clients & Client Side Processing.
Fall 2000C.Watters1 World Wide Web and E-Commerce Servers & Server Side Processing.
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.
UMass Lowell Computer Science Java and Distributed Computing Prof. Karen Daniels Fall, 2000 Lecture 21 Java Servlets Wed. 11/22/00 based on material.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
ASP, Databases, and how to stomp project 3 Chris North cs3724: HCI.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
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.
Lesson 11. CGI CGI is the interface between a Web page or browser and a Web server that is running a certain program/script. The CGI (Common Gateway Interface)
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
PHP / MySQL Introduction
PHP Overview PHP: Hypertext Preprocessor Server-Side Scripting
Chapter 27 WWW and HTTP.
What is Perl? PERL--Practical Extraction and Report Language
Presentation transcript:

Dynamic Web Sites Chris North cs3724: HCI

Presentations matt ketner, sam altman, mike gordon Vote: UI Hall of Fame/Shame?

Next Apr 4: Proj 2, final implementation Presentations: UI critique or HW2 results Next Tues: karen molye, steve kovalak Next Thurs: demos?

Review What are independent variables? The stuff that you vary: UI What are dependent variables? The stuff that you measure: user perf time How do you analyze the results? Stats: t-test, anova 95%, 99% < nothing: redesign

GUIs vs WUIs Standard GUIs E.g. Visual Basic, Java Single user, location Portability is less critical Power dynamics Targeted audience Webpage UIs broad user class Supports low power clients Avoids installation, updates, backups Enables One time users, quick, simple Lightweight Collect info from users, permission unneseary

WUIs Client (Browser) Server (Web server) URL request html page Server side scripting Dynamically generated pages Client side scripting Interactive pages why? faster feedback Saves server animation why? customized pages for users Security Business logic Data-driven, data intensive collaborative

WUI Technologies Client side: Javascript VBscript (MS) DHTML Html, forms, components (java applets, activeX) Server side: CGI: perl, shell scripts … ASP (MS) Cold fusion Jsp, Php Servlets: java, activeX

Client side Javascript: click here

Document Object Model <input type=“button” name=“mybutton” value=“OK” onclick=“document.myform.mybutton.color=red”> document myform mybutton … …

Server Side Prints an html file (+header) to stdout: print “Content-type: text/html \n” print “\n” print “ ” print “The time is “, time( ) print “ ” Client browser receives: The time is 2:00pm, March 28, 2002

Processing Forms GET, querystring Myscript.exe reads data from URL string POST Myscript.exe reads data from stdin

Example Books.exeCart.exePurchase.exe Shows books list Add to cart View cart button Displays cart contents Delete items Purchase button Charges credit card Displays ‘thankyou’ Link back to books Amazon.com server

Problems Many simultaneous users No state data maintained Client not in sync with server (e.g. back button) Books.exeCart.exePurchase.exe …

Different than GUI programming! One user (per executable) ‘Global’ state data Client = server Shopping.exe Books window Cart window Purchase window

Problems Myscript.exe starts from scratch each time Each page request is completely independent No state data maintained between requests »Who is the user? »What is his data? »Where is he in the ‘application’? How to maintain state info across page accesses? Pile all state data into hidden form items Cookies Store state data in a database, index by unique user id

ASP Provides ‘session’ awareness Maintains state info for each user Scripts access global storage Visual Basic language Mix code and html output

html + Code New tags and Myscript.asp: The time is Good morning Good afternoon Client receives: The time is 2:00pm Good afternoon

Session Data Global object: session Hello, Client receives: Hello, Chris

Processing form input Global object: request.form Thanks for giving us your name,