Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998...

57
Internet Standards for the Web: Part I Larry Masinter April 1998 (about the author) About the author

Transcript of Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998...

Page 1: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 1Internet Standards for the Web

Internet Standards for the Web: Part I

Larry Masinter

April 1998

(about the author)About the author

Page 2: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 2Internet Standards for the Web

Outline of tutorial

n Part 1: Current State

– Standards organizations & process

– Overview of web-related standards

n Part 2: Recent activities

– What’s happening with web standards?

– What are the hard problems

Page 3: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 3Internet Standards for the Web

Purpose of Part I

n What’s a “standard”?

n How are standards made?

n What are the standards for the web?

n Introduce terms and set in context

Page 4: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 4Internet Standards for the Web

ØWhat’s the World Wide Web?

n One network, everyone on it

n Multiple media

n Multiple modes of communication

Page 5: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 5Internet Standards for the WebLarry Masinter

What’s important?One Network, Everyone On It

demographics not an application or technology

Page 6: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 6Internet Standards for the Web

All kinds of “media”

n documents

n video

n music

n interactions

Video Audio Images

Documents, videos, worlds, music

Page 7: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 7Internet Standards for the Web

Many modes of communication

n publish

n broadcast

n interact

Broadcast, Publish, Interact, Update

Page 8: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 8Internet Standards for the Web

“The nice thing about standards…”

n … there are so many of them to choose fromn … by the time things become standards,

they're obsolete.n … real standards are set by the market,

not committeesStandards the only way that everyone can play

tragedy of the common“where do you want to go today?”

Companies on standards

Page 9: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 9Internet Standards for the Web

Standards follow Innovation

Innovation,Divergence

Standardization,Convergence

Page 10: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 10Internet Standards for the Web

ØStandards vs. Design

n Design– choose between alternatives (A, B, or C)

– optimize function, performance, reliability

n Standard:– choose one, some, all, “undefined”,

“implementation dependent”, “discoverable”

– optimize flexibility, interoperability, politics,extensibility, enforced cooperation

Page 11: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 11Internet Standards for the Web

Who writes web standards?

n Standards organizations

n Consortia

n Companies

n Individuals

Page 12: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 12Internet Standards for the Web

Internet Engineering Task Force

n Defines standards for the Internet

n Different rules, structure than most otherstandards organizations

About the IETF

Page 13: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 13Internet Standards for the Web

Internet Society

n Non-governmental organization created tocoordinate Internet activities

n Umbrella organization for IETF

Page 14: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 14Internet Standards for the Web

IETF structure

HTTP

HTML

URC

...12 WG

Applicatons

WTS

PKIX

...6 WG

Security

...6 WG

Transport

...7 WG

User Services ... 9 areas

Internet Engineering Steering Group (IESG)

Internet Architecture Board (IAB)

Page 15: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 15Internet Standards for the Web

IETF Working Groups

n Open organizations– no formal membership, all volunteer

n Most work happens via email– may meet at IETF meetings (3 a year)

n Small focused efforts– published goals and milestones

n No formal voting– “Rough consensus and running code”

Page 16: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 16Internet Standards for the Web

IETF Documents

n Internet-Drafts– works in progress, no formal status

– deleted after 6 months

n RFCs (Request For Comments)– Archived series of documents

– RFC 1796: “Not all RFCs are Standards”

How to get RFCs, Internet Drafts

Page 17: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 17Internet Standards for the Web

IETF RFC Categories and Process

Proposed Standardcomplete, credible specificationdemonstrated utility

Draft Standardmultiple independentinteroperable implementations

Standardoperational stability

InformationalImportant but not standards track

Historicsuperseded or otherwise unused

Experimentalnot ready for standards track

6 months - 2 years

4 months - 2 years

Standards Track Other Categories

Page 18: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 18Internet Standards for the Web

World Wide Web Consortium

n Members are vendors and user organizations

n Paid (and volunteer) staff

n Develops web-related standards

n Hosts workshops, working groups

About W3C

Page 19: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 19Internet Standards for the WebMay 1996 19Larry Masinter The State of Web Standards

W3C and IETF relationship

n W3C focus on Web; IETF general Internet

n W3C researches and develops protocols

n IETF reviews and resolves standards

n W3C staff participate actively in IETF

Page 20: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 20Internet Standards for the Web

W3C Process

n Advisory Committee sets priorities

n New work requires member approval

n Exploratory workshops spawn workinggroups

