HTTP Request/Response Process 1.Enter URL (http://server.com) in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com.

Slides:



Advertisements
Similar presentations
DT228/3 Web Development WWW and Client server model.
Advertisements

Understand Web Page Development Software Development Fundamentals LESSON 4.1.
Languages for Dynamic Web Documents
Server-Side vs. Client-Side Scripting Languages
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Introduction to Web Interface Technology (CSE2030)
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
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
Introduction to Web Interface Technology (CSE2030)
Chapter 14 Introduction to HTML
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Web Design Basic Concepts.
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Chapter 1 Highlights CSIS-390.  A graduate of Oxford University  wrote the first web client and server in  His specifications of URIs, HTTP and.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Computer Concepts 2014 Chapter 7 The Web and .
What is Web Design?  Web design is the creation of a Web page using hypertext or hypermedia to be viewed on the World Wide Web.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
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.
Chapter 1: Introduction to Web
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Web Application Programming Carol Wolf Computer Science.
Introduction to Internet Programming (Web Based Application)
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
Web Engineering we define Web Engineering as follows: 1) Web Engineering is the application of systematic and proven approaches (concepts, methods, techniques,
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 Welcome to CSC 301 Web Programming Charles Frank.
Session I Chapter 1 - Introduction to Web Development
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Dynamic web content HTTP and HTML: Berners-Lee’s Basics.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
By Bearzx Dive Into Web Introduction To WEB
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
HOW THE WEB WORKS Reference: Learning Web Design (4 th edition) by Robbins 2012 – Chapter 2 (pp. 21 – 32)
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
Web Development Process The Site Development Process Site Construction is one of the last steps.
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
JavaScript and Ajax (Internet Background) Week 1 Web site:
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
Introduction to the World Wide Web & Internet CIS 101.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Overview Web Technologies Computing Science Thompson Rivers University.
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)
CSCI 3100 Tutorial 2 Web Development Tools 1 HTML 5 & CSS 3 1.
CSE541: Web Applications Special Thanks to M. Abdur Rahman.
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.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Web Programming Language
Web Technologies Computing Science Thompson Rivers University
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Developing Web-Based Applications
PHP / MySQL Introduction
Department of Computer Science, Florida State University
HTML5 Level I Session I Chapter 1 - Introduction to Web Development
Introduction to World Wide Web
Web Technologies Computing Science Thompson Rivers University
Web Application Development Using PHP
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

HTTP Request/Response Process 1.Enter URL ( in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com 3.Your browser issues a request for index page at server.com. 4.The request includes the IP address of your computer 5.server.com looks for the web page on its hard disk. 6.server.com returns the web page to your IP address 7.Your browser receives and renders the web page

Client Chrome Web Browser Server Apache Web Server Request with URL and client IP Response with HTML document time Request with URL and client IP

HTTP Procedure with PHP & MySQL 1.Enter URL ( in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com 3.Your browser issues a request for index page at server.com. 4.The request includes the IP address of your computer 5.server.com looks for the web page on its hard disk. 6.server.com notices that the web page has PHP code. 7.server.com invokes PHP interpreter to execute the PHP code. 8.PHP interpreter executes MySQL connect function and query 9.MySQL database returns query results 10.PHP interpreter uses result to generate/output web page 11.server.com returns the web page to your IP address 12.Your browser receives and renders the web page

Client Chrome Web Browser Server Apache Web Server Request with URL and client IP Response with HTML document Database MySQL DBMS Server URL is a PHP program PHP program connects to MySQL Query results are sent PHP program receives results processes them and generates HTML document

3 Layers of a web page Content (not really a layer) – The text, images, audio, and video 1.Structural Layer – HTML elements used to markup content 2.Presentational Layer – CSS code to decorate the HTML elements 3.Behavioral Layer – JavaScript code that can dynamically change anything on the page

Confusion: 3 Layers vs. 3 Tiers Web Page has 3 Layers HTML – Content, structure, semantics CSS – Styles, presentation, layout JavaScript – Interaction, behavior, client-side processing Web Application are implemented with 3 Tiers Client – Web browser, user device, chrome Server – Web server, server-side processing, PHP Database – DBMS, tables that store content, MySQL

Tiers of a web application 1.Client Tier – web browser or HTML rendering engine Sometimes rendering engines are built into other applications. – Responsible for displaying a web page HTML and CSS rendering JavaScript interpreter – Examples: Chrome, Firefox, Safari, Internet Explorer, Opera, web viewer built into Facebook mobile app.

Tiers of a web application 2.Server Tier – The web server, daemon software – Responsible for responding to HTTP requests and server- side processing – Examples: Apache, Microsoft IIS, nginx, Google’s GWS, Java System Web Server, Node JS – Server-side scripting languages: PHP, ASP, JSP, ColdFusion, Ruby, Perl, Python, etc.

Tiers of a web application 3.Database Tier – Database server – Responsible for storing and managing raw content – Examples: MySQL, Microsoft’s SQL Server, Oracle 8i or rDB, IBM’s DB2, PostgreSQL, SQLite, etc.

HTML HyperText Markup Language A simple text document can be “marked-up” with tags to specify how it should be interpreted. Level 1 Header This is a paragraph…

Semantics HTML is supposed to be a structural or semantic language, – Browser Wars led to the introduction of “style” or formatting tags. – Formatting tags have been removed from the HTML standards (called deprecation).

CSS Cascading Style Sheets Used to specify the style/appearance of structural elements (HTML tags). CSS was part of the original design of the web, but it was not widely used during the browser wars.

CSS p { text-indent: 16px; font-weight: bold; } table { border: 1px solid black; }

JavaScript …nothing to do with Java programming languages 1994 Developed by Netscape – called Mocha, LiveScript, and then JavaScript 1995 Microsoft developed Jscript for IE 1996 Standard language called ECMAScript was proposed and eventually adopted by W3C 1999 Most major web browsers followed the ECMA standard, but the name JavaScript stuck.

About JavaScript JavaScript has become a mature application development language. A powerful web server called node.js is implemented with JavaScript and uses it for server-side application scripting. Google’s Chrome browser uses JavaScript to implement many of its UI features. Some recent surveys indicate that JavaScript is the #1 language employers look for on resumes

HTML & Javascript function displayDate() { document.getElementById("demo").innerHTML=Date(); } My First JavaScript This is a paragraph. Display Date

PHP A somewhat popular server-side scripting language – Comes with Apache (popular free web server software) Example: name=demo_loop_forhttp:// name=demo_loop_for PHP stands for P HP H ypertext P re-processor, where – The PHP stands for P HP H ypertext P re-processor, where The PHP stands for P HP H ypertext P re-processor, where – The PHP stands for P HP H ypertext P re-processor, where

MySQL An “almost-free” database management system that integrates nicely with an Apache PHP-enabled web server. Used to be 100% free open source Bought by Oracle (damn!) GNU Public license version which is still free Does not scale up for really huge applications