Web Architecture and Technologies

Size: px
Start display at page:

Download "Web Architecture and Technologies"

Transcription

1 Web Architecture and Technologies Ambient intelligence Fulvio Corno Politecnico di Torino, 2015/2016

2 Goal Understanding Web technologies Adopted for User Interfaces Adopted for Distributed Application Integration 2013/2014 Ambient intelligence: technology and design 2

3 Web Architecture and Technologies WEB ARCHITECTURE OVERVIEW HISTORICAL EVOLUTION 2013/2014 Ambient intelligence: technology and design 3

4 N-tier (N-level) architecture Browser Internet infrastructure Web Server Client Application Server Each level/tier has a well defined role One or more servers implement each tier/layer Servers can share hardware Communication between tiers/levels through the network Database Server 3 rd party services 2013/2014 Ambient intelligence: technology and design 4

5 General Architecture Internet Server(s) Client Historically, a web browser But also: Mobile application Desktop application Other server application Logical server: A process that runs on a host that relays information to a client upon the client sending it a request. Physical server : A host computer on a network that holds information (eg, Web sites) and responds to requests for information 2013/2014 Ambient intelligence: technology and design 5

6 Web server (logical) Manages the HTTP protocol (handles requests and provides responses) Receives client requests Reads static pages/contents from the filesystem Activates the application server for dynamic pages/content generation (server-side) Provides an file (HTML, or other) back to the client One HTTP connection for each request Multi-process, Multi-threaded or Process pool 2013/2014 Ambient intelligence: technology and design 6

7 Example Internet Web server HTML files Client URL http request path display page http response send HTML browser TCP/IP server file system 2013/2014 Ambient intelligence: technology and design 7

8 Adopted standards URL (uniform resource locator) for finding web pages HTML (hyper text markup language) for writing web pages GIF (graphics interchange format), PNG (portable network graphics), JPEG, for images HTTP (hyper text transfer protocol) for client-server interaction TCP/IP (transmission control protocol over internet protocol) for data transfer 2013/2014 Ambient intelligence: technology and design 8

9 HTML in 5 minutes /2014 Ambient intelligence: technology and design 9

10 URL RFC DNS URI Rewriting TCP /srv/www/elite/courses/01prd-ami File system Contact server HTML file contents HTTP Request 2013/2014 Ambient intelligence: technology and design 10

11 URI Basics Scheme Hostname Scheme Hostname Query Scheme Userinfo Hostname Port Query Scheme Hostname Query Fragment /2014 Ambient intelligence: technology and design 11

12 HTTP protocol RFC 2616, RFC GET / HTTP/1.1 Host: elite.polito.it User-Agent: Mozilla/5.0 (Windows HTTP/1.0 NT ; OK WOW64; rv:37.0) Gecko/ Firefox/37.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Cache-Control: no-store, no-cache, must-revalidate, Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3 Connection: Keep-Alive Accept-Encoding: gzip, deflate Content-Encoding: gzip Cookie: utma= ; Content-Type: text/html; charset=utf-8 Connection: keep-alive Date: Wed, 08 Apr :36:24 GMT Expires: Mon, 1 Jan :00:00 GMT Keep-Alive: timeout=15, max=100 Last-Modified: Wed, 08 Apr :36:24 GMT Pragma: no-cache Server: Apache/2.4.6 (Linux/SUSE) Transfer-Encoding: chunked X-Powered-By: PHP/ p3p: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM«<!DOCTYPE HTML> <html xmlns=" xml:lang="en-gb"> <head> /2014 Ambient intelligence: technology and design 12

13 Browser developer tools 2013/2014 Ambient intelligence: technology and design 13

14 Performance measures Latency: time required for providing a 0 byte http page. Includes the server activation time, the request decoding time, the file access time, the transmission time and the time for closing the connection. Unit of measure: http/s or s/http Throughput: maximum speed at which infinite-sized pages can be sent. Unit of measure: Bytes (Mbytes)/s #Requests / s 2013/2014 Ambient intelligence: technology and design 14

15 Delay time T = Latency + ResponseBytes / Throughput This equation is valid if: The other architecture elements (I/O subsystem, network,...) are not overloaded The web server has not yet reached its maximum workload Example: Latency: 0,1s ResponseBytes : 100kBytes Throughput: 800kBytes/s T= 0,1s+ 100KBytes / 800KBytes/s =0,225s 2013/2014 Ambient intelligence: technology and design 15

16 Static web transaction Browser Web server t 0 t 1 t 2 t 3 t 6 t 7 t 8 t 9 t 0 t 1 Disk access t 4 t 5 server response time network transfer time total response time user think time 2013/2014 Ambient intelligence: technology and design 16

17 General Architecture Web server (Apache, IIS) HTM HTML file Display Browser Mouse/ Keyboard i n t e r n e t Image file IMG Web application (PHP, JSP, ) Layout engine IMG HTM 2013/2014 Ambient intelligence: technology and design 17

18 The most adopted web servers Source: /2014 Ambient intelligence: technology and design 18

19 Application server Dynamic page generation and content generation Manages the site business logic It s the middle tier between the client browser and the data residing on a database Implements the session mechanisms Different technologies and architectures are available 2013/2014 Ambient intelligence: technology and design 19

20 Dynamic web transaction Internet Web server Application Client URL & data display page http request with data http response send command parameters HTML logic browser TCP/IP server application 2013/2014 Ambient intelligence: technology and design 20