n Working groups are closed– outside experts invited, though

Page 21: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 21Internet Standards for the Web

Other groups setting standards

n Consortia, vendor groups, trade groups– European Computer Manufacturer’s Association

(ECMA)

– CommerceNet

– Internet Messaging Consortium

n ANSI, ISO, ITU

Page 22: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 22Internet Standards for the Web

ØCategories for Web Standards

n Content (e.g., HTML)– kinds of objects we’re moving around?

n References (e.g, URLs)– how to talk about something not in hand?

n Protocols (e.g., HTTP)– how do things move around the net?

Page 23: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 23Internet Standards for the Web

Standards for Content

n Packaging

n Documents

n Images

n Media: audio, video, music

n Interactive content

n Metadata

Page 24: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 24Internet Standards for the Web

Why standards for content?

n Preservation– Can you read Word 2.4 files?

n Interoperability– Multiple implementations

n Global communication– Standards designed for consistency over features

Page 25: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 25Internet Standards for the Web

Content Packaging: labeling data

n MIME:Multipurpose Internet Mail Exchange

– Originally designed for mail

n Allows– Multiple media

– Multiple character sets

– Multiple languages

MIME media types

Page 26: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 26Internet Standards for the Web

Internet Media Types (“MIME types”)

n Standard way of naming data formats

n Hierarchical structure with parameters

n Applications use MIME to decide how tointerpret data (instead of file extension)

IANA, pp16-19

Page 27: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 27Internet Standards for the Web

MIME Major Types

n text: sequences of characters

n image: bitmaps in various forms, e.g., gif,jpeg, tiff, png

n audio: sounds in various forms

n video: animations

n message, multipart: special purpose

n application: catch-all

Page 28: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 28Internet Standards for the Web

MIME subtype

n Standard registry: “image/tiff”,“application/postscript”

n Registry rules: security, both standard &private (vnd)

n “application/vnd.ms-word”

Page 29: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 29Internet Standards for the Web

Standards for Web Document formats

n HTML, SGML and XML

n Page layout: PDF

n proprietary application formats

(word, wordperfect, etc.)

Page 30: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 30Internet Standards for the Web

SGML and XML

n Standard Generalized Markup Language

n An ISO standard (ISO8879:1986)

n A way of writing (ways of writing documents)

n DTD (Document Type Definition)defines elements and rules about them

n XML (from W3C) is simplification

Page 31: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 31Internet Standards for the Web

Markup: saying things about parts

n Semantic markup

<part-no>N1025B</part-no>

n Structural markup

<H1>N1025B</H1>

n Presentation markup

<font face=aslan>N1025B</font>

Page 32: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 32Internet Standards for the Web

HyperText Markup Language (HTML)

n An application of SGML (more or less)

n A way of writing textthat includes links

and (mainly) structural markup

with some other things (like images) embedded.

Page 33: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 33Internet Standards for the Web

HTML design goals

n lingua franca for the web

n Hypertext views of existing documents

n Simple, scaleable

n Platform independent

n Support for visually impaired

n Interoperability with common editors

Page 34: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 34Internet Standards for the Web

HTML standards

n 1994: 2.0 (baseline) RFC 1866

n 1996: 3.2 (tables, forms, presentation)

n 1998: 4.0 (style sheets, lots more) W3CRecommendation

Page 35: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 35Internet Standards for the Web

HTML/4.0

n More complete tables

n File Upload

n Internationalization

n Embedded objects

n Extensions

n Style sheets

Page 36: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 36Internet Standards for the Web

Beyond HTML: XML

n simplification of SGML

n Allows multiple kinds of documents,separate semantics from presentation

n Why XML?– Think beyond this year

• Can you read Word 3.2 documents?

– Think beyond the PC• Different devices

• Different uses (searching, indexing, translation)

Page 37: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 37Internet Standards for the Web

Character sets: beyond ASCII

n European languages: ISO-8859-1 (Latin 1)

n The rest of the world: variety of systems

n Identifying the charset used: a registry

n A single charset? Unicode (UTF-8)

Page 38: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 38Internet Standards for the Web

Other content on the web

n Images

n Page layout

n Video

n Audio

Page 39: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 39Internet Standards for the Web

Images on the Web

n gif: Graphics Interchange Format– 8-bit color, transparent areas; patent cloud

n jpeg: Joint Photographic Expert Group– lossy compression for photos, not line art

n tiff: Tagged Image File Format– issues over tag standardization

