Chengyu Sun California State University, Los Angeles

Slides:



Advertisements
Similar presentations
1 CGICGI Common Gateway Interface Server-side Programming Lecture.
Advertisements

PHP syntax basics. Personal Home Page This is a Hypertext processor It works on the server side It demands a Web-server to be installed.
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
1 Software Testing and Quality Assurance Lecture 32 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
Web Client/Server Communication A290/A590, Fall /09/2014.
مقدمه ای بر طراحی صفحات وب. 2 Web Components  Clients and Servers  Internet Service Providers  Web Site Hosting Services  Domains Names, URL ’ s and.
How the Web Works. WWW – part of the Internet (others: , FTP, Telnet) Loaded to a Server | Viewed in a Browser (Client) Client: Request & Render.
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.
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
Lectures and Practicals Mon 8-10 SC1222 TUE SC1222 Office: SC Website: mis.csit.sci.tsu.ac.th/kanida.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Understand the components of a browser and a server Understand.
Introduction to Internet Programming (Web Based Application)
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
WEB SCIENCE. What is the difference between the Internet and the World Wide Web? Internet is the entire network of connected computers and routers used.
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.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Albert F. Cervantes, M.S. California State University, Los Angeles
The Internet What is the Internet? The Internet is a lot of computers over the whole world connected together so that they can share information. It.
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)
CS320 Web and Internet Programming Introduction to Web Application Development Chengyu Sun California State University, Los Angeles.
I NTRO TO W EB TECHNOLOGY Basic terms. C LIENT – S ERVER M ODEL a distributed communication between service requestors and service providers.
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
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.
4.01 How Web Pages Work.
CX Introduction to Web Programming
Introduction to Internet Programming (Web Based Application)
Understanding Web Server Programming
Web Programming Language
Distributed Control and Measurement via the Internet
Chapter 10: Web Basics.
Web Technologies Computing Science Thompson Rivers University
IS1500: Introduction to Web Development
Chengyu Sun California State University, Los Angeles
Introduction to Dynamic Web Programming
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
WWW and HTTP King Fahd University of Petroleum & Minerals
What is WWW? The term WWW refers to the World Wide Web or simply the Web. The World Wide Web consists of all the public Web sites connected to the Internet.
Warm Handshake with Websites, Servers and Web Servers:
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Dongwon Lee, Ph.D. IST 516 Fall 2011
Introduction Web Environments
Web App vs Mobile App.
CS5220 Advanced Topics in Web Programming Course Overview
Web Development How the Web Works.
Chapter 27 WWW and HTTP.
CMP Creating Your Personal and Small Business Web Sites
HTML5 Level I Session I Chapter 1 - Introduction to Web Development
Web Page Concept and Design :
Chengyu Sun California State University, Los Angeles
Lecture 1 Kanida Sinmai
Chengyu Sun California State University, Los Angeles
BOF #1 – Fundamentals of the Web
INFS 230 L Internet Technology
Web Technologies Computing Science Thompson Rivers University
4.01 How Web Pages Work.
CS5220 Advanced Topics in Web Programming Course Overview
Web Servers (IIS and Apache)
Web Application Development Using PHP
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

Chengyu Sun California State University, Los Angeles CS3220 Web and Internet Programming Introduction to Web Application Development Chengyu Sun California State University, Los Angeles

Browsing the Web

How the Web Works Browser HTTP Server Client Server HTTP request HTTP response Client /var /www /html cs3220.html Server

Browser and HTTP Server Chrome Internet Explorer (IE) Safari Firefox … HTTP Server NGINX Apache Internet Information Server (IIS) …

HTTP HyperText Transfer Protocol Specifies how the client and the server communicate with each other, i.e. requests and responses

URL Uniform Resource Locator – the address of a web resource http :// sun.calstatela.edu /cs3220.html Protocol Host name or IP address of the server Path

From Path to File NGINX Configuration in sites-available/default root /var/www/html Map a path in URL to a path on disk location ~ … Map special URL paths that start with a ~

More About URL “File” Protocol Port number and default port number file:///C:/CS3220/cs3220.html Port number and default port number http://sun.calstatela.edu:8080/cs3220.html Directory index and directory listing http://sun.calstatela.edu/cs3220/ Root path http://sun.calstatela.edu/ http://sun.calstatela.edu User directory URL mapping http://sun.calstatela.edu/~cysun/index.html

HTML HyperText Markup Language <html> <head><title>CS3220</title></head> <body> <h2>Welcome to CS3220!</h2> </body> </html>

Access Static Web Content User specify a URL Based on the URL, browser sends an HTTP request to a server Based on the path component of the URL, server locates a file on disk and send it back to the client in an HTTP response Browser displays the file The file must be pre-created and cannot be changed based on the user request  static

Dynamic Content Web search results Shopping cart … Anything that need to be generated on the fly based on user request

Deliver Dynamic Content Browser Application Server HTTP request HTTP response input output Client program Server

A Little Terminology HTTP Server Application Server Web Server Servlet Container Web Server

Web Application Browser Application Server Client Server HTTP request Client-side program HTTP response input output Client Service-side program Server

Server-side Technologies CGI Java ASP.NET PHP JavaScript Ruby Python old mainstream new other

Client-side Technologies HTML, CSS JavaScript Java Applet Rich Internet Application (RIA) technologies JavaFX Adobe Flex and Flash Microsoft Silverlight

Why Web Applications? Take traditional businesses to larger audience Amazon, Netflix Replace desktop applications (and more) Google Docs, MS Office Live Open up new opportunities Facebook, Twitter, Youtube

Advantages of Web Applications Low publishing and distribution cost Potentially large user base Centralized administration No client side installation Professional maintenance and security Easy data backup Easy upgrade Easy user collaboration Available anywhere, anytime Piracy proof