21 Adopted standards HTTP-POST for sending user-specified data In addition to URL-encoding in GET requests Technologies for integrating application logic into web servers Obsolete: CGI (common gateway interface), ISAPI (internet information server application programming interface), server-side script java servlets ASP (active server pages), JSP, PHP, PERL, Python as new languages for application development 2013/2014 Ambient intelligence: technology and design 21

22 URL (HTTP GET) Application Parameters CPU Disk Libraries HTML 2013/2014 Ambient intelligence: technology and design 22

23 Dynamic web transaction Browser Web server Application server t 0 t 1 t 2 t 3 t 4 t 6 t 7 t 5 t 8 t 9 t 0 t 1 application time total server time total response time 2013/2014 Ambient intelligence: technology and design 23

24 General Architecture Web server (Apache, IIS) HTM HTML file Display Browser Mouse/ Keyboard i n t e r n e t Image file IMG Web application (ASP, PHP, JSP, ) Layout engine IMG HTM 2013/2014 Ambient intelligence: technology and design 24

25 Database server Stores the data on which the application server works. Executes the queries issued by the application server: Updates the stored data Inserts new data Provides back query results The most frequent/complex queries can be implemented internally as stored procedures (precompiled queries with parameters) 2013/2014 Ambient intelligence: technology and design 25

26 Example Internet Web server Application Database Client URL & data http req command parameters query display page http resp send HTML data browser TCP/IP server application database 2013/2014 Ambient intelligence: technology and design 26

27 Adopted standards Cookies for storing the state of a session Java, JavaScript, ActiveX, Flash to program the user interface on the browser SQL (structured query language), ODBC (open database connectivity) to access data bases 2013/2014 Ambient intelligence: technology and design 27

28 Database server Queries are almost always in SQL SELECT * FROM table;... Often adopts the relational database model Other models can be used Object model Triple model The most advanced/complete solutions are called Transaction servers 2013/2014 Ambient intelligence: technology and design 28

29 Database-driven transaction Browser Web server Application server Database server t 0 t 1 t 2 t 3 t 4 application time t 6 t /2014 Ambient intelligence: technology and design 29 t 5 total server time total response time database time t 8 t 9 t 0 t 1

