A closer look Dynamic Webpages Jessica Meyerson March 1, 2011.

Slides:



Advertisements
Similar presentations
1 CGICGI Common Gateway Interface Server-side Programming Lecture.
Advertisements

Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
DT228/3 Web Development WWW and Client server model.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
AJAX Technologies KAUNAS UNIVERSITY OF TECHNOLOGY MODULE: INFORMATION TECHNOLOGY GROUP: IF - 4/9 GROUP: VENTILIATORIAI
Introduction Rich Internet Applications OpenLaszlo as an RIA Examples Community Competitors OpenLaszlo Architecture OpenLaszlo XML Structure Dealing with.
Server-Side vs. Client-Side Scripting Languages
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
WHAT IS AJAX? Zack Sheppard [zts2101] WHIM April 19, 2011.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
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)
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Web Design Basic Concepts.
Client/Server Architectures
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
RIA Introduce Comparison among several technology.
INTRODUCTION TO WEB DATABASE PROGRAMMING
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: Multimedia on the Web.
Computer Concepts 2014 Chapter 7 The Web and .
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
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.
Multimedia and the Web Chapter Overview  This chapter covers:  What Web-based multimedia is  how it is used today  advantages and disadvantages.
Ruth Betcher Ruth Christie
Dynamic Web Pages (Flash, JavaScript)
GIS technologies and Web Mapping Services
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
1 Chapter 2 & Chapter 4 §Browsers. 2 Terms §Software §Program §Application.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Adobe FLASH What & Why? Where & When? Is Flash dead? What about HTML5?
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
Instructor, Dr. Khalili Bahram Jeevan Kumar Gogineni.
Flash & JavaScript Mariela Hristova October 19, 2004 INF 385E – Fall 2004 – School of Information.
Silverlight Technology. Table of Contents 1.What is Silverlight Technology? 2.Silverlight Overview. 2.1 How it works 2.2 Silverlight development tools.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Web Applications BIS4430 – unit 8. Learning Objectives Explain the uses of web application frameworks Relate the client-side, server-side architecture.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Class 02 – 03 Feb 2014 Setup Where do we begin? Know your content Discovering your target user.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Cs332a_chapt10.ppt CS332A Advanced HTML Programming DHTML Dynamic Hypertext Markup Language A term describing a series of technologies Not a stand-a-lone.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Dynamic Web Pages Jin Wu INF 385E Information Architecture School of Information 11/2/2006 Jin Wu INF 385E Information Architecture School of Information.
Web Development Process The Site Development Process Site Construction is one of the last steps.
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.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
HTML 5 The Future of Web Development. What is HTML5? “HTML5 is a specification of how the web’s core language, HTML, should be formatted and utilized.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
 AJAX technology  Rich User Experience  Characteristics  Real live examples  JavaScript and AJAX  Web application workflow model – synchronous vs.
Understanding Web-Based Digital Media Production Methods, Software, and Hardware Objective
Ajax! Ajax Programming Ajax! Ajax Programming. Ajax! Ajax Programming Take a look at a typical desktop application (Spreadsheet app, etc.) The program.
Web Programming Language
Objective % Select and utilize tools to design and develop websites.
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
Application with Cross-Platform GUI
Asynchronous Java script And XML Technology
Objective % Select and utilize tools to design and develop websites.
AJAX.
Dynamic Web Pages (Flash, JavaScript)
Silverlight Technology
Dynamic Web Pages Jin Wu INF 385E Information Architecture
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
JavaScript & jQuery AJAX.
Choosing between Silverlight and AJAX
Presentation transcript:

A closer look Dynamic Webpages Jessica Meyerson March 1, 2011

Static vs. Dynamic Methods for Delivering Dynamic Content Server-side scripting Client Side scripting DOM DHTML/5 AJAX RIAs: Java Applets, Flash, Silverlight Overview:

"the same information for all users, from all contexts" Advantages… fast and efficient way to deliver content does not require any code or databases to be accessed (secure delivery) clean URLs (SEO considerations) cache-happy fully compatible Disadvantages… changes require republishing cannot display differently for different viewers difficult to maintain a large site of static pages Static

Dynamic “Dynamic web pages are web sites that are generated at the time of access by a user or change as a result of interaction with the user.” Advantages… rich user experience/customization and short response time easier to maintain sites with lots of content low error tolernce Disadvantages… learning curve for dynamic languages/scripts and database servers. greater chance of errors occurring if content is not handled properly (security) use of additional tools for site maintenance not search engine friendly

Dynamic Elements (defining 'rich user experience') Navigation Applications Personalization Syndication Animation Validation

