CS 299 – Web Programming and Design CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

Click to continue Network Protocols. Click to continue Networking Protocols A protocol defines the rules of procedures, which computers must obey when.
DT228/3 Web Development WWW and Client server model.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
The Internet Useful Definitions and Concepts About the Internet.
Web Server Administration
Layer 7- Application Layer
Introduction to Web Database Processing
Introduction to Web Interface Technology (CSE2030)
IST 221 Internet Concepts and Applications Internet, WWW and HTML 1.
Introduction to Web Interface Technology (CSE2030)
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
©Brooks/Cole, 2003 Chapter 6 Computer Networks. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks. Distinguish between the three.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Process-to-Process Delivery:
Internet Vulnerabilities & Criminal Activities 1.2 – 9/12/2011 Structure of Internet Communications 1.2 – 9/12/2011 Structure of Internet Communications.
CSCI 323 – Web Development Chapter 1 - Setting the Scene We’re going to move through the first few chapters pretty quick since they are a review for most.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Computer Concepts 2014 Chapter 7 The Web and .
Introduction of Web programming Ins. Elaf Alhazmi LECTURE 1.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Syllabus outcomes Describes and applies problem-solving processes when creating solutions Designs, produces and evaluates appropriate solutions.
Chapter 1: Introduction to Web
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
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.
Chapter 4 Networking and the Internet. © 2005 Pearson Addison-Wesley. All rights reserved 4-2 Chapter 4: Networking and the Internet 4.1 Network Fundamentals.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
The Internet The internet is simply a worldwide computer network that uses standardised communication protocols to transmit and exchange data.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
The Web and Web Services Jim Graham NR 621 Spring 2009.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
TCP/IP (Transmission Control Protocol / Internet Protocol)
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Web Systems & Technologies Lecture 1
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
Internet Infrastructure Min Ding Smeal College of Business Administration Pennsylvania State University.
Transmission Control Protocol (TCP) Internet Protocol (IP)
JavaScript and Ajax (Internet Background) Week 1 Web site:
Introduction to the World Wide Web & Internet CIS 101.
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)
COMPUTER NETWORKS Hwajung Lee. Image Source:
World Wide Web. The World Wide Web is a system of interlinked hypertext documents accessed via the Internet The World Wide Web is a system of interlinked.
Internet and World Wide Web Introduction to the Internet.
Lecture 2 Web Programming
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.
Introduction to the Internet
CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang
Understanding Web Server Programming
Instructor Materials Chapter 5 Providing Network Services
CISC103 Web Development Basics: Web site:
Web Development & Design Chapter 1, Sections 4, 5 & 6
CISC103 Web Development Basics: Web site:
Topic 5: Communication and the Internet
Web Design & Development
Process-to-Process Delivery:
Presentation transcript:

CS 299 – Web Programming and Design CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang

CS 299 – Web Programming and Design 2 Outline Overview of syllabus and class policies Learning strategies Introduction to web technologies

CS 299 – Web Programming and Design 3 Overview of Syllabus and Class Policies Please see handout Syllabus can also be downloaded from our class website: –

CS 299 – Web Programming and Design 4 Learning Strategies Class format: a mixture of lecture and in-class exercises/projects Lectures will be posted online, which provide a guideline of what is covered in class Series of in-class exercises/projects will give you a chance to start building your own web pages step by step with the technologies you learn along this quarter There will be a final presentation of your quarter-long project Learn from existing examples

CS 299 – Web Programming and Design 5 Your Grade Projects: –Programming assignments (60%) For most of the time, turn in by providing a link to your web page Form a group of two, keep a report (write a blog) of the work done by individual Follow the deadline of each project, since the final project is built up by the previous small projects –Final project presentation (10%) Oral presentation of your group work (5 mins) Instructor evaluation + students evaluation of your final work Exams: –Final (focus on concept) (25%) Other: –Class participation (5%)

CS 299 – Web Programming and Design The Big Picture Web Essentials: Clients, Servers, and Communication

CS 299 – Web Programming and Design 7 Web Essentials Client: web browsers, used to surf the Web Server systems: used to supply information to these browsers Computer networks: used to support the browser- server communication ClientServer Request “document A” document A

CS 299 – Web Programming and Design 8 Internet v.s. Web The Internet: a inter-connected computer networks, linked by wires, cables, wireless connections, etc. Web: a collection of interconnected documents and other resources. The world wide web (WWW) is accessible via the Internet, as are many other services including , file sharing, etc.

CS 299 – Web Programming and Design 9 How does the Internet Work? Through communication protocols A communication protocol is a specification of how communication between two computers will be carried out –IP (Internet Protocol): defines the packets that carry blocks of data from one node to another –TCP (Transmission Control Protocol) and UDP (User Datagram Protocol): the protocols by which one host sends data to another. –Other application protocols: DNS (Domain Name Service), SMTP (Simple Mail Transmission Protocol), and FTP (File Transmission Protocol)

CS 299 – Web Programming and Design 10 The Internet Protocol (IP) A key element of IP is IP address, a 32-bit number The Internet authorities assign ranges of numbers to different organizations IP is responsible for moving packet of data from node to node A packet contains information such as the data to be transferred, the source and destination IP addresses, etc. Packets are sent through different local network through gateways A checksum is created to ensure the correctness of the data; corrupted packets are discarded IP-based communication is unreliable

CS 299 – Web Programming and Design 11 The Transmission Control Protocol (TCP) TCP is a higher-level protocol that extends IP to provide additional functionality: reliable communication TCP adds support to detect errors or lost data and to trigger retransmission until the data is correctly and completely received Connection Acknowledgment

CS 299 – Web Programming and Design 12 TCP/IP Protocol Suites HTTP, FTP, Telnet, DNS, SMTP, etc. TCP, UDP IP (IPv4, IPv6)

CS 299 – Web Programming and Design 13 The World Wide Web (WWW) WWW is a system of interlinked, hypertext documents that runs over the Internet Two types of software: –Client: a system that wishes to access the information provided by servers must run client software (e.g., web browser) –Server: an internet-connected computer that wishes to provide information to others must run server software –Client and server applications communicate over the Internet by following a protocol built on top of TCP/IP – HyperText Transport Protocol (HTTP)

CS 299 – Web Programming and Design 14 Basics of the WWW Hypertext: a format of information which allows one to move from one part of a document to another or from one document to another through hyperlinks Uniform Resource Locator (URL): unique identifiers used to locate a particular resource on the network Markup language: defines the structure and content of hypertext documents

CS 299 – Web Programming and Design 15 Web Client: Browser Makes HTTP requests on behalf of the user –Reformat the URL entered as a valid HTTP request –Use DNS to convert server’s host name to appropriate IP address –Establish a TCP connection using the IP address –Send HTTP request over the connection and wait for server’s response –Display the document contained in the response If the document is not a plain-text document but instead is written in HTML, this involves rendering the document (positioning text, graphics, creating table borders, using appropriate fonts, etc.)

CS 299 – Web Programming and Design 16 Web Servers Main functionalities: –Server waits for connect requests –When a connection request is received, the server creates a new process to handle this connection –The new process establishes the TCP connection and waits for HTTP requests –The new process invokes software that maps the requested URL to a resource on the server –If the resource is a file, creates an HTTP response that contains the file in the body of the response message –If the resource is a program, runs the program, and returns the output

CS 299 – Web Programming and Design 17 Static Web: HTML/XHTML, CSS HTML stands for HyperText Markup Language –It is a text file containing small markup tags that tell the Web browser how to display the page XHTML stands for eXtensible HyperText Markup Language –It is identical to HTML 4.01 –It is a stricter and cleaner version of HTML CSS stands for Cascading Style Sheets –It defines how to display HTML elements

CS 299 – Web Programming and Design 18 Why Programmability? What’s the drawback to simple document model? –Static –Assume that documents are created before they are requested What are examples of information that might be part of web documents that may not be known before they are requested?

CS 299 – Web Programming and Design 19 Client-Side Programmability Scripting language: a lightweight programming language Browser scripting: JavaScript –Designed to add interactivity to HTML pages –Usually embedded into HTML pages –What can a JavaScript Do? Put dynamic text into an HTML page React to events Read and write HTML elements Validate data before it is submitted to a server Create cookies …

CS 299 – Web Programming and Design 20 Server-Side Programmability The requests cause the response to be generated Server scripting: –CGI/Perl: Common Gate Way Interface (*.pl, *.cgi) –PHP: Open source, strong database support (*.php) –ASP: Microsoft product, uses.Net framework (*.asp) –Java via JavaServer Pages (*.jsp) –…

CS 299 – Web Programming and Design 21 CGI Common Gateway Interface: –CGI provides a way by which a web server can obtain data from (or send data to) database, and other programs, and present that data to viewers via the web. –A CGI program can be written in any programming language, but Perl is one of the most popular

CS 299 – Web Programming and Design 22 What’s Ahead? HTML, XHTML CSS Simple client-side interactivity (JavaScript) Simple server-side interactivity (CGI/Perl) We will not “teach” these languages We will provide an overview of the basics, and learn how to use the web resources to help build a web page