Architecture of the web Client Server retrieved or generated web page.

Slides:



Advertisements
Similar presentations
Other Web Application Development Technologies. PHP.
Advertisements

Adding Dynamic Content to your Web Site
DT228/3 Web Development WWW and Client server model.
Session 13 Active Server Pages (ASP) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
Languages for Dynamic Web Documents
AJAX – The Future of Web Development? Anders Moberg David Mörtsell David Södermark.
Web Communication Client attempts to “pull” information from server – http message sent across Internet by TCP/IP* – packet switching used to route message.
Chapter Concepts Review Markup Languages
IS 360 Course Introduction. Slide 2 What you will Learn (1) The role of Web servers and clients How to create HTML, XHTML, and HTML 5 pages suitable for.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
Introduction to Web Interface Technology (CSE2030)
Multiple Tiers in Action
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Apache Tomcat Server Typical html Request/Response cycle
SE-2840 Dr. Mark L. Hornick1 Java Servlet-based web apps Servlet Architecture.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Intro to PHP Introduction to server-side scripts (It’s all good :D) © TAFE NSW
INTRODUCTION TO WEB DATABASE PROGRAMMING
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
Applets & Servlets.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
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.
Web Application Programming Carol Wolf Computer Science.
Copyright (c) 2010, Dr. Kuanchin Chen1 The Client-Server Architecture of the WWW Dr. Kuanchin Chen.
L. Grewe LAMP, WAMP and... Motivaiton Basic Web Systems with Delivery of Static and Dynamic Web Pages html, css, media javascript (“dynamic” on client.
Introduction to Internet Programming (Web Based Application)
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Welcome to CSC 301 Web Programming Charles Frank.
1 CS122B: Projects in Databases and Web Applications Spring 2015 Notes 03: Web-App Architectures Professor Chen Li Department of Computer Science CS122B.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
By Bearzx Dive Into Web Introduction To WEB
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
IT WEB TECHNOLOGY Prepared by, K.ABINAYA Lect/IT.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
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.
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.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
Introduction and Principles Web Server Scripting.
SERVER-SIDE WEB DEVELOPMENT.  Refers to software development for applications in which the majority of processing occurs on one or more servers (and.
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.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
World Wide Web policy.
PHP / MySQL Introduction
LAMP, WAMP and.. L. Grewe.
IS 360 Course Introduction
Web Browser server client 3-Tier Architecture Apache web server PHP
Chapter 27 WWW and HTTP.
Architecture of the web
Client-Server Model: Requesting a Web Page
Web Application Development Using PHP
Presentation transcript:

Architecture of the web Client Server retrieved or generated web page

Activities on the Client Client Generate a request Manage loading of web content Translates Web Pages into DOM Render HTML, CSS, Images Renders SVG Graphics interpret JavaScript, VBScript Manipulate the DOM using JavaScript, VBScript Stores Cookies, Bookmarks, History, Form Data and local datastores using a database (SQLite) AJAX requests using JavaScript, VBScript Maintains “sandbox” security (SOP, CORS) Interprets XML+XSLT A container for video and audio codecs A container for Java Applets

Activities On The Server Server Listens for Requests Loads modules in mods-enabled Translates directory refs in sites-enabled (root directory for system and per-user web accounts) Moves uploaded files into /tmp Passes QUERY_STRING, par Sends the output of the following Requests files from the OS Returns error page if the file is not found Requests execution of CGI scripts by the OS Interprets PHP Logs web page access and errors Requests JSP (Java) execution from a secondary server

Activities On The Server The Server DOES NOT talk directly to an SQL Database Engine!!! Communication with a database is done either through the PHP-MYQL library or through a library in some other server based language such as Java, Python, Ruby, PERL or some variation of C. All of the above can also talk to the OS to read and write files. The database does not have to be resident on the same machine CSS, Script, Images or other included files in a web page are loaded by the Client, NOT the server. Apache or IIS Server mod-php5 mod-ruby mod-cgi jsp redirect Operating System: port 80

n-Tier Client/Server Apache or IIS Server mod-php5 mod-ruby mod-cgi jsp redirect Operating System: port 80 Database Server Request Response Local Database JSP Server

Interaction with the File System Apache or IIS Server mod-php5 Request for file File or Error code Request for Error Page request for include or data file handle File handle Request Response PHP File PHP Output

Interaction with the Database Apache or IIS Server mod-php5 library function call Result Set, record count or errror code Request with form data Response Client Library function call (Java, VB) using sockets for communication Result Set, record count or errror code