a centre of expertise in digital information html is dead! a web standards update brian kelly uk...

33
A centre of expertise in digital information management HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of Bath Bath Email [email protected] URL http://www.ukoln.ac.uk/ UKOLN is supported by:

Upload: anastasia-james

Post on 19-Jan-2018

217 views

Category:

Documents


0 download

DESCRIPTION

A centre of expertise in digital information managementwww.ukoln.ac.uk 3 Standards in an Educational / Research Context Standards are important in a public sector context (e.g. education, research, central & local government,...) context to: Ensure widespread access to resources Enables resources to be reused and repurposed Ensure scholarly resources can be preserved Address accountability of public funding Minimise resource costs for upgrading systems Provide universal access to resources (cf disability legislation) Standards

TRANSCRIPT

Page 1: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk

HTML Is Dead!A Web Standards Update

Brian KellyUK Web FocusUKOLNUniversity of BathBath

[email protected]://www.ukoln.ac.uk/

UKOLN is supported by:

Page 2: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 2

Contents• Introduction• Standards• The Original Web

Architecture• Architectural

Developments• Deployment Issues• Discussion

Aims of Talk• To give brief overview

of Web architecture• To describe

developments to Web standards

• To briefly address implementation models

Page 3: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 3

Standards in an Educational / Research ContextStandards are important in a public sector context (e.g. education, research, central & local government, ...) context to:

• Ensure widespread access to resources• Enables resources to be reused and repurposed• Ensure scholarly resources can be preserved• Address accountability of public funding • Minimise resource costs for upgrading systems • Provide universal access to resources (cf

disability legislation)

Stan

dard

s

Page 4: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 4

Standards

Need for standards to provide:• Platform and application independence• Avoidance of patented technologies • Flexibility and architectural integrity• Long-term access to data

Ideally look at standards first, then find applications which support the standards. However it can be difficult to achieve this ideal!

Before the WebAccess to resources typically required use of software vendor’s software – which was only available on limited no. of platforms. Often the software would be licensed.The goal of the Web was to provide universal access to resources. Who could argue with this goal?

Stan

dard

s

Page 5: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 5

Standards and the Web

W3C• Produces W3C

Recommendations on Web protocols

• Managed approach to developments

• Protocols initially developed by W3C members

• Decisions made by W3C, informedby member & public review

IETF• Produces Internet

Drafts on Internet protocols• Bottom-up approach to developments• Protocols may be developed

by interested individuals• "Rough consensus and working

code"

ISO• Produces ISO

Standards• Can be slow moving

and bureaucratic• Produce robust

standards

Proprietary• De facto standards• Often initially appealing

(cf PowerPoint, PDF)• May emerge as

standards

PNGHTMLZ39.50Java

HTML, XML, PNG, …

HTTPURNwhois++

HTML extensionsPDF and Java?St

anda

rds

Page 6: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 6

The Case For W3C StandardsWhy use open standards developed by the W3C? Why not leave it to the marketplace?

W3C’s open standards have been developed in an open environment, with the aim of achieving platform and application independency

Commercial companies develop proprietary formats in order to maximise their profits and dividends to shareholders

W3C’s open standards have been developed to interoperate with each other according to W3C’s design vision

Commercial companies typically develop proprietary formats in isolation, or along the lines of a company vision

Stan

dard

s

Page 7: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 7

Standards, Architectures, Applications, ResourcesThis talk touches on several areas

Architectures: models for implementing systems

Standards: concerned with protocols and file formats

Open standards vs. Proprietary

HTML / XML vs. PDFCSS / XSL vs. HTMLGIF vs PNG

Which standards are applicableNT / UnixFile system / database applicationHTML tools / content management

Apache / IISFrontPage / DreamweaverOracle / SQLServerColdFusion vs ASP

Development vs. Migration costsUse of in-house expertiseIn-house vs. out-sourced Licensed vs. open source

Resources: financial and staff costs needed to implement systems

Applications: software products used to implement systems

Stan

dard

s

Page 8: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 8

GIFAs an example of the dangers of use of proprietary solutions, consider the GIF file format:

• Unisys announce that they hold patent to compression algorithm used in GIF images and users of GIF will have to pay

• Following much debate, Unisys require payment for licence from software developers - and also for end users of unlicensed software ($5,000!)

• Web community responds with PNG format• See <http://burnallgifs.org/>

WARNING:• There is no guarantee that payment will not be

required for proprietary file formats which are currently free

Stan

dard

s

Page 9: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 9

How Does The Web Work?The Web has three fundamental concepts:

• URLs: addresses of resources• HTTP: dialogue between client and server• HTML: format of resources

The Netsoft home page

1 User clicks on link to the address (URL)http://www.netsoft.com/hello.html

2 Browser converts link to HTTP command (METHOD):Connect to computer at www.netsoft.com

GET /hello.html3 Remote computer sends file

Welcome toNetsoft

4 Local computer displays HTML file

Web Browser

Web server

<HTML><TITLE>Welcome</TITLE>..<P>The <A HREF=“…”>Netsoft</A> home page</P>

Page 10: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 10

Approaches To HTMLEmphasis on managing HTML resources inappropriate:

• HTML is an output format, which cannot easily be reused (e.g. WAP, e-Books, etc.)

• Need to manage HTML fragments (only partly achievable with SSIs)

• Need to manage collections of resources• Need to have single master source of data• Need to support new developments such as

personalisation• Difficult to integrate with new formats

Issues• Should we stop giving HTML training courses?• Should we stop buying HTML authoring tools?

Dat

a Fo

rmat

s

Page 11: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 11

XMLXML:

• Extensible Markup Language• A lightweight SGML designed for network use• Addresses HTML's lack of evolvability• Arbitrary elements can be defined (<STUDENT-NUMBER>, <PART-NO>, etc)

• Agreement achieved quickly - XML 1.0 became W3C Recommendation in Feb 1998

• Support from industry (SGML vendors, Microsoft, etc.)

• Support in latest versions of Web browsers

Dat

a Fo

rmat

s

Page 12: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 12

XML Concepts (1)Well-formed XML resources:

Make end-tags explicit: <li>...</li>Make empty elements explicit: <img ... />Quote attributes <img src="logo.gif" height="20"Use consistent upper/lower case

<p> and <P> are different

XML Namespaces:Mechanism for ensuring unique XML elements:

<?xml:namespace ns="http://foo.org/1998-001" prefix="i">

<p>Insert <i:PART>M-471</i:PART></p>

Dat

a Fo

rmat

s

Page 13: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 13

XML Concepts (2)XML Schemas

• Allow constraints to be applied on XML attributes• Express shared vocabularies and allow machines

to carry out rules made by people• Richer than DTDs• See <http://www.w3.org/XML/Schema>

XSLT• A language for transforming XML from one DTD

to another, or to another format (e.g. PDF)• Written in XML• Knows about XML (e.g. tree structures, etc.)• See <http://www.xslt.com/>

Dat

a Fo

rmat

s

Page 14: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 14

XML Concepts (3)XLink sophisticated hyperlinking:

• Links that allow you to choose multiple destinations• Bidirectional links• Links with special behaviours:

• Expand-in-place / Replace / Create new window• Link on load / Link on user action

• Link databases• See <http://www.xml.com/pub/a/2000/09/xlink/>

XPointer• Provides access to arbitrary portions of XML resource

• See <http://www.w3.org/TR/xptr/>

EnglandFrance

Dat

a Fo

rmat

s

Page 15: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 15

Getting to XML With XHTMLXHTML:

• HTML represented in XML• Some small changes to HTML:

Elements in lowercase <p> not <P> Attributes must be quoted <img src="logo" height="50"> Elements must be closed:

< p >... </ p >)<img src="logo" ... />

• Gain benefits from XML• Tools available (e.g. HTML-Kit from http://www.chami.com/html-kit/)

• See <http://www.webreference.com/xml/column6/>, <http://groups.yahoo.com/group/XHTML-L/> and <http://www.ariadne.ac.uk/issue27/web-focus/>

Dat

a Fo

rmat

s

Page 16: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 16

CSSCSS:

• Cascading Style Sheets• XHTML/XML defines structure, CSS describes

the appearance• CSS 1.0 and 2.0 now W3C recommendations• CSS 3.0 in preparation (modularised)• We should be using CSS:

Part of architecture Ease of maintenance Becoming much richer Accessibility

• See <http://www.w3c.org/Style/CSS/>

Dat

a Fo

rmat

s

Page 17: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 17

SVGSVG:

• Scalable Vector Graphics• A language for describing two-dimensional

graphics in XML• See <http://www.w3.org/Graphics/SVG/Overview.htm8>

• Also see presentation on XML written in SVG at <http://www.w3c.org/Talks/2001/12/IH-Euroweb/W3CInTheWorldslide.svgz>

• WWW 2002 talk at <http://www.w3c.org/2002/Talks/www2002-SVG/>

Dat

a Fo

rmat

s

Page 18: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 18

Dat

a Fo

rmat

s

Page 19: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 19

SVG Example

http://www.karto.ethz.ch/neumann/cartography/vienna/

Dat

a Fo

rmat

s

Page 20: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 20

SVG and XSLTThis example:

• Originally written in Java

• Author realised that XSLT would be easier

• Uses SVG for chess board and pieces

• Uses XSLT to move pieces

http://people.w3.org/maxf/ChessGML/

Dat

a Fo

rmat

s

Page 21: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 21

CML, SVG and XSLThttp://www.adobe.com/svg/demos/cml2svg/html/index.html

A molecule described in CML can be transformed using XSLT into SVG, allowing it to be displayed and manipulated

Page 22: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 22

SMILSMIL:

• Synchronized Multimedia Integration Language

• A language for authoring of interactive audiovisual presentations

• Allows you to synchronize text, images, audio and video in a document

• An XML Application• See <http://www.w3c.org/AudioVideo/>

Dat

a Fo

rmat

s

Page 23: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 23

SMIL Examplehttp://www.kevlindev.com/tutorials/basics/animation/svg_smil/index.htm

http://www.reseau.it/smil/smilapp_en.html

Page 24: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 24

MathMLMathML:

• An XML application for maths

• Various plugins, dedicated readers, etc.

• Mozilla renders natively

See <http://www.mozilla.org/projects/mathml/>

Page 25: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 25

ModularisationHow can you:

• Include XML resources such as MathML, ChemML, etc in XHTML documents?

• Provide a subset of XHTML features in browsers on devices such as mobile phones, PDAs, etc.?

The answer is:• XHTML modularisation (modularization )• See

<http://www.w3.org/TR/xhtml-modularization/> and<http://www.xml.com/pub/a/2002/01/16/xhtml-m12n.html>

Dat

a Fo

rmat

s

Page 26: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 26

Web Standards

Part 2 –Deployment Issues

Page 27: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 27

W3C ChallengesW3C faces a number of challenges:

• Commercial acceptance (cf. browser wars):• Software vendors may refuse to deploy new standards

• User acceptance:• User may not use of new standards (it's too complex /

expensive, …)

• Patent issues• Software vendors may claim patents on new standards

• Complexity• The wide range of new standards makes deployment too

difficult

• Organisational issues• W3C is facing too many difficulties in growth, politics, etc.

Page 28: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 28

ArchitecturesLet us consider the following areas:

• Content Management• Access (Browser support)

Dep

loym

ent

Page 29: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 29

Position TodayWhat should we be doing today?

• Move away from creating new content in HTML• Move to XHTML as part of the migration• Deploying XML applications• Storing structured information in a neutral

database• Using a CMS to manage our content• Deploying B2B applications to avoid human

bottleneck (such as RSS)

Note that these are aspirations. We will, of course, be constrained by existing systems, resource implications, vested interests, inertia, etc.

Dep

loym

ent

Page 30: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 30

The CMS To The RescueHTML authoring tools have limitations (as has HTML). A CMS (Content Management System):

• Allows fragments to be managed• Allows collections to be managed• Allows resources to be stored in a neutral format

(backend database)• Allows resources to be reused• Often provides access control• Often provides workflow processes and project

managementIssues

• CMS can be expensive• CMS can be free but have support implications• Which one to choose?

Dep

loym

ent

Page 31: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 31

Browser IssuesWhich approach to browser issues should you take?

Web sites should be usable to old browsers as these are still in use and we aim to maximise access. Therefore you should deliver HTML 3.2 / 4.0 and avoid technologies such as JavaScript and CSS.

Old browsers are broken and fail to implement new technologies which provide (a) richer functionality (b) support for new devices and (c) better support for people with disabilities. Therefore you should use the latest stable versions of HTML (XHTML), CSS, etc.

NOTE• Use of ‘clean’ HTML should

degrade gracefully• XHTML is a useful transition• User-agent negotiation may

be relevantQUESTION

• Should organisations / community implement a browser policy?

Page 32: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 32

ConclusionsTo conclude:

• The Web has not yet stabilised• New developments provide needed functionality or

address current limitations• However W3C cannot guarantee that its vision will

necessarily be implemented• There is therefore a risk and a cost in adopting new

standards• There is also a risk in failing to adopt new

standards!• Keeping up-to-date is therefore essential!

Page 33: A centre of expertise in digital information   HTML Is Dead! A Web Standards Update Brian Kelly UK Web Focus UKOLN University of

A centre of expertise in digital information management

www.ukoln.ac.uk 33

QuestionsAny questions?