Interactions, Usability testing, XML & JavaScript Discuss observations on sites JavaScript review Homework: Usability test (catch up posting). Start planning.

Slides:



Advertisements
Similar presentations
Introducing JavaScript
Advertisements

XSL XSLT and XPath 11-Apr-17.
1 CSC 551: Web Programming Spring 2004 client-side programming with JavaScript  scripts vs. programs  JavaScript vs. JScript vs. VBScript  common tasks.
Extensible Stylesheet Language (XSL) By Example Tony Wat 9 October 2002.
Dreamweaver Review ROB SCHWARTZ IS GONNA FEEL MY WRATH!
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
CIS101 Introduction to Computing Week 11. Agenda Your questions Copy and Paste Assignment Practice Test JavaScript: Functions and Selection Lesson 06,
Web Page Behavior IS 373—Web Standards Todd Will.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
CIS101 Introduction to Computing Week 12 Spring 2004.
2012 •••••••••••••••••••••••••••••••••• Summer WorkShop Mostafa Badr
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Programming Games Computer science big ideas. Computer Science jargon. Show virtual dog Homework: [Catch up: dice game, credit card or other form.] Plan.
Creating Databases for Web Applications Posting due by next class on project! Lab: using files & work session Class: asp Application object 3-tier, separating.
Javascript and the Web Whys and Hows of Javascript.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
FIX Repository based Products Infrastructure for the infrastructure Presenter Kevin Houstoun.
Creating Databases for Web Applications Work session Open Source versus Proprietary important topics HW: finish* projects. Look at final quiz guide. Final.
Creating Web Documents: JavaScript, continued Tool reports Creating new windows Form input verification Homework: read about JavaScript, start planning.
Creating Web Documents Wk 2: HTML & PSP basics Discuss sites HTML, PSP lesson Assignment: first Web page due Day class: 1/23; Night class 1/28.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Web Accessiblity Carol Gordon SIU Medical Library.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Client Side Programming with JavaScript Why use client side programming? Web sides built on CGI programs can rapidly become overly complicated to maintain,
CSC 551: Web Programming Fall 2001 emerging & alternate Web technologies  Dynamic HTML  ActiveX  XML course overview  online review sheet  advice.
Process of interface design Instant Saxon XML/XSLT to JavaScript Design process, sampling Class time for work on user projects Homework: complete user.
XP Tutorial 10New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with JavaScript Creating a Programmable Web Page for North Pole.
1 3. Computing System Fundamentals 3.1 Language Translators.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
SDPL 2001Notes 7.2: Apache Cocoon1 7.2 Apache Cocoon An example of a Web publishing architecture based on XML technology An.
12 Developing a Web Site Section 12.1 Discuss the functions of a Web site Compare and contrast style sheets Apply cascading style sheets (CSS) to a Web.
 HTML is hypertext markup language. It is a way for people to display their information with more complex pictures and text displays. Before HTML, messages.