Server Side Scripting Client Side Scripting DHTML Ajax RIAs (Rich Internet Applications) Methods for Delivering Dynamic Content

Server Side Scripting

Advantages… dynamically edit, change, or add content access data or databases and return the result to the browser provide security (server code can not be viewed in the browser) the user’s browser doesn’t have to support scripting Disadvantages… slow response times

Client Side Scripting

Advantages… fast response times form verification Disadvantages… can NOT write to files or access databases successful execution depends on the user’s hardware and software* security vulnerabilities (client code CAN be seen in the browser) *KNOW YOUR AUDIENCE

Getting Specific: DOM DHTML/5 AJAX RIAs: Flash, Silverlight

Document Object Model

DHTML Dynamic HTML coined during the Browser Wars of the late 90s a mix of standards that help the designer create dynamic webpages HTML Javascript DOM CSS

DHTML/5 Advantages… reduces the need for external plugins better error handling more markup to replace scripting device independent transparency no more frames Disadvantages… not yet an official standard; still buggy in most browsers but Chrome

AJAX (asynchronous Javascript and XML) Standards based presentation (XHTML and CSS) + Document Object Model (DOM) + Data interchange format (XML or JSON) + Asynchronous data retrieval (XMLHttpRequest) + Javascript AJAX (Asynchronous Javascript and XML)

Data Interchange Formats XMLJSON Web standard Structured and hierarchical Human and machine readable Includes metadata about what the data represents XML->XSLT->HTML or XML->DOM->HTML More lightweight, no metadata Only one version Text string representation of Javascript objects (which come in key:value pairs)

XMLHttpRequest (the ‘A’ in AJAX) Invented by Microsoft It’s an API available in client side scripting languages Sends HTTP or HTTPS requests to the web server and loads the server response directly back into the script

AJAX

AJAX (asynchronous Javascript and XML) Advantages… Allows apps to send and retrieve data from the server in the background without reloading the existing page Disadvantages… Doesn’t work in all web browsers Requires more development to provide non-AJAX alternatives Confusion for the user Screenreaders may miss new content Heavy reliance on user hardware and software can make other application on the user’s machine run slower IA Recommendations… Alert the user that a change has occurred Allow direct access to new content AND THEN allow continued functionality of the application

Rich Internet Applications like a desktop application...on the web users have to install a software framework using the computer’s operating system before launching Most common platforms: Java Applets Flash Microsoft Silverlight

Web-based Applets Written in a programming language (usually Java) that compiles to Java bytecode Little program that performs a specific task Can be included in an HTML page AdvantagesDisadvantages Cross platformJava plug-in required Works in a sandboxJVM requirement = significant startup time Cached in most browsers – quick reload time If not already cached, must be downloaded = time

Adobe Flash Multimedia platform used to create animation, video, and interactivity Manipulates vector and raster graphics Written using ActionScript Compressed format AdvantagesDisadvantages Cross platformAdobe Flash Player required Works in a sandboxProprietary Cached in most browsers – quick reload time If not already cached, must be downloaded = time

Flash Advice Unless it adds to the user experience in a meaningful way – avoid it If you do use it: avoid using it in mission critical paths (Ex. Navigation and checkout) If you do use it on mission critical paths, create an HTML version (resource intensive) Flash should not be used to build an entire website!

Flash vs. DHTML 5 Flash OVER DHTML 5DHTML 5 OVER Flash Strong Video SupportNo Plug-ins Required AnimationMobile Devices 3DEase of Development Consistent PresentationLightweight Legal Font UseAccessibility True Object Oriented Client Side Language SEO Rich Media AdvertisingMore “Web-y” Separation of Content and Presentation

Microsoft Silverlight Features and purposes similar to Adobe Flash Written in.NET programming language Not compressed More searchable and indexable

Take-Aways Know your audience Make sure you provide HTML alternatives to your client-reliant, dynamic websites Some understanding of the underlying technologies + a thorough understanding your users = choosing the best option for your clients

A few of my references Dynamic Webpages Server-side scripting Javascript AJAX XMLHttpRequest Data Interchange Formats Flash DcvTJ0aDhg dhtml.html&sa=D&sntz=1&usg=AFQjCNFL7acruh8f9X-0tOPMFI4YaAqQoA DOM dom.asp&sa=D&sntz=1&usg=AFQjCNHrpTMP2hLgyrV8cVYibXSe3R-PIg DHTML/ 5 pibmtJvbA 1rt CNGxU52w0AFtkJ63H2Mm_0lQDOIRkw_45rQlkQ65R33-Ww

Questions