SCC0219 – Int. à Programação Web
Adaptado por Dilvan Moreira de conteúdo de
Professores do Intermídia
Aplicação: Web
2
WWW
3
Histórico da WWW
Tim Berners Lee propõe Hypertext ao CERN (Conseil Européen pour la Recherche Nucléaire):
4
WWW
WWW (1991)
6
WWW (1992)
7
WWW (1993)
8
WWW (1993)
Mosaic
10
WWW (1994)
Marc Andreesen & colegas deixam NCSA e, com Jim Clark (Silicon Graphics) fundam a Netscape Co. (http://www.netscape.com).
11
WWW (1995)
12
Arquitetura
13
A Era do Hipertexto
Browser
+
HTML
PC
Internet
Documentos
HTML
Servidor Web
(Web Server)
HTTP
HTTP
HTTP
Cliente
Servidor
Browser
+
HTML
MAC
Arquiteturas Web
A Era Interativa
Arquiteturas Web
Browser
+
HTML
+
Forms e Scripts
Clientes
Internet
Documentos
HTML
Servidor Web
(Web Server)
HTTP
HTTP
CGI
PHP
ASP
Cliente
Servidor
Módulos
Acoplados ao servidor
Base
de Dados
Sistema
Gerenciador
de Base
de Dados
Arquiteturas Web
Browser
+
HTML
+
JavaScript TypeScript React.js Angular.js JSON
Clientes
Internet
Documentos
HTML
Servidor Web
(Web Server)
HTTP
HTTP
Cliente
Servidores
Base
de Dados
Arquiteturas Web Atual
Servidor Web
(Web Services)
Base
de Dados
Base
de Dados
Servidor Web
(Web Services)
História do HTML
18
Documento Web
19
A Markup Language...
Quem?
Quando?
Onde?
Como?
Por que?
HTML
<TITLE> ... </TITLE>
<H1> ...</H1>
<A>...</A>
<IMG SRC=“...” ALT=“...”>
<HR>
Documento da Web?
Conteúdo, estrutura e apresentação
Conteúdo, estrutura e apresentação
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>A Beginner's Guide to URLs</TITLE>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<H1>A Beginner's Guide to URLs</H1>
What is a URL? A URL is a <B>Uniform Resource Locator</B>. Think of it as a networked extension of the standard <I>filename</I> concept: not only can you point to a file in a directory, but that file and that directory can exist on any machine on the network, can be served via any of several different methods, and might not even be something as simple as a file: URLs can also point to queries, documents stored deep within databases, the results of a <I>finger</I> or <I>archie</I> command, or whatever.
De onde veio HTML?
http://www.iso.ch/cate/d16387.html
ISO 8879:1986: Information processing -- Text and office systems -- Standard Generalized Markup Language (SGML)
<!doctype demo [
<!element demo o o (p*)>
<!element p - o (#pcdata)>
]>
<p>
The first paragraph.
<p>
The second paragraph.
Mas...
Não é possível estender HTML4
SGML na Web...
HTML5 and Designing a Rich Internet Experience
Garth Colasurdo
HSLIC Web and Applications Group
gcolasurdo@salud.unm.edu
In This Presentation
HTML5 ≈ HTML 5 + CSS 3 + JavaScript
A Rough History of Web Standards
91-92 | 93-94 | 95-96 | 97-98 | 99-00 | 01-02 | 03-04 | 05-06 | 07-08 | 09-10 | 11-12 | 13-14 |
HTML 1 | HTML 2 | | HTML 4 | XHTML 1 | | | | | HTML 5 | | |
| | CSS 1 | CSS 2 | | T-less D | Web 2.0 | | | CSS3 | | |
| | JS | ECMA, DOM | DOM 2 | | | Ajax | | DOM, APIs | | |
2004 | WHATWG started |
2008 | W3C Working Draft |
2012 (2010) | W3C Candidate Rec |
2022 | W3C Rec |
1996 – CSS 1 | W3C Rec |
1998 – CSS 2 | W3C Rec |
1999 – CSS 3 | Proposed |
2005 – CSS 2.1 | W3C Candidate Rec |
2001 – CSS 3 | W3C Working Draft |
HTML 5
CSS
Rich Internet Applications (RIA)
RIA Examples
5 HTML Enhancements
HTML Extended
HTML
Header
Navigation
Aside
Footer
Section
Article
Footer
Article
Footer
Article
Footer
Figure
Image, Video, Quote, Table, etc…
Legend
Canvas
<canvas id=“canvas” width=“150” height=“150”>
</canvas>
function draw() {
var canvas = document.getElementById(“canvas”);
if (canvas.getContext) {
var ctx = canvas.getContext(“2d”);
ctx.fillStyle = “rgb(200,0,0)”;
ctx.fillRect (10,10,55,50);
ctx.fillStyle = “rgb(0,0,200)”;
ctx.fillRect (30,30,55,50);
}
}
Form Enhancements
CSS Effects
CSS Effect Example
.amazing {
border: 1px solid blue;
color: red;
background-color: gold;
-webkit-border-radius: 40px;
-moz-border-radius: 40px;
border-radius: 40px;
-webkit-box-shadow: 8px 8px 6px #474747;
-moz-box-shadow: 8px 8px 6px #474747;
box-shadow: 8px 8px 6px #474747;
text-shadow: 8px 8px 2px #595959;
filter: dropshadow(color=#595959, offx=8, offy=8);
}
Amazing CSS Effects
CSS Timelines
Programmer Tools
Offline Applications
Local Storage
Local Storage
User Agent Storage
Cautions
Progress
Advocacy Sites
Demos and Experiments
Developer Reference Sites
Por enquanto é isso!!
Esses slides têm sido elaborados juntamente com os profs. do grupo de pesquisa “Sistemas Web e Multimídia Interativos”