Docsity

Introduction to Web Pages - Web Programming - Lecture Slides, Slides of Computer Programming

Partial preview of the text

Download Introduction to Web Pages - Web Programming - Lecture Slides and more Slides Computer Programming in PDF only on Docsity!

Introduction to

Web Pages

Lecture Overview

 Evolution of the Internet and Web  Web Protocols

History of the Web

 In 1991, Tim Berners-Lee created the Web at the Particle Physics Laboratory in Cern Switzerland  He established the World Wide Web Consortium (W3C) in 1994 to foster international standards  Today the W3C defines standards for most Web-based protocols

The Web Today

 Web 2.0 is a group of technologies described by social networking and user collaboration  Web 3.0 is a group of future data-driven and semantic concepts

 These are not specific technologies and you cannot buy them

Internet Protocols

 The Internet is built from a “stack” of protocols  At the bottom, there is IP (a connectionless unreliable protocol)  TCP lives on top of IP (a connected reliable protocol)  And all the services we know live on top of TCP / IP

Internet Services

 FTP – File Transfer Protocol  Mail protocols  Simple Mail Transfer Protocol (SMTP)  Post Office Protocol (POP3)  Internet Message Access Protocol (IMAP)  HTTP – Hypertext Transfer Protocol  This is how we move Web pages  And many more

A Brief History of HTML

 1997: Html 4.0 Draft 1999: HTML 4. 2001 : XHTML 1.1 (XHTML 2.0 died)

 2008: HTML5 working draft XHTML drafted along side HTML

Web Markup Languages

 In the beginning there was the Standard Generalized Markup Language (SGML)  It was unruly  HTML was created to “markup” Web pages  XML was created to represent just about any kind of data  XHTML is HTML written in XML  HTML 5 is the next generation of HTML  We will use XHTML and HTML 5 in this course  They are not all that different

Web Page Round Trip

Client (Request)

Server (Receive)

Server (Process)

Server (Send HTML)

Client (Render)

A Word about Web Browsers

 Everyone has their favorite  IE, FireFox, Chrome, …  As we begin to program more, we will learn about differences between one browser and the next and the challenges of programming against different browsers  Not to mention the mobile world