Creating interfaces XML to WML, Push Use actual cell phones Homework: do WML examples, practice with Nokia Simulator.
Creating Databases Local storage. join & split Classwork: show 1 table application. Share designs for oscars application. Adaptive select. Homework: [Catch.
Creating Databases applications for the Web Basic HTML review, forms Preview: Server side vs client side Flash HW: Review HTML forms and FLASH examples.
JavaScript - Basic Concepts Prepared and Presented by Hienvinh Nguyen, Afshin Tiraie.
Introduction to JavaScript CS101 Introduction to Computing.
Creating user interfaces critique: the Edge (Jakob Nielsen) catch-up: xml, xsl  sets of image swaps User observation study reports Project I assignment.
Creating Web Documents catch-up JavaScript slide show tools redirection.
By Tharith Sriv. To write a web page you use: HHTML (HyperText Markup Language), AASP (Active Server Page), PPHP (HyperText Preprocessor), JJavaScript,
JavaScript Introduction.  JavaScript is a scripting language  A scripting language is a lightweight programming language  A JavaScript can be inserted.
IT Accessibility Committee XML as Content Management Presented by Michael B. Short May 11, 2006 Prepared by the NYS Forum IT Accessibility Committee
Creating Web Documents: JavaScript Ftp / file management: review Introduction to JavaScript Sources Homework: start review for midterm, work on Project.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
Creating Databases applications for the Web: week 2 Basic HTML review, forms HW: Identify unique source for asp, php, Open Source, MySql, Access.
Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.
JavaScript Introduction inf385t Semantic Web 2/20/2006.
Content and Subject Matter Experts in Online Interactions.
Creating User Interfaces Reprise on guest speaker. Usability checklists. Reprise on user- centered. Semantic tags. Responsive design. Classwork/homework:
XP Tutorial 10New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties.
XML Schema – XSLT Week 8 Web site:
IST 210: PHP Basics IST 210: Organization of Data IST2101.
Web Programming Java Script-Introduction. What is Javascript? JavaScript is a scripting language using for the Web. JavaScript is a programming language.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
Programming Games Reprise Credit Cards! Reprise Binary. Overall time limit, setTimeout Homework: [Show virtual something.] Make proposal as reply to my.
Creating your online identity
Creating Databases Local storage. join & split
Web Application.
W3C Web standards and Recommendations
Section 10.1 YOU WILL LEARN TO… Define scripting
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
Unit 14 Website Design HND in Computing and Systems Development
Creating Interfaces overview of XML examples answer questions
Tutorial 10: Programming with javascript
Web Development 101 Workshop
JavaScript is a scripting language designed for Web pages by Netscape.
Presentation transcript:

Interactions, Usability testing, XML & JavaScript Discuss observations on sites JavaScript review Homework: Usability test (catch up posting). Start planning project

Site observations Mine: –Philip Glass site –New York Times 9/11 interactives –Chocolate buying site

philipglass Users: music students, musicians, specifically, Philip Glass fans, Philip Glass! Task: exploring the music using the dimensions. Accuracy is not critical, but the site needs to serve Glass himself. Data: dimension model invented for this purpose. The site is the organization/interface in a way that most sites are not and should not be! Success: high (because of how I've defined the task)

_wtc_FIRE/index_FIRE.html _wtc_ALERT/index_ALERT.html _wtc_UNITS/index_UNITS.html

/26NTOWER.html Users: families of victims, rescuers, officials, New Yorkers, others. Task: understanding (?) what happened. Data: organized by time and place, location of fire companies. Wealth of material (content). Audio overlays. Combinations of photos and diagrams. Success: (for me, as a member of 'other') High. Not sure about others. Note: later 'interactive' supplemented news articles indicating problem with phones.

User: buyer & potential buyer of chocolate; new & repeat customer –marketing terms: on spectrum, fairly committed to buying something. Task: making a purchase Data: chocolate items, small, not especially complex inventory (NOT TRUE for other areas, such as books & CDs). Success: very good: both when I know what I want and also when I 'shop around'.

Yours User Task Data/Content & organization Assessment?

JavaScript review JavaScript is so-called scripting language for client side and server side programming –scripting implies not 'full' language. It is not compiled (translated) beforehand. It is not strongly typed (variables don't have pre-set datatype, can be string or number or boolean) JavaScript code goes in header or inside tags. Examine examples from newmedia.purchase.edu/~Jeanine

If you need help with JavaScript Look at the examples on-line and re-create them. Make changes. –Test yourself: can you combine a date program with the image swap? Can you make a mouseover one image cause another image to change? Make an appointment to come see me!

Virtual Dog vdog.xml virtual.xsl takes a vdog.xml file (or equivalent) and produces HTML with JavaScript to be an on-line virtual pet Go to newmedia.purchase.edu/~Jeanine –Take link to xml stuff –See files, including a word document

Two distinct situations JavaScript (IE6 only) to handle xml files, including calling an xsl file to do a transformation XML & XSLT to produce an HTML file with JavaScript –vdog.xml & virtual.xsl are examples of this.

JavaScript & XML The following client side example works only in IE seems to be religious war on transformnode being appropriate Example demonstrates using more than one XSL file with an XML file –choice here is made by call to random.

// Load XML var xml = new ActiveXObject("Microsoft.XMLDOM") xml.async = false xml.load("contactsnoref.xml") // Load the XSL var xsl = new ActiveXObject("Microsoft.XMLDOM") xsl.async = false // choose specific xsl file if (Math.random()>.5) { xsl.load("contacts1.xsl") } else { xsl.load("contacts2.xsl") } // Transform document.write(xml.transformNode(xsl)) wait for load

Peter Ohring Joel Tenenbaum Marty Lewinter Jeanine Meyer

<xsl:stylesheet version="1.0" xmlns:xsl=" xmlns:fo=" My contact list Here is my contact list That's all. is:

<xsl:stylesheet version="1.0" xmlns:xsl=" xmlns:fo=" My contact list Here is my contact list Name

Classwork: repeat contacts exercise Create 1 xml file with NO reference to a stylesheet Create 2 style sheets for that type of xml Create an HTML file, mostly JavaScript with the code with random choice –Change to make choice based on day of the week: even days one way, odd days the other! (could also use date). var today = new Date(); var day = today.getDay(); var even = day % 2; if (even==0){ } else { }

Alternative For Mozilla or IE or Netscape –May be problems… create two xml files, with identical content, referring to the two different xsl files use JavaScript –window.open Also: do transform on server and produce different HTML files. Send the one you want over to client. –Tool for this is saxon

Case study: butterfly ballot Hindsight is wonderful…. Could this have been prevented?

Lessons violates a heuristic to avoid multi-directional associations. User testing was limited (apparently): was it tried by older people, looking down in case? Improved (computer based) system should have –validity checking: you voted for 2 people or you didn't cast a vote yet –confirmation: you voted for Pat Buchanan. Click ok or redo. If your system is not just for one day, and you keep track of validity/confirmation results, this can trigger re-design.

Usability testing Choice: –finding & [almost] placing order for specific book (you identify beforehand) –finding & [almost] placing order for gift (chocolate?) (not specific product known beforehand, define limits) –Purchase library system tasks (to be defined by you) –cell phone tasks (adding new person/number, changing number, resetting monthly time, etc.) –your own definition, with my approval Due as presentation and as hardcopy report a week from today.

Requirements recruit 'real' users, novice and experienced (identify accurately) observe actions (record actions & time)* prepare short list of questions to ask afterwards –Gather information and –Show respect for participant report results + your conclusions as to effectiveness, efficiency, and satisfaction –how is system good & how could it be improved –how could the study have been improved

Requirements Study is NOT casual observation PLAN –what you will ask your users to do –how you will give them the task(s) –how you will record their performance –if and how you will respond to problems Prepare presentation and written report –diagrams, tables, charts appropriate