The Web: an architectural view. Browser Render HTML Get URL Send HTML Get HTML file HTTPD File System The primitive Web model.

Slides:



Advertisements
Similar presentations
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialitica in Informatica – Università di Trento.
Advertisements

J0 1 Marco Ronchetti - The Web: an architectural view.
Overview Environment for Internet database connectivity
Lecture plan Information retrieval (from week 11)
1 CGICGI Common Gateway Interface Server-side Programming Lecture.
W EB A PPLICATION D EVELOPMENT A PPLICATION T O B IO -I NFORMATICS -III Vicky Khanna M-Tech Bioinformatics.
Synera The Software That Thinks Like You Do Synera Technical Presentation.
DT228/3 Web Development WWW and Client server model.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
DT211/3 Internet Development Application Internet Development Application.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Multiple Tiers in Action
Apache Tomcat Server Typical html Request/Response cycle
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
WAP: Wireless Application Protocol Mike Mc Ardle ACSG April, 2005.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
CIS 365 Vandana Janeja Nov 27 th 2001 Connecting Cobol programs to Other Languages- Visual Basic, Java,HTML.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
An Introduction to WAP/WML. What is WAP? WAP stands for Wireless Application Protocol. WAP is for handheld devices such as mobile phones. WAP is designed.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
Introduction to Internet Programming (Web Based Application)
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
Working with scripts. HTTP Was too limited Not dynamic.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Architecture of the web Client Server retrieved or generated web page.
WIRELESS APPLICATION PROTOCOL Definition It is universal, open standard developed by the WAP Forum to provide mobile users of wireless phones and other.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1. 2 WIRELESS APPLICATION PROTOCOL (WAP) 3 Wireless Application Protocol Introduction Evolution WAP Architecture Working Uses Conclusion.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
IT 284 Unit 4 Seminar.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Web application architecture1 Based on Jim Conallen: Web Applications with UML.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
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 Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
Distributed systems: an architectural view. Once upon a time… The Mainframe Dumb Terminal Dumb Terminal Dumb Terminal Dumb Terminal Dumb Terminal Dumb.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
Web Services Using Visual.NET By Kevin Tse. Agenda What are Web Services and Why are they Useful ? SOAP vs CORBA Goals of the Web Service Project Proposed.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Presentation Title 1 1/27/2016 Lucent Technologies - Proprietary Voice Interface On Wireless Applications Protocol A PDA Implementation Sherif Abdou Qiru.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
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.
CX Introduction to Web Programming
Web-based Software Development - An introduction
Data communication and Networks
Network Infrastructure Services Supporting WAP Clients
Section 6.3 Server-side Scripting
WWW and HTTP King Fahd University of Petroleum & Minerals
PHP / MySQL Introduction
Web App vs Mobile App.
Web Browser server client 3-Tier Architecture Apache web server PHP
Architecture of the web
Mobile Internet and WAP
Presentation transcript:

The Web: an architectural view

Browser Render HTML Get URL Send HTML Get HTML file HTTPD File System The primitive Web model

httpd The primitive Web model Internet HTTP Get Client Browser Server File System

Browser Render HTML Get URL with Params Send HTML Execute CGI(params) Build HTML on the fly HTTPD CGI Process A simple interactive Web model

httpd A simple interactive Web model Internet HTTP Get Cgi-bin process Client Browser Server File System

Browser Render HTML Get URL with Params Send HTML Execute CGI(params) Build HTML on the fly HTTPD CGI Process DB Run Sql query Send query results An evolved interactive Web model

httpd An evolved interactive Web model Internet HTTP Get Cgi-binQuery SQL process DB Data Client Browser Server File System

httpd The Bottlenecks Internet HTTP Get Cgi-binQuery SQL process DB Data Client Browser SLOW! Server File System

httpd The Bottleneck – part I Internet HTTP Get Cgi-binQuery SQL process DB Data Client Browser SLOW! Server File System

httpd The solution: Internet HTTP Get Cgi-binQuery SQL process DB Data Client Smart browser How? Including code in HTML Server File System reduce net traffic by having a smarter client!

Programming languages Java Java Enabling technologies Client Smart browser Scripting languages Javascript Javascript Vbscript Vbscript Perlscript Perlscript Python Python … … Interpreted: Source code travels Compiled: Executable travels (must be HW-OS-Browser independent!)

httpd The Bottleneck – part II Internet HTTP Get Cgi-binQuery SQL process DB Data Client Browser SLOW! Server File System

httpd The solution: Internet HTTP Get Query SQL Function DB Data Client Browser Server File System integrate the service into the httpd process

Enabling technologies Multithreading Multithreading DLL DLL Servlets Servlets Using… Scripting languagesScripting languages Programming languagesProgramming languages Function httpd Server How? Including code in HTML File System (depending on server implementation)

mixed client- and server-side scripting <HTML>… …VBScript Commands… </SCRIPT>… … …JavaScript Commands… </SCRIPT>…</HTML> Code executed by the Server BEFORE the page is transferred over the Net Code transferred to the client and interpreted by the Browser ASP Syntax

The state problem Internet Client 1 Server +CGI httpd Data User 1 Data User 2 Data User 3 Client 3 Client 2 ?

A typical solution Internet Client 1 Server +CGI httpd Data User 1 Data User 2 Data User 3 Client 3 Client 2 Cookie Cookie Cookie Supported by Java & JavaScript

httpd A more radical solution Internet HTTP Get Cgi-bin process Client Browser Server Java applet process Startup Socket connection Supported by Java

httpd An even more radical solution Internet HTTP Get Cgi-bin process Client Browser Server Java applet process Startup CORBA Middle Tier Supported by Java

WAP - CenniClient (cellular phone) MicroBrowser Gateway WAP Richiesta WDP + WTSL (Wireless Datagram Protocol) Wireless Transport Security Layer Server HTTP Descrizione delle pagine: Wml (Wireless Markup Language, in XML) Hdml (HandhelD Markup Language, variante di HTML 9600 baud (*) (*) con GPRS fino a 56 Kbit/sec, conUMTS fino a 2 Mbit/sec (Universal Mobile Telecommunication System) More info:

XML Enabled HTTP ServerClient DocumentServerHTTPServer XSLTProcessor HTTP request StylesheetServer Get document XML document Get SS XSL stylesheet XML + XSL HTML document HTML document