n png: Portable Network Graphics– calibration, hypertext links

Page 40: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 40Internet Standards for the Web

Page layout on the Web

n Postscript– Designed for printer control– application/postscript

n Portable Document Format (PDF)– Useful for screen presentation and printing with

exact layout– application/pdf

Page 41: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 41Internet Standards for the Web

Video formats on the Web

n MPEG

n QuickTime

n AVI

Page 42: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 42Internet Standards for the Web

Audio and Music

n audio/basic

n Audio hasn’t taken off

n MIDI and music unevenly deployed

Page 43: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 43Internet Standards for the Web

More web content-types

n Desktop applications– Word, Excel, etc.

n 3-D renderings– VRML, etc

n Active content– Java

– JavaScript, Document Object Model

Page 44: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 44Internet Standards for the Web

Standards for MetaData and the Web

n Cataloging (Dublin Core)

n Ratings (PICs)

n Digital Signatures (proving authenticity)

n Copyright (who owns this material?)

Page 45: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 45Internet Standards for the Web

ØIdentifiers in the Web: URIs

n URL: locations– New York Public Library, second floor, third aisle,

second shelf, third book from left

n URN: location-independent names– QP:475.L95; ISBN:0-19-854529-0

n URC: descriptions– genre: book, title: The Ecology of Vision;

author: J.N.Lythgoe; Date: 1979;Publisher: Clarendon Press, Oxford

Page 46: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 46Internet Standards for the Web

URL Requirements

An object that describes the location of aresource

n Global scope

n parsable

n transportable in many contexts

n extensible

n not loaded with other information

Page 47: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 47Internet Standards for the Web

Some URL schemes

n http://host.dom/pathn ftp://host.dom/pathn gopher://host.dom/selectorn news:group.namen news:article-idn mailto:[email protected] file:///C:/dos/pathn telnet://host.dom

Page 48: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 48Internet Standards for the WebMay 1996 51Larry Masinter The State of Web Standards

Relative URLs

n “base” + “relative URL” => “absolute URL”

n Defines what “base” is for various contexts

n Not defined in terms of scheme

Page 49: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 49Internet Standards for the Web

Uniform Resource Names (URN)

n name independent of location; allows forreplication, migration

n separate problems ofnaming authority and name assignmentresolution mechanism: finding informationabout the thing named– location(s), metadata

Page 50: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 50Internet Standards for the Web

ØNetwork Protocols for the Web

Major activities:– send and receive (email)

– publish and retrieve (web)

– broadcast and subscribe(news, push)

Of course, there’s more:real time interaction, pay for things, share secrets,

query databases, etc.

Page 51: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 51Internet Standards for the Web

Standards for Internet protocols

n Sending (SMTP, POP, IMAP, fax)

n Publish, retrieve (HTTP)

n Broadcast communication (NNTP), push

n and more..– directory access (LDAP)

– interactive sessions (TELNET)

Page 52: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 52Internet Standards for the Web

HyperText Transfer Protocol (HTTP)

n Started as a simple protocol, designed for the1990 vision of the World Wide Web

n http://widget.com/product.html– Open connection to widget.com

– send “GET /product.html”

– read headers

– read body

– close connection

Page 53: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 53Internet Standards for the Web

HTTP/1.0 added features

n Multiple content-types– Accept, language, charset, content-type

n More information– User-Agent, From, error codes

n Simple caching– last-modified, if-modified-since

n Basic Authorization

Page 54: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 54Internet Standards for the Web

HTTP/1.1 Improvements

n Performance– pipelining

– persistent connections

– caching (Etags)

n Reliability– clear semantics for many headers

n New features

Page 55: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 55Internet Standards for the Web

ØPutting the pieces together

n The web is just part of the Internet

n Distributed communication is built out oflots of pieces

n Integration of– web, mail, push, security, media,

– worlds, libraries, identifiers, copyright

Page 56: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 56Internet Standards for the Web

Future of Web Standards

n Innovation still leads, standards will follow– This will not end

n Organizations adapt too– IETF, W3C change

n Interoperability trumps features– if you’re careful, you can have both

n Avoiding the tragedy of the commons– local greed over global optimization

Page 57: Internet Standards for the Web: Part I · Larry Masinter Internet Standards for the Web April 1998 10 ØStandards vs. Design n Design – choose between alternatives (A, B, or C)

Larry Masinter April 1998 57Internet Standards for the Web

Internet Standards for the WebEnd of Part I

Larry Masinter

April 1998