COMP519: Web Programming Autumn 2014 See online syllabus at: Course goals:  understand the technology.

Slides:



Advertisements
Similar presentations
The Internet and the Web
Advertisements

Internet and the web Summary of terms discusses and review.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
ISE554 The WWW for eLearning 3.1 WWW Concepts. “The WWW principle of universal readership is that once information is available, it should be accessible.
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
History of the Internet. Origins Late 1950’s: invention of the modem: modulator-demodulator or digital to analog ARPA (Advanced Research Projects Agency)
Introduction to Web Pages. Slide 2 Lecture Overview Evolution of the Internet and Web Web Protocols.
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
The Internet. What is the Internet? A community with about 100 million users Available in almost every country about 160,000 people are added each month.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
Timeline: History of the Internet: Vannavar Bush describes the memex; a hypothetical mechanical hypertext system where individuals could compress.
1st Project Introduction to HTML.
1 Internet History Internet made up of thousands of networks worldwide No one in charge of Internet - No governing body Internet backbone owned by private.
Internet Basics مهندس / محمد العنزي
Web Design Basic Concepts.
Pemrograman Web Semester Ganjil TA 2012/2013 Course source: From Russell Martin’s Web Programming course Course goals:  understand the technology and.
CSI315 Lecture 1 WEEK 1. The Internet A world-wide network of millions of computers connected to share information and communication. The interconnected.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Internet Fundamentals and Background
CNIT 132 Intermediate HTML and CSS Course Overview.
Chapter 1: Introduction to Web
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Computers in Society Week 3: The Internet. Preliminaries There are two important things to know before we talk about the internet: Packet switching Standards.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
 The internet is the hardware that creates the massive worldwide network. Computers, cables, telephone wires, high-speed communication lines. The internet.
Introduction to Internet Programming (Web Based Application)
History of the Internet and Internet Basics AGED 4143 Electronic Communications in Agriculture.
How did the internet develop?. What is Internet? The internet is a network of computers linking many different types of computers all over the world.
INTRODUCTION TO WEB APPLICATION DEVELOPMENT TJ 3043 Web Application Development.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
20-753: Fundamentals of Web Programming 1 Lecture 1: Introduction Fundamentals of Web Programming Lecture 1: Introduction.
Topics in Technology and Marketing In The Beginning.
1 Web Development & Design Foundations with XHTML Chapter 1 Key Concepts.
1 What is the history of the Internet? ARPANET (Advanced Research Projects Agency Network) TCP/IP (Transmission Control Protocol/Internet Protocol) NSFNET.
CSc 4370/6370: Web Programming Summer 2012 Course goals:  understand the technology and protocols underlying the World Wide Web  become familiar with.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
The First Computer The Abacus At least 2500BC in Mesopotamia Used by merchants to calculate transactions.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
CHAPTER 1 Internet & World Wide Web. Topics A Brief Introduction to the Internet The World Wide Web Web Browsers Web Servers Uniform Resource Locator.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
A Brief History of the Internet: The Timeline 1958: ARPA, the Advanced Research Projects Agency, is created by the U.S. Defense Department in response.
In the Beginning…. The History of the Internet. Essential Questions  What factors drove the development of the Internet?  Who were the people involved.
CSC 551: Web Programming Fall 2001 See online syllabus at: Course goals:  understand the technology and protocols underlying.
1 CS 3520: Website Development Summer 2005 Course goals:  understand the technology and protocols underlying the World Wide Web  become familiar with.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Introduction to the World Wide Web & Internet CIS 101.
Matthew Baillie, Luke Day THE INTERNET. HISTORY OF THE INTERNET J.C.R. Licklider authored a series of memos concerning theoretical network structures.
ULI101 – XHTML Basics (Part I) Internet / Web Concepts Brief History TCP/IP Web Servers / Web Browsers URL HTTP / HTML.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
CSE541: Web Applications Special Thanks to M. Abdur Rahman.
How Does the Internet Work? Chapter 11. What is the Internet? The Internet involves millions of computers, connected in complex ways to a maze of local.
CIS 1203 Web Technologies Introduction to the Internet and the WWW.
 The web is referred to as a “massive collection of web pages stored on millions of computers across the world that are linked by the Internet” (Chowdhury,
A BRIEF HISTORY OF THE INTERNET, WEB, AND HTML. Internet vs. World Wide Web What is The Internet? The Internet is a massive network of networks, a networking.
Chapter 11 How Does the Internet Work?. How Important is this Chapter to Understanding How to Use a Computer? 7 or 8 on a scale of 1 to 10.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Distributed Control and Measurement via the Internet
CISC103 Web Development Basics: Web site:
JavaScript and Ajax (Internet Background)
CNIT 131 Internet Basics & Beginning HTML
Evolution of Internet.
Project 1 Introduction to HTML.
Website Development Course goals:
1 Introduction to the Internet.
A worldwide system of interconnected computer networks.
Internet and the world wide web (www)
Presentation transcript:

COMP519: Web Programming Autumn 2014 See online syllabus at: Course goals:  understand the technology and protocols underlying the World Wide Web  become familiar with common tools and techniques for developing Web-based applications, both client-side and server-side  develop a working knowledge of HTML, JavaScript, Perl and PHP as languages for developing Web applications

Reasonable Questions What is the World Wide Web? Is it the same thing as the Internet? Who invented it? How old is it? How does it work? What kinds of things can it do? What does it have to do with programming?

Web  Internet Internet : a physical network connecting millions of computers using the same protocols for sharing/transmitting information (TCP/IP)  in reality, the Internet is a network of smaller networks World Wide Web: a collection of interlinked multimedia documents that are stored on the Internet and accessed using a common protocol (HTTP) Many other Internet-based applications exist e.g., , telnet, ftp, usenet, instant messenging services, file-sharing services, … Key distinction: Internet is hardware; Web is software along with data, documents, and other media

A (Very Brief) History of the Internet the idea of a long-distance computer network traces back to early 60's  Joseph Licklider at M.I.T. (a “time-sharing network of computers”, the Intergalactic Computer Network)  Paul Baran at RAND (tasked with designing a “survivable” communications system that could maintain communication between end points even after damage from a nuclear attack)  Donald Davies at National Physics Laboratory in U.K. (developed packet switching methodology to reduce costs associated with maintaining open transmissions) in particular, the US Department of Defense was interested in the development of distributed, decentralized networks  survivability (i.e., network still functions despite a local attack)  fault-tolerance (i.e., network still functions despite local failure) contrast with phone system, electrical system which are highly centralized services in 1969, Advanced Research Project Agency funded the ARPANET  connected computers at UC Los Angeles, UC Santa Barbara, Stanford Research Institute, and University of Utah  allowed researchers to share data, communicate 56Kb/sec communication lines (vs. 110 b/sec over phone lines)

ARPANET (1977, from the Computer History Museum)

Internet Growth throughout the 70's, the size of the ARPANET doubled every year  first ARPANET sent in 1971  decentralization made adding new computers easy  TCP/IP developed in the mid 1970s for more efficient packet routing  migration of ARPANET to TCP/IP completed 1 January, 1983  ~1000 military & academic host computers connected by 1984 in 80‘s, U.S. government took a larger role in Internet development  created NSFNET for academic research in 1986  ARPANET was retained for military & government computers by 90's, Internet connected virtually all colleges & universities  businesses and individuals also connecting as computing costs fell  ~1,000,000 computers by 1992 in 1992, control of the Internet was transferred to a non-profit org  Internet Society: Internet Engineering Task Force Internet Architecture Board Internet Assigned Number Authority World-Wide-Web Consortium (W3C)...

Internet Growth (cont.) Internet has exhibited exponential growth, doubling in size every 1-2 years ( stats from Internet Software Consortium) 2,405,518,376 Internet users (approx. 34.3% of the world’s population) ( (June 30, 2012) United Kingdom has 52.7 million users (approx. 83.6% of the population) Partial map of the internetPartial map of the internet (circa Jan 2005, by the Opte Project (opte.org) Year Computers on the Internet (at any one time?) 2011~605,000, ,286, ,139, ,128, ,047, ,739, ,881, ,212, , , , , ,

(A Very Brief) History of the Web the idea of hypertext (cross-linked and inter-linked documents) traces back to Vannevar Bush in his 1945 The Atlantic Monthly article “As We May Think” (the “memex”)  online hypertext systems began to be developed in 1960's e.g., Ted Nelson and Andy van Dam's Hypertext Editing System (HES), Doug Englebert's NLS (oN-Line System)  Aspen Movie Map (allowing virtual tour of Aspen, Colorado) was the first hypermedia applications  in 1987, Apple introduced HyperCard (a hypermedia system that predated the WWW) in 1989, Tim Berners-Lee at the European Particle Physics Laboratory (CERN) designed a hypertext system for linking documents over the Internet  designed a (Non-WYSIWYG) language for specifying document content evolved into HyperText Markup Language (HTML)  designed a protocol for downloading documents and interpreting the content evolved into HyperText Transfer Protocol (HTTP)  implemented the first browser -- text-based, no embedded media the Web was born!

History of the Web (cont.) the Web was an obscure, European research tool until 1993 in 1993, Marc Andreessen and Eric Bina (at the National Center for Supercomputing Applications, a unit of the University of Illinois) developed Mosaic, one of the early graphical Web browsers that popularized the WWW for the general public (Erwise was the first one, ViolaWWW the second)  the intuitive, clickable interface helped make hypertext accessible to the masses  made the integration of multimedia (images, video, sound, …) much easier  Andreessen left NCSA to found Netscape in 1994 cheap/free browser further popularized the Web (75% market share in 1996) in 1995, Microsoft came out with Internet Explorer Opera web browser released in 1996 Netscape bought by AOL in 1998 for US$4.2 billion in stock Firefox web browser, version 1.0, released in 2004 Google Chrome released in 2008 today, the Web is the most visible aspect of the Internet

Web Growth Stats from Netcraft Web Server Survey. A 2012 estimate suggests billion Web pages! (Google’s estimated index size is about 30 billion webpages.) (WorldWideWebSize.com) Year Computers on the Internet Web Servers on the Internet 2011~605,000,000~250,000, ??????172,338, ,286,36485,541, ,139,10756,923, ,128,49333,082, ,047,78518,169, ,739,0004,279, ,881,000300, ,212,0003, ,00050 Mosaic Netscape IE, Opera Firefox Google Chrome Safari

Web growth (cont.) Internet addresses are used to identify computers on the internet. Internet Protocol version 4 (IPv4) was first defined in 1981 and is still in use today, but this uses a 32-bit number to specify addresses. IPv4 provides around 4.29 billion (i.e x 10 9 ) addresses. The Internet Assigned Numbers Authority exhausted their allocated addresses on February 3, 2011, and the Asia-Pacific Network Information Centre (regional internet registry) exhausted theirs on April 15, Also, the Réseaux IP Européens Network Coordination Centre (regional internet registry for Europe, the Middle East, and parts of central Asia) exhausted their allotment on 14 September, LACNIC (the registry for Latin America and the Caribbean) depleted its address pool on June 10, Other registries are expected to reach exhaustion within several years. IPv6 began deployment in 1999 and uses 128 bit addresses, but is also redesigned to allow more efficient routing, network aggregation, and ease of network reconfiguration. (And has about 3.4 x address.)

Static vs. Dynamic pages most Web pages are static  contents (text/links/images) are the same each time it is accessed e.g., online documents, most homepages HyperText Markup Language (HTML) is used to specify text/image format as the Web continues to move towards more and more online services and e- commerce continues to grow, Web pages must also provide dynamic content  pages can be fluid, changeable (e.g., rotating banners)  must be able to react to the user's actions, request and process info, tailor services e.g., amazon.com this course is about applying your programming skills to the development of dynamic Web pages and applications

Client-Side Programming JavaScript  a scripting language for Web pages, developed by Netscape in 1995  uses a C++/Java-like syntax, so familiar to programmers, but simpler  good for adding dynamic features to Web page, controlling forms and GUI  requires users to have this technology enabled on their browsers  see  JQuery, first released in 2006, is a library to help with cross-browser compatibility issues and is used by more than 60% of the 10,000 most visited websites (source: SimilarTech) Java applets  can define small, special-purpose programs in Java called applets  provides (almost) full expressive power of Java (but with more overhead)  good for more complex tasks or data heavy tasks, such as graphics  see can download program with Web page, execute on client machine  simple, generic, but sometimes insecure (e.g. cross-site scripting attacks)

Server-Side Programming Common Gateway Interface (CGI) programming  programs can be written to conform to the CGI  when a Web page submits, data from the page is sent as input to the CGI program  CGI program executes on server, sends its results back to browser as a Web page  good if computation is large/complex or requires access to private data  we will discuss CGI programming using Perl, but other languages are possible as well (such as Python, Ruby, etc.) Active Server Pages (ASP), Java Servlets, PHP, Server Side Includes, Ajax  some of these are vendor-specific alternatives to CGI (such as Microsoft’s ASP)  provide many of the same capabilities as CGI programs but using HTML-like tags  some of these technologies might require functionality to be enabled in the client’s browser (e.g. Ajax generally requires the use of Javascript combined with PHP or some other server- based programming component) can store and execute program on Web server, link from Web page  more complex, requires server privileges, but can still be (mostly) secure

Exercise pick some of your favorite Web sites and try to identify  static components?  dynamic components?  client-side? JavaScript? Java applet?  server-side? CGI? ASP? e.g., gmail (uses Ajax for lots of its dynamic functions)