• No results found

e Declaration Of Independence,

N/A
N/A
Protected

Academic year: 2021

Share "e Declaration Of Independence,"

Copied!
53
0
0

Loading.... (view fulltext now)

Full text

(1)

the design

(2)

the design

(3)

the

design

(4)

design

principles

(5)

We hold these Truths to be self-evident, that all Men are created equal,

that they are endowed by their Creator with certain unalienable Rights,

that among these are

Life, Liberty and the pursuit of Happiness.

—e Declaration Of Independence,

1776-07-04

(6)

From each according to his ability, to each according to his need.

—Karl Marx,

1875

(7)

Do unto others as you would have them do unto you.

—Jesus of Nazareth,

~30AD

(8)

Four legs good, two legs bad.

—George Orwell,

Animal Farm

(9)

A robot may not injure a human being or, through inaction, allow a human being to come to harm.

A robot must obey any orders given to it by human beings, except where such orders would conflict with the First Law.

A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.

—Isaac Asimov,

I, Robot

(10)

Principles such as simplicity and modularity

are the stuff of soware engineering;

decentralisation and tolerance

are the life and breath of Internet.

—Tim Berners-Lee,

Principles of Design

(11)

HTML 2.0

HTML 3.2

HTML 4.0

HTML 4.01

1995

1997

1997

1999

(12)

XHTML 1.0

XHTML 1.1

XHTML 2

2000

2001

(13)

Be conservative in what you send; be liberal in what you accept.

—Jon Postel,

e Robustness Principle

(14)

WHATWG

W3C

HTML5

2004

2007

(15)

the design

(16)

is document describes the set of guiding principles used by the HTML Working Group for the

development of HTML5. e principles offer

guidance for the design of HTML in the areas of

compatibility, utility and interoperability.

—HTML Design Principles

w3.org/TR/html-design-principles

(17)

avoid

needless

complexity

Simple solutions are preferred to complex ones,
(18)

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

HTML 4.01

XHTML 1.0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

(19)

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

HTML 4.01

XHTML 1.0

<?xml version="1.0" encoding="UTF-8"?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

HTML5

<meta charset="utf-8">

(20)

HTML5

<link rel="stylesheet"

type="text/css"

href="file.css">

<script

type="text/javascript"

>

</script>

(21)

support

existing

content

Existing content oen relies upon expected user agent processing and behaviour to function as intended.

(22)

<img src="foo" alt="bar" />

<p class="foo">Hello world</p>

<img src="foo" alt="bar">

<p class="foo">Hello world

<IMG SRC="foo" ALT="bar">

<P CLASS="foo">Hello world</P>

<img src=foo alt=bar>

(23)

Be conservative in what you send; be liberal in what you accept.

—Jon Postel,

e Robustness Principle

(24)

solve real

problems

Abstract architectures that don’t address an existing need are less favoured than pragmatic solutions to problems that web content faces today.

(25)

<h2><a href="/path/to/resource">Headline text</a></h2> <p><a href="/path/to/resource">Paragraph text.</a></p>

(X)HTML

HTML5

<a href="/path/to/resource"> <h2>Headline text</h2> <p>Paragraph text.</p> </a>
(26)

pave the

(27)

section

article

aside

nav

header

footer

details

figure

(28)

<body>

<div id="header">...</div>

<div id="navigation">...</div>

<div id="main">...</div>

<div id="sidebar">...</div>

<div id="footer">...</div>

</body>

(29)

<body>

<

header

>...</header>

<

nav

>...</nav>

<div id="main">...</div>

<

aside

>...</aside>

<

footer

>...</footer>

</body>

(30)

section

article

aside

nav

header

footer

details

figure

(31)

<div class="item">

<h2>...</h2>

<div class="meta">...</div>

<div class="content">

...

</div>

<div class="links">...</div>

</div>

(32)

<

section

class="item">

<

header

><h1>...</h1></header>

<

footer

class="meta">...</footer>

<div class="content">

...

</div>

<

nav

class="links">...</nav>

</section>

(33)

<section class="item">

<header>

<h1>

...</h1></header>

<footer class="meta">...</footer>

<div class="content">

...

</div>

<nav class="links">...</nav>

</section>

(34)

I would in fact prefer, instead of <H1>, <H2> etc for headings to have a nestable <SECTION>..

</SECTION> element, and a generic <H>..</H> which at any level within the sections would produce the required level of heading.

—Tim Berners-Lee,

1991

(35)

degrade

gracefully

HTML 5 document conformance requirements should be designed so that Web content can

degrade gracefully in older or less capable user agents, even when making use of new elements, attributes, APIs and content models.

(36)

input type="number"

input type="search"

input type="range"

input type="email"

input type="date"

input type="url"

(37)
(38)
(39)

input type="search"

(40)

Flash

HTML5

object

video

(41)

<video

src="movie.mp4"

>

</video>

(42)

<video src="movie.mp4">

</video>

<object

data="movie.swf"

>

<!-- fallback content -->

(43)

<video src="movie.mp4">

</video>

<object data="movie.swf">

<

a href="movie.mp4"

>download</a>

</object>

(44)

<video>

<source src="movie.mp4">

<source

src="movie.ogv"

>

</video>

<object data="movie.swf">

<a href="movie.mp4">download</a>

</object>

(45)

<video>

<

source

src="

movie.mp4

">

<

source

src="

movie.ogv

">

</video>

<

object

data="

movie.swf

">

<

a

href="

movie.mp4

">download</a>

</object>

1

2

3

4

(46)

e value of a network is proportional to the square of the number of connected users of the system (n2).

(47)

priority of

constituencies

In case of conflict, consider

users

over

authors

over

implementors

over

specifiers

(48)

Soware, like all technologies, is inherently political. Code inevitably reflects the choices, biases and desires of its creators.

(49)

1. Make the most equent tasks easy and less equent tasks achievable.

2. Design for the 80%.

3. Privilege the Content Creator. 4. Make the default settings smart.

—Mark Boulton, Leisa Reichelt,

d7ux.org

(50)

Design for humans first, machines second.

—Microformats.org,

e microformats principles

(51)

e effectiveness of the Internet as a public resource depends upon interoperability (protocols, data

formats, content), innoation and decentralised participation worldwide.

Transparent community-based processes promote participation, accountability, and trust.

—e Mozilla Foundation,

e Mozilla Manifesto

(52)

Rough consensus and running code.

(53)

@adactio

adactio.com

self-evident, t all Men are created equal, eir Creator wi unalienable Rights, Principles of Design w3.org/TR/html-design-principles —Jamais Cascio d7ux.org e microformats principles e Mozilla Manifesto —e Tao of IETF

References

Related documents

The day of September 11, 2001 has been widely acknowledged as a day on which a major historical event took place; major, not only in terms of the history of politics but

This paper presents a novel sensing approach to measure the displacements and rotations in bridges and structures using laser beams, LED lights, and a digital video camera, referred

Primary bone histomorphometric parameters were assessed in trabecular bone under 200x magnifica- tion using the OsteoMetrics R system (OsteoMetrics, Decatur, GA) by a

separata is distinguished from other Labrundinia by the following combination of characters: male with abdominal segment I pale brown; II-IV almost brown but with a posterior

Specifically, an adaptive dynamic programming (ADP) algorithm is used to derive the optimal control law based on the nonlinear structural dynamics, and the large-scale machine

10.Ne2 is a quite common alternative, but it doesn’t seem particularly dangerous. The fianchetto is usually a good idea when the white knight moves away from d5.. The most solid

This Coding Clinic provides guidance on modifying coding guidelines to meet payer specific

none Western NY/Finger Lakes Monroe 2-Orleans BOCES Green Building Technology none Western NY/Finger Lakes Monroe 2-Orleans BOCES HVAC Service Technician none Western NY/Finger