30 Example (PHP) The application composes the query <?php $query = SELECT doc_id FROM key_doc_index, keywords WHERE key_doc_index.key_id = keywords.id AND keywords.key = $_REQUEST[ query ]; ; The query is sent to the db-server and a rowset containing the results is returned $rowset = mysql_query($query); while($row = mysql_fetch_row($rowset)) { //elaborate data }?> The application elaborates the data 2013/2014 Ambient intelligence: technology and design 30

31 General Architecture Web server (Apache, IIS) HTM HTML file Display Layout engine Browser Mouse/ Keyboard i n t e r n e t Image file IMG Web application (ASP, PHP, JSP, ) SQL Database Server DBMS IMG HTM Data base 2013/2014 Ambient intelligence: technology and design 31

32 General Architecture Web server (Apache, IIS) HTM HTML file IMG Display Layout engine CSS Browser DOM HTM Mouse/ Keyboard Javascript engine HTM JS i n t e r n e t Image file IMG CSS stylesheets CSS Javascript JS Web application (ASP, PHP, JSP, ) SQL Database Server DBMS Data base 2013/2014 Ambient intelligence: technology and design 32

33 Web 2.0 Web applications support social interaction models Peer exchange and user-contributed content instead of rigid publisher/reader pattern Online communities Rich, dynamic, interactive user interfaces Integration of contents across web sites (mashups) 2013/2014 Ambient intelligence: technology and design 33

34 Rich-Client Asynchronous Transactions Internet Web server Application Database Client-side Application Client http runtime URL DOM display page events browser XML/JSON http http TCP/IP send command parameters HTML query data server applicationdatabase 2013/2014 Ambient intelligence: technology and design 34

35 Adopted standards Dynamic HTML: DOM, Javascript, CSS JavaScript, Flash to handle a runtime environment on the browser DOM (XHTML Document Object Model) to allow on-the fly modification of the web page CSS 2.1 to modify attribute and handle objects AJAX: Asynchronous Javascript and XML XMLHttpRequest for asynchronous communication to the server Data transfer formats: JSON, XML, RDF, RSS, Atom, FOAF,... Mash-up technology 2013/2014 Ambient intelligence: technology and design 35

36 Rich-client transaction Browser t 0 t 1 t 8 t 9 t 0 t 1 Runtime Web server Application server Database server t 2 t 3 t 4 t 6 t 7 t /2014 Ambient intelligence: technology and design 36

37 General Architecture Web server (Apache, IIS) Data XML, JSON HTM HTML file IMG Display Layout engine CSS Browser DOM HTM Mouse/ Keyboard Javascript engine HTM JS i n t e r n e t Image file IMG CSS stylesheets CSS Javascript JS Web application (ASP, PHP, JSP, ) SQL Database Server DBMS Data base 2013/2014 Ambient intelligence: technology and design 37

38 Distributed transactions Internet Web server Application Client XML/JSON Internet Web server Application 2013/2014 Ambient intelligence: technology and design 38

39 AmI control Internet Web server Application Client Application 2013/2014 Ambient intelligence: technology and design 39

40 AmI control via http Internet Web server Application Client XML/JSON Internet, LAN, WLAN Web server Application 2013/2014 Ambient intelligence: technology and design 40

41 General Architecture Data XML JSON Client Application XML JSON i n t e r n e t Web server Web server Server application Database Server DBMS Data base 2013/2014 Ambient intelligence: technology and design 41 i n t e r n e t SQL Environ ment

42 License These slides are distributed under a Creative Commons license Attribution NonCommercial ShareAlike (CC BY-NC-SA) 3.0 You are free to: Share copy and redistribute the material in any medium or format Adapt remix, transform, and build upon the material The licensor cannot revoke these freedoms as long as you follow the license terms. Under the following terms: Attribution You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. NonCommercial You may not use the material for commercial purposes. ShareAlike If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. No additional restrictions You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits /2014 Ambient intelligence: technology and design 42

Web Architecture AN OVERVIEW

Web Architecture AN OVERVIEW Web Architecture AN OVERVIEW General web architecture Historically, the client is a web browser But it can be also A mobile application A desktop application Other server applications Internet Server(s)

More information

Web Architecture and Technologies

Web Architecture and Technologies Web Architecture and Technologies Ambient intelligence: technology and design Fulvio Corno Politecnico di Torino, 2014/2015 Goal Understanding Web technologies Adopted for User Interfaces Adopted for Distributed

More information

Web Architecture and Technologies

Web Architecture and Technologies Web Architecture and Technologies Ambient intelligence: technology and design Fulvio Corno Politecnico di Torino, 2013/2014 Goal Understanding Web technologies Adopted for User Interfaces Adopted for Distributed

More information

Web Information Systems. Sistemi Informativi Aziendali A.A. 2017/2018

Web Information Systems. Sistemi Informativi Aziendali A.A. 2017/2018 Web Information Systems A.A. Summary 1. Definition 2. Application Domains 3. Reference Architecture 2 Definition Web Information Systems Definition Web Information System (WIS) Communication between computers

More information

AJAX ASYNCHRONOUS JAVASCRIPT AND XML. Laura Farinetti - DAUIN

AJAX ASYNCHRONOUS JAVASCRIPT AND XML. Laura Farinetti - DAUIN AJAX ASYNCHRONOUS JAVASCRIPT AND XML Laura Farinetti - DAUIN Rich-client asynchronous transactions In 2005, Jesse James Garrett wrote an online article titled Ajax: A New Approach to Web Applications (www.adaptivepath.com/ideas/essays/archives/000

More information

The HTTP protocol. Fulvio Corno, Dario Bonino. 08/10/09 http 1

The HTTP protocol. Fulvio Corno, Dario Bonino. 08/10/09 http 1 The HTTP protocol Fulvio Corno, Dario Bonino 08/10/09 http 1 What is HTTP? HTTP stands for Hypertext Transfer Protocol It is the network protocol used to delivery virtually all data over the WWW: Images

More information

How to work with HTTP requests and responses

How to work with HTTP requests and responses How a web server processes static web pages Chapter 18 How to work with HTTP requests and responses How a web server processes dynamic web pages Slide 1 Slide 2 The components of a servlet/jsp application

More information

Assignment, part 2. Statement and concepts INFO-0010

Assignment, part 2. Statement and concepts INFO-0010 Assignment, part 2 Statement and concepts INFO-0010 Outline Statement Implementation of concepts Objective Mastermind game using HTTP GET and HTTP POST methods The platform Architecture Root page ("/")

More information

REST over HTTP. Ambient intelligence. Fulvio Corno. Politecnico di Torino, 2015/2016

REST over HTTP. Ambient intelligence. Fulvio Corno. Politecnico di Torino, 2015/2016 REST over HTTP Ambient intelligence Fulvio Corno Politecnico di Torino, 2015/2016 Goal Understanding main communication protocol (http) How to use REST architectures to integrate (call and/or offer) remote

More information

Building Web Applications

Building Web Applications Building Web Applications Ambient intelligence Fulvio Corno Politecnico di Torino, 2017/2018 Goal Create simple web applications In Python For interactive interfaces For server-side components Learn a

More information

CS WEB TECHNOLOGY

CS WEB TECHNOLOGY CS1019 - WEB TECHNOLOGY UNIT 1 INTRODUCTION 9 Internet Principles Basic Web Concepts Client/Server model retrieving data from Internet HTM and Scripting Languages Standard Generalized Mark up languages

More information

Web Technology. COMP476 Networked Computer Systems. Hypertext and Hypermedia. Document Representation. Client-Server Paradigm.

Web Technology. COMP476 Networked Computer Systems. Hypertext and Hypermedia. Document Representation. Client-Server Paradigm. Web Technology COMP476 Networked Computer Systems - Paradigm The method of interaction used when two application programs communicate over a network. A server application waits at a known address and a

More information

Contents 1 INTRODUCTION TO COMPUTER NETWORKS...

Contents 1 INTRODUCTION TO COMPUTER NETWORKS... Contents 1 INTRODUCTION TO COMPUTER NETWORKS... 1.1 LAN's & WAN's... 1.2 Some network and internetwork components... File Server... Workstation. Topologies and Protocol... Repeaters. Hubs (concentrators)...

More information

Chapter 10 Web-based Information Systems

Chapter 10 Web-based Information Systems Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 10 Web-based Information Systems Role of the WWW for IS Initial

More information

C22: Browser & Web Server Communication

C22: Browser & Web Server Communication CISC 3120 C22: Browser & Web Server Communication Hui Chen Department of Computer & Information Science CUNY Brooklyn College 11/01/2017 CUNY Brooklyn College 1 Web Application Architecture Client apps

More information

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies CNIT 129S: Securing Web Applications Ch 3: Web Application Technologies HTTP Hypertext Transfer Protocol (HTTP) Connectionless protocol Client sends an HTTP request to a Web server Gets an HTTP response

More information

s642 web security computer security adam everspaugh

s642 web security computer security adam everspaugh s642 computer security web security adam everspaugh ace@cs.wisc.edu review memory protections / data execution prevention / address space layout randomization / stack protector Sandboxing / Limit damage

More information

High performance and scalable architectures

High performance and scalable architectures High performance and scalable architectures A practical introduction to CQRS and Axon Framework Allard Buijze allard.buijze@trifork.nl Allard Buijze Software Architect at Trifork Organizers of GOTO & QCON

More information

CPET 581 E-Commerce & Business Technologies. Topics

CPET 581 E-Commerce & Business Technologies. Topics CPET 581 E-Commerce & Business Technologies Design and Build E-Commerce Web Sites, Mobile Sites, and Apps Lecture Note 1 of 2 References: *Chapter 4. Building an E-Commerce Presence: Web Sites, Mobile

More information

CSCI-1680 WWW Rodrigo Fonseca

CSCI-1680 WWW Rodrigo Fonseca CSCI-1680 WWW Rodrigo Fonseca Based partly on lecture notes by Sco2 Shenker and John Janno6 Administrivia HW3 out today Will cover HTTP, DNS, TCP TCP Milestone II coming up on Monday Make sure you sign

More information

CS631 - Advanced Programming in the UNIX Environment

CS631 - Advanced Programming in the UNIX Environment CS631 - Advanced Programming in the UNIX Environment Slide 1 CS631 - Advanced Programming in the UNIX Environment HTTP; Code Reading Department of Computer Science Stevens Institute of Technology Jan Schaumann

More information

REALIZATION CONCEPT Version: 1.02

REALIZATION CONCEPT Version: 1.02 REALIZATION CONCEPT Version: 1.02 Status: Approved Type of project: Restart Project name: Project no.: Storage location: Author: Project oversight: PC Direct Marketer Interface PN313021 L:\05_Product_Management\500_Products\580_Solutions\Direkt_marke

More information

Table of Contents WWW. WWW history (2) WWW history (1) WWW history. Basic concepts. World Wide Web Aka The Internet. Client side.

Table of Contents WWW. WWW history (2) WWW history (1) WWW history. Basic concepts. World Wide Web Aka The Internet. Client side. Table of Contents WWW World Wide Web Aka The Internet Karst Koymans Informatics Institute University of Amsterdam (version 44, 2014/10/06 11:35:56 UTC) Tuesday, October 7, 2014 WWW history Basic concepts

More information

3. WWW and HTTP. Fig.3.1 Architecture of WWW

3. WWW and HTTP. Fig.3.1 Architecture of WWW 3. WWW and HTTP The World Wide Web (WWW) is a repository of information linked together from points all over the world. The WWW has a unique combination of flexibility, portability, and user-friendly features

More information

HTTP (HyperText Transfer Protocol)

HTTP (HyperText Transfer Protocol) 1 HTTP (HyperText Transfer Protocol) Table of Contents HTTP (HYPERTEXT TRANSFER PROTOCOL)... 1 HTTP (HYPERTEXT TRANSFER PROTOCOL)... 3 What really happens when you navigate to a URL 3 1. You enter a URL

More information

CSCI-1680 WWW Rodrigo Fonseca

CSCI-1680 WWW Rodrigo Fonseca CSCI-1680 WWW Rodrigo Fonseca Based partly on lecture notes by Scott Shenker and John Jannotti Precursors 1945, Vannevar Bush, Memex: a device in which an individual stores all his books, records, and

More information

Web Engineering (CC 552)

Web Engineering (CC 552) Web Engineering (CC 552) Introduction Dr. Mohamed Magdy mohamedmagdy@gmail.com Room 405 (CCIT) Course Goals n A general understanding of the fundamentals of the Internet programming n Knowledge and experience

More information

Credits: Some of the slides are based on material adapted from

Credits: Some of the slides are based on material adapted from 1 The Web, revisited WEB 2.0 marco.ronchetti@unitn.it Credits: Some of the slides are based on material adapted from www.telerik.com/documents/telerik_and_ajax.pdf 2 The old web: 1994 HTML pages (hyperlinks)

More information

COSC 2206 Internet Tools. The HTTP Protocol

COSC 2206 Internet Tools. The HTTP Protocol COSC 2206 Internet Tools The HTTP Protocol http://www.w3.org/protocols/ What is TCP/IP? TCP: Transmission Control Protocol IP: Internet Protocol These network protocols provide a standard method for sending

More information

Web Systems & Technologies: An Introduction

Web Systems & Technologies: An Introduction Web Systems & Technologies: An Introduction Prof. Ing. Andrea Omicini Ingegneria Due, Università di Bologna a Cesena andrea.omicini@unibo.it 2006-2007 Web Systems Architecture Basic architecture information

More information

Web Programming Paper Solution (Chapter wise)

Web Programming Paper Solution (Chapter wise) Introduction to web technology Three tier/ n-tier architecture of web multitier architecture (often referred to as n-tier architecture) is a client server architecture in which presentation, application

More information

Lecture 7b: HTTP. Feb. 24, Internet and Intranet Protocols and Applications

Lecture 7b: HTTP. Feb. 24, Internet and Intranet Protocols and Applications Internet and Intranet Protocols and Applications Lecture 7b: HTTP Feb. 24, 2004 Arthur Goldberg Computer Science Department New York University artg@cs.nyu.edu WWW - HTTP/1.1 Web s application layer protocol

More information

Web Systems & Technologies: An Introduction

Web Systems & Technologies: An Introduction Web Systems & Technologies: An Introduction Prof. Ing. Andrea Omicini Ingegneria Due, Università di Bologna a Cesena andrea.omicini@unibo.it 2005-2006 Web Systems Architecture Basic architecture information

More information

REST Easy with Infrared360

REST Easy with Infrared360 REST Easy with Infrared360 A discussion on HTTP-based RESTful Web Services and how to use them in Infrared360 What is REST? REST stands for Representational State Transfer, which is an architectural style

More information

Produced by. Mobile Application Development. Higher Diploma in Science in Computer Science. Eamonn de Leastar

Produced by. Mobile Application Development. Higher Diploma in Science in Computer Science. Eamonn de Leastar Mobile Application Development Higher Diploma in Science in Computer Science Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology

More information

The World Wide Web. Internet

The World Wide Web. Internet The World Wide Web Relies on the Internet: LAN (Local Area Network) connected via e.g., Ethernet (physical address: 00-B0-D0-3E-51-BC) IP (Internet Protocol) for bridging separate physical networks (IP

More information

KINGS COLLEGE OF ENGINEERING 1

KINGS COLLEGE OF ENGINEERING 1 KINGS COLLEGE OF ENGINEERING Department of Computer Science & Engineering Academic Year 2011 2012(Odd Semester) QUESTION BANK Subject Code/Name: CS1401-Internet Computing Year/Sem : IV / VII UNIT I FUNDAMENTALS

More information

Programming the Web 06CS73 INTRODUCTION AND OVERVIEW. Dr. Kavi Mahesh, PESIT, Bangalore. Textbook: Programming the World Wide Web

Programming the Web 06CS73 INTRODUCTION AND OVERVIEW. Dr. Kavi Mahesh, PESIT, Bangalore. Textbook: Programming the World Wide Web Programming the Web 06CS73 INTRODUCTION AND OVERVIEW Dr. Kavi Mahesh, PESIT, Bangalore Textbook: Programming the World Wide Web Introduction: Internet and World-Wide Web Internet History Internet Protocols

More information

CS 43: Computer Networks. Layering & HTTP September 7, 2018

CS 43: Computer Networks. Layering & HTTP September 7, 2018 CS 43: Computer Networks Layering & HTTP September 7, 2018 Last Class: Five-layer Internet Model Application: the application (e.g., the Web, Email) Transport: end-to-end connections, reliability Network:

More information

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing Cleveland State University Department of Electrical and Computer Engineering CIS 408: Internet Computing Catalog Description: CIS 408 Internet Computing (-0-) Pre-requisite: CIS 265 World-Wide Web is now

More information

HTTP Reading: Section and COS 461: Computer Networks Spring 2013

HTTP Reading: Section and COS 461: Computer Networks Spring 2013 HTTP Reading: Section 9.1.2 and 9.4.3 COS 461: Computer Networks Spring 2013 1 Recap: Client-Server Communication Client sometimes on Initiates a request to the server when interested E.g., Web browser

More information

Computer Networks. Wenzhong Li. Nanjing University

Computer Networks. Wenzhong Li. Nanjing University Computer Networks Wenzhong Li Nanjing University 1 Chapter 8. Internet Applications Internet Applications Overview Domain Name Service (DNS) Electronic Mail File Transfer Protocol (FTP) WWW and HTTP Content

More information

Application Level Protocols

Application Level Protocols Application Level Protocols 2 Application Level Protocols Applications handle different kinds of content e.g.. e-mail, web pages, voice Different types of content require different kinds of protocols Application

More information

INTERNET ENGINEERING. HTTP Protocol. Sadegh Aliakbary

INTERNET ENGINEERING. HTTP Protocol. Sadegh Aliakbary INTERNET ENGINEERING HTTP Protocol Sadegh Aliakbary Agenda HTTP Protocol HTTP Methods HTTP Request and Response State in HTTP Internet Engineering 2 HTTP HTTP Hyper-Text Transfer Protocol (HTTP) The fundamental

More information

EDA095 HTTP. Pierre Nugues. March 30, Lund University

EDA095 HTTP. Pierre Nugues. March 30, Lund University EDA095 HTTP Pierre Nugues Lund University http://cs.lth.se/pierre_nugues/ March 30, 2017 Covers: Chapter 6, Java Network Programming, 4 rd ed., Elliotte Rusty Harold Pierre Nugues EDA095 HTTP March 30,

More information

CSE 333 Lecture HTTP

CSE 333 Lecture HTTP CSE 333 Lecture 19 -- HTTP Hal Perkins Department of Computer Science & Engineering University of Washington Administrivia Server-side programming exercise due Wed. morning HW4 due a week later - How s

More information

SAS/IntrNet 9.3. Overview. SAS Documentation

SAS/IntrNet 9.3. Overview. SAS Documentation SAS/IntrNet 9.3 Overview SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc 2011. SAS/IntrNet 9.3: Overview. Cary, NC: SAS Institute Inc. SAS/IntrNet

More information

World Wide Web, etc.

World Wide Web, etc. World Wide Web, etc. Alex S. Raw data-packets wouldn t be much use to humans if there weren t many application level protocols, such as SMTP (for e-mail), HTTP & HTML (for www), etc. 1 The Web The following

More information

HTTP Server Application

HTTP Server Application 1 Introduction You are to design and develop a concurrent TCP server that implements the HTTP protocol in the form of what is commonly called a web server. This server will accept and process HEAD and

More information

Programming the World Wide Web by Robert W. Sebesta

Programming the World Wide Web by Robert W. Sebesta Programming the World Wide Web by Robert W. Sebesta Tired Of Rpg/400, Jcl And The Like? Heres A Ticket Out Programming the World Wide Web by Robert Sebesta provides students with a comprehensive introduction

More information

Zero Latency HTTP The comet Technique

Zero Latency HTTP The comet Technique Zero Latency HTTP The comet Technique Filip Hanik SpringSource Inc Keystone, Colorado, 2008 Slide 1 Who am I bla bla fhanik@apache.org Tomcat Committer / ASF member Co-designed the Comet implementation

More information

Test On Line: reusing SAS code in WEB applications Author: Carlo Ramella TXT e-solutions

Test On Line: reusing SAS code in WEB applications Author: Carlo Ramella TXT e-solutions Test On Line: reusing SAS code in WEB applications Author: Carlo Ramella TXT e-solutions Chapter 1: Abstract The Proway System is a powerful complete system for Process and Testing Data Analysis in IC

More information

CORS Attacks. Author: Milad Khoshdel Blog: P a g e. CORS Attacks

CORS Attacks. Author: Milad Khoshdel Blog: P a g e. CORS Attacks Author: Milad Khoshdel Blog: https://blog.regux.com Email: miladkhoshdel@gmail.com 1 P a g e Contents What is CORS?...3 How to Test?...4 CORS Checker Script...6 References...9 2 P a g e What is CORS? CORS

More information

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets 1. Introduction How do the pages you're reading in your favorite Web browser show up there? When you log into your favorite Web site, how does the Web site know that you're you? And how do Web retailers

More information

Introduction to Internet, Web, and TCP/IP Protocols SEEM

Introduction to Internet, Web, and TCP/IP Protocols SEEM Introduction to Internet, Web, and TCP/IP Protocols SEEM 3460 1 Local-Area Networks A Local-Area Network (LAN) covers a small distance and a small number of computers LAN A LAN often connects the machines

More information

COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS. Web Access: HTTP Mehmet KORKMAZ

COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS. Web Access: HTTP Mehmet KORKMAZ COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS Web Access: HTTP 16501018 Mehmet KORKMAZ World Wide Web What is WWW? WWW = World Wide Web = Web!= Internet Internet is a global system of interconnected computer

More information

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY-621105. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year/Sem: IV / VII CS1401 INTERNET

More information

Table of Contents WWW. WWW history (2) WWW history (1) WWW history. Basic concepts. World Wide Web Aka The Internet. Client side.

Table of Contents WWW. WWW history (2) WWW history (1) WWW history. Basic concepts. World Wide Web Aka The Internet. Client side. Table of Contents WWW World Wide Web Aka The Internet Karst Koymans Informatics Institute University of Amsterdam (version 163, 2016/10/06 13:25:13 UTC) Friday, October 7, 2016 WWW history Basic concepts

More information

WEB SECURITY p.1

WEB SECURITY p.1 WEB SECURITY 101 - p.1 spritzers - CTF team spritz.math.unipd.it/spritzers.html Disclaimer All information presented here has the only purpose to teach how vulnerabilities work. Use them to win CTFs and

More information

World Wide Web Aka The Internet. Karst Koymans. Friday, October 7, 2016

World Wide Web Aka The Internet. Karst Koymans. Friday, October 7, 2016 . WWW World Wide Web. Aka The Internet Karst Koymans Informatics Institute University of Amsterdam (version 16.3, 2016/10/06 13:25:13 UTC) Friday, October 7, 2016 Karst Koymans (UvA) WWW Friday, October

More information

Motivations. Luigi De Russis. Why Ruby (on Rails)?

Motivations. Luigi De Russis. Why Ruby (on Rails)? Motivations Luigi De Russis 2 Disclaimer YES course-specific value open mind NO general value extremism 3 4 Course requirements Goal and context 5 Goal design and implement a Social Network site 6 credits

More information

Wire Shark Lab1. Intro

Wire Shark Lab1. Intro Jae Sook Lee FA16 CSIT 340 01 Dr. Constantine Coutras Wire Shark Lab1 Intro 1. List 3 different protocols that appear in the protocol column in the unfiltered packet-listing window in step 7 above. : 1)

More information

E : Web Application Servers. Architecture and Design

E : Web Application Servers. Architecture and Design E6998-04: Web Application Servers Dr. Donald F. Ferguson, IBM Fellow Chief Architect, IBM Software Group dff@us.ibm.com, or donff2@aol.com BLOG: http://www.ibm.com/developerworks/blogs/page/donferguson

More information

Web 2.0, AJAX and RIAs

Web 2.0, AJAX and RIAs Web 2.0, AJAX and RIAs Asynchronous JavaScript and XML Rich Internet Applications Markus Angermeier November, 2005 - some of the themes of Web 2.0, with example-sites and services Web 2.0 Common usage

More information

WEB TECHNOLOGIES CHAPTER 1

WEB TECHNOLOGIES CHAPTER 1 WEB TECHNOLOGIES CHAPTER 1 WEB ESSENTIALS: CLIENTS, SERVERS, AND COMMUNICATION Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson THE INTERNET Technical origin: ARPANET (late 1960

More information

Shankersinh Vaghela Bapu Institue of Technology

Shankersinh Vaghela Bapu Institue of Technology Branch: - 6th Sem IT Year/Sem : - 3rd /2014 Subject & Subject Code : Faculty Name : - Nitin Padariya Pre Upload Date: 31/12/2013 Submission Date: 9/1/2014 [1] Explain the need of web server and web browser

More information

13. Databases on the Web

13. Databases on the Web 13. Databases on the Web Requirements for Web-DBMS Integration The ability to access valuable corporate data in a secure manner Support for session and application-based authentication The ability to interface

More information

Real Life Web Development. Joseph Paul Cohen

Real Life Web Development. Joseph Paul Cohen Real Life Web Development Joseph Paul Cohen joecohen@cs.umb.edu Index 201 - The code 404 - How to run it? 500 - Your code is broken? 200 - Someone broke into your server? 400 - How are people using your

More information

ICS 351: Today's plan. IPv6 routing protocols (summary) HTML HTTP web scripting languages certificates (review) cookies

ICS 351: Today's plan. IPv6 routing protocols (summary) HTML HTTP web scripting languages certificates (review) cookies ICS 351: Today's plan IPv6 routing protocols (summary) HTML HTTP web scripting languages certificates (review) cookies IPv6 routing almost the same routing protocols as for IPv4: RIPng, OSPFv6, BGP with

More information

HTTP Protocol and Server-Side Basics

HTTP Protocol and Server-Side Basics HTTP Protocol and Server-Side Basics Web Programming Uta Priss ZELL, Ostfalia University 2013 Web Programming HTTP Protocol and Server-Side Basics Slide 1/26 Outline The HTTP protocol Environment Variables

More information

Inf 202 Introduction to Data and Databases (Spring 2010)

Inf 202 Introduction to Data and Databases (Spring 2010) Inf 202 Introduction to Data and Databases (Spring 2010) Jagdish S. Gangolly Informatics CCI SUNY Albany April 22, 2010 Database Processing Applications Standard Database Processing Client/Server Environment

More information

Executive Summary. Performance Report for: The web should be fast. Top 1 Priority Issues. How does this affect me?

Executive Summary. Performance Report for:   The web should be fast. Top 1 Priority Issues. How does this affect me? The web should be fast. Executive Summary Performance Report for: http://instantwebapp.co.uk/8/ Report generated: Test Server Region: Using: Fri, May 19, 2017, 4:01 AM -0700 Vancouver, Canada Firefox (Desktop)

More information

Web Architecture Review Sheet

Web Architecture Review Sheet Erik Wilde (School of Information, UC Berkeley) INFO 190-02 (CCN 42509) Spring 2009 May 11, 2009 Available at http://dret.net/lectures/web-spring09/ Contents 1 Introduction 2 1.1 Setup.................................................

More information

Notes. Submit homework on Blackboard The first homework deadline is the end of Sunday, Feb 11 th. Final slides have 'Spring 2018' in chapter title

Notes. Submit homework on Blackboard The first homework deadline is the end of Sunday, Feb 11 th. Final slides have 'Spring 2018' in chapter title Notes Ask course content questions on Slack (is651-spring-2018.slack.com) Contact me by email to add you to Slack Make sure you checked Additional Links at homework page before you ask In-class discussion

More information

Outline Computer Networking. HTTP Basics (Review) How to Mark End of Message? (Review)

Outline Computer Networking. HTTP Basics (Review) How to Mark End of Message? (Review) Outline 15-441 Computer Networking Lecture 25 The Web HTTP review and details (more in notes) Persistent HTTP review HTTP caching Content distribution networks Lecture 19: 2006-11-02 2 HTTP Basics (Review)

More information

EEC-682/782 Computer Networks I

EEC-682/782 Computer Networks I EEC-682/782 Computer Networks I Lecture 20 Wenbing Zhao w.zhao1@csuohio.edu http://academic.csuohio.edu/zhao_w/teaching/eec682.htm (Lecture nodes are based on materials supplied by Dr. Louise Moser at

More information

Information Network Systems The application layer. Stephan Sigg

Information Network Systems The application layer. Stephan Sigg Information Network Systems The application layer Stephan Sigg Tokyo, November 15, 2012 Introduction 04.10.2012 Introduction to the internet 11.10.2012 The link layer 18.10.2012 The network layer 25.10.2012

More information

ICOM 5016 Database Systems. Database Users. User Interfaces and Tools. Chapter 8: Application Design and Development.

ICOM 5016 Database Systems. Database Users. User Interfaces and Tools. Chapter 8: Application Design and Development. Chapter 8: Application Design and Development ICOM 5016 Database Systems Web Application Amir H. Chinaei Department of Electrical and Computer Engineering University of Puerto Rico, Mayagüez User Interfaces

More information

HTTP TRAFFIC CONSISTS OF REQUESTS AND RESPONSES. All HTTP traffic can be

HTTP TRAFFIC CONSISTS OF REQUESTS AND RESPONSES. All HTTP traffic can be 3 HTTP Transactions HTTP TRAFFIC CONSISTS OF REQUESTS AND RESPONSES. All HTTP traffic can be associated with the task of requesting content or responding to those requests. Every HTTP message sent from

More information

The HTTP Protocol HTTP

The HTTP Protocol HTTP The HTTP Protocol HTTP Copyright (c) 2013 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later

More information

UA-Tester.... or why Web-Application Penetration Testers are only getting half the story

UA-Tester.... or why Web-Application Penetration Testers are only getting half the story UA-Tester... or why Web-Application Penetration Testers are only getting half the story UA-Tester... or why Web-Application Penetration Testers are only getting half the story... or time to PIMP your tool!

More information

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016

DATABASE SYSTEMS. Database programming in a web environment. Database System Course, 2016 DATABASE SYSTEMS Database programming in a web environment Database System Course, 2016 AGENDA FOR TODAY Advanced Mysql More than just SELECT Creating tables MySQL optimizations: Storage engines, indexing.

More information

IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4.

IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4. IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4. Why are the protocols layered? 5. Define encapsulation.

More information

e-business Web Architectures (ebwa)

e-business Web Architectures (ebwa) Master in e-business and ICT for Management e-business Web Architectures (ebwa) Fulvio Corno, Dario Bonino Politecnico di Torino Dipartimento di Automatica e Informatica 08/10/09 ebwa-intro 1 Course introduction

More information

Applications & Application-Layer Protocols: The Web & HTTP

Applications & Application-Layer Protocols: The Web & HTTP CPSC 360 Network Programming Applications & Application-Layer Protocols: The Web & HTTP Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu http://www.cs.clemson.edu/~mweigle/courses/cpsc360

More information

CSE 333 Lecture HTTP

CSE 333 Lecture HTTP CSE 333 Lecture 19 -- HTTP Hal Perkins Paul G. Allen School of Computer Science & Engineering University of Washington Administrivia HW4 due a week from Thursday - How s it look? Today: http; finish networking/web

More information

Web 2.0 Käyttöliittymätekniikat

Web 2.0 Käyttöliittymätekniikat Web 2.0 Käyttöliittymätekniikat ELKOM 07 Sami Ekblad Projektipäällikkö Oy IT Mill Ltd What is Web 2.0? Social side: user generated contents: comments, opinions, images, users own the data The Long Tail:

More information

Introduction. WWW history. Application concepts, WWW and HTTP Perspectives on (mobile) communications. Fredrik Alstorp Torbjörn Söderberg

Introduction. WWW history. Application concepts, WWW and HTTP Perspectives on (mobile) communications. Fredrik Alstorp Torbjörn Söderberg ... M A K E Y O U R N E T W O R K S M A R T E R Application concepts, WWW and HTTP Perspectives on (mobile) communications Fredrik Alstorp Torbjörn Söderberg Introduction 8Internet and the WWW - Perspective

More information

Web Standards. Web Technologies. Web Standards. URI and URL

Web Standards. Web Technologies. Web Standards. URI and URL Web Technologies Claudio Fornaro ver. 1.2 1 Web Standards At its core, the Web is made up of three standards: the Uniform Resource Identifier (URI), which is a universal system for referencing resources

More information

Kaazing Gateway: An Open Source

Kaazing Gateway: An Open Source Kaazing Gateway: An Open Source HTML 5 Websocket Server Speaker Jonas Jacobi Co-Founder: Kaazing Co-Author: Pro JSF and Ajax, Apress Agenda Real-Time Web? Why Do I Care? Scalability and Performance Concerns

More information

LECT 8 WEB SECURITY BROWSER SECURITY. Repetition Lect 7. WEB Security

LECT 8 WEB SECURITY BROWSER SECURITY. Repetition Lect 7. WEB Security Repetition Lect 7 LECT 8 WEB SECURITY Access control Runtime protection Trusted computing Java as basic model for signed code Trusted Computing Group TPM ARM TrustZone Mobile Network security GSM security

More information

Introduc)on to Computer Networks

Introduc)on to Computer Networks Introduc)on to Computer Networks COSC 4377 Lecture 3 Spring 2012 January 25, 2012 Announcements Four HW0 s)ll missing HW1 due this week Start working on HW2 and HW3 Re- assess if you found HW0/HW1 challenging

More information

HTML5 INTRODUCTION & SEMANTICS

HTML5 INTRODUCTION & SEMANTICS HTML5 INTRODUCTION & SEMANTICS HTML5 HTML5 is the last major revision of the Hypertext Markup Language (HTML) standard W3C Recommendation 28 October 2014 Follows its predecessors HTML 4.01 and XHTML 1.1

More information

WWW Document Technologies

WWW Document Technologies WWW Document Technologies Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@imap.pitt.edu http://www.sis.pitt.edu/~spring Overview The Internet

More information

(System) Integrity attacks System Abuse, Malicious File upload, SQL Injection

(System) Integrity attacks System Abuse, Malicious File upload, SQL Injection Pattern Recognition and Applications Lab (System) Integrity attacks System Abuse, Malicious File upload, SQL Injection Igino Corona igino.corona (at) diee.unica.it Computer Security April 9, 2018 Department

More information

TCP/IP Networking Basics

TCP/IP Networking Basics TCP/IP Networking Basics 1 A simple TCP/IP Example A user on host argon.tcpip-lab.edu ( Argon ) makes a web access to URL http://neon.tcpip-lab.edu/index.html. What actually happens in the network? 2 HTTP

More information

World Wide Web. Before WWW

World Wide Web. Before WWW FEUP, João Neves World Wide Web Joao.Neves@fe.up.pt CAcer t WoT User Digitally signed by CAcert WoT User DN: cn=cacert WoT User, email=joao.neves@i nescporto.pt, email=b2d718a54c3 83ce1a9d48aa87e2ef 687ee8769f0

More information

Caching. Caching Overview

Caching. Caching Overview Overview Responses to specific URLs cached in intermediate stores: Motivation: improve performance by reducing response time and network bandwidth. Ideally, subsequent request for the same URL should be

More information

Active Server Pages Architecture

Active Server Pages Architecture Active Server Pages Architecture Li Yi South Bank University Contents 1. Introduction... 2 1.1 Host-based databases... 2 1.2 Client/server databases... 2 1.3 Web databases... 3 2. Active Server Pages...

More information

Guzzle: Extraordinary HTTP Client

Guzzle: Extraordinary HTTP Client Guzzle: Extraordinary HTTP Client Rob Allen @akrabat ~ akrabat.com ~ September 2016 Why HTTP clients in PHP? Talking to web services Authentication with 3rd parties Social media interaction Remote APIs

More information