-
Introducción
-
Consiste en
-
Web servers
- Recibe requests y envía response
-
Servidores
- Apache
- Microsoft IIS
-
Web clients
- Envía requests y muestra response
-
Browsers
- Mozilla Firefox
- Google Chrome
- Internet Explorer
-
Ventajas
- Actualización inmediata
- Multiplataforma
- Portable
- Alta disponibilidad
-
Desventajas
- Menos funcionalidad que aplicaciones Desktop
- Requiere de conexión a Internet
-
HTML
- Hyper Text Markup Language
- Le dice al browser como mostrar el contenido
- Consiste en un conjunto de tags y atributos
- Diferencias con XML?
-
Tags
- <!-- Comentario -->
-
<html>
-
<head>
- <title>
-
<body>
- <h1>
- <h2>
- <h3>
- <p>
- <br>
- <a href="">
- <img src="">
- <form action="url" method="post">
- <input>
- type="text"
- type="password"
- type="submit"
-
Versiones
- HTML 4
- HTML 5 (draft)
-
HTTP
- Hyper Text Transfer Protocol
- Corré sobre TCP/IP
- Desarrollado por el consorcio W3C y la IETF
-
Estructura
-
Request
-
HTTP method
- GET
- No modifica el estado en el servidor
- Idempotente
- Cuándo?
- Ingresar la URL por el browser
- Click en un link
- Pasa variables por la URL
- query string
- POST
- Modifica el estado en el servidor
- Otros
- HEAD
- TRACE
- PUT
- DELETE
- OPTIONS
- CONNECT
- URL
- Form parameters
-
Response
- Status code
-
Content-type (MIME)
- text/html
- text/xml
- application/pdf
- image/jpeg
- Contenido
- HTML es parte del response
-
URL
- Uniform Resource Locators
-
Limitaciones
-
Sin estado
- Uso de cookies
-
Referencias
- http://en.wikipedia.org/wiki/HTML
- http://www.slideshare.net/alagu/introduction-to-http
- Musciano, Chuck: HTML The Definitive Guide. O'Reilly & Associates
-
Acerca de
- Topic
- Topic