Documente Academic
Documente Profesional
Documente Cultură
Overview
What is the web? What is web application? How does it work? What are the major and latest technologies?
The Internet
An Internet application based on the HTTP protocol A client/server application for information and services
3
Web page: usually refers to a static HTML file, or a dynamically generated HTML document displayed in a browser. Web site: a collection of web pages, applications, etc., that serve a common purpose. Web (based) information system: an information system that utilizes web technologies to deliver information and services, to users or other information systems/applications. Web application: a specific functionality-oriented component that utilizes web technologies to deliver information and services to users or other applications/information systems.
A web information system usually consists of one or more web applications, together with information components and other non-web components. Webware: usually refers to web applications (or programs or software) that directly serves users through web browsers. Web service: A software component that utilizes web technologies to deliver information and services to other applications/information systems.
4
Pre-Web
Internet Applications
Usenet, BBS, Telnet Email, FTP Web P2P Video streaming Instant messaging, VoIP Gaming
Invented by Sir Tim Berners-Lee, 1989 It is a client/server application for information and other services Fundamental elements of the web
Web server Web client: browser Web protocol: HTTP (Hypertext Transfer Protocol) Web address: URL (Uniform Resource Locator) Web content: HTML (Hypertext Markup Language)
7
Web server
HTML Files
HTTP - Response
HTML
A web page is created using HTML, a standard markup language to describe a web document/page using tags (markups)
Browser
Web browser software (web client) knows how to interpret these tags and display them nicely to users (rendering)
Provides an interface for users It understands HTML, scripts and works with other plug-ins
Market share
http://marketshare.hitslink.com/browser-market-share.aspx?qprid=0
http://www.w3.org/History/1994/WWW/Journals/CACM/screensnap2_ 24c.gif
10
Web Server
Web server
Hosts web sites, files (web pages), applications, etc. Processes request from clients (browsers) and send response back to clients Resources on web servers are located by URLs. Web servers are located by the IP address and domain names.
http://news.netcraft.com/ http://www.securityspace.com/s_survey/data/201007/index.html
11
Example
home/about/ is the directory (path) on the server; index.html is the actual file (web page).
http://www.spsu.edu:80/home/about/index.html
http is the protocol www.spsu.edu is the domain; .net is the top level domain
12
HTTP
HTTP (Hypertext Transfer Protocol) is the feature communication protocol for the web
HTTP Request: a message sent to the web server HTTP Response: a message sent by the web server (responded by the server)
Domain
A domain is a name assigned to a server on the Internet. A domain name is divided into several levels starting from the right, and separated by dots .
www.spsu.edu
SPSU is the 2nd level domain.
Top-level domain: a highest level domain that are predefined; usually indicates the type of the site
Created in 1980: .com, .net, .org, .edu, .gov, .int, .mil 2 letter country code: .us, .uk, .jp, .ca, .au, .cn,
A system that provides the conversion between IP addresses and domain names
http://cqcounter.com/whois/
15
http://spsu.edu/index.html
1. Looking for the IP of the domain spsu.edu
DNS server(s)
16
Dynamic Web
Static dynamic
At design time at run time Static HTML files dynamic HTML: a mixture of HTML, scripts, programming codes, executable programs, etc.
HTML
Content source
Single source multiple sources (HTML files, XML files, other files, databases, other websites)
Simple complex
Click and read write/type, choose, move, slide, drag and drop, expand, draw, listen, speak, etc.
Webpage authoring web application development
18
Development
Page style (color, size, position, etc.) and layout Website themes Simple animations
Dynamic content: calendar HTML DOM manipulation: dropdown menu Animations: text animation
Browser plug-ins
Specialized servers
Adding programming capabilities: ASP, ASP.Net, JSP, JSF, Servlet, PHP, ColdFusion, etc. Complementing file systems for content management
Database servers
Dynamic pages/resources
Database populated: news site, portal, product catalog, directory, etc. URL query string: product data Content based on user input: web search, forum post, log in, etc. Mash-up
20
Request
Application Server
Client (Browser)
Response
Generated HTML
Web Server
21
Static HTML
.Net
ASP.Net
Java
Servlet, JSP, JSF, etc.
Other
CGI, Perl, PHP, ColdFusion
www.craigslist.org www.wikipedia.org
Example site
bankofamerica.com ratemyprofessors.com
22
Public websites
E-Commerce: shopping, banking, media, trading, etc. Web search engines Content publishing Web portal E-government, e-Learning
Internal applications
Current Web
Web as a platform/infrastructure
Web 2.0
A general and loose concept for recent advancements of the World Wide Web
24
Web as a Platform
Add-on platform
Web technologies are commonly and intensively used, not just for websites, but for all kinds of application and services. Web applications are no longer separate systems, but are integrated with many other applications.
Separated integrated
Enabling technologies
Matured web application servers and frameworks: .Net, JBoss, SharePoint, DotNetNuke, Drupal, Structs, etc. XML family technologies and XML based application protocols Service Oriented Architecture and web services Cloud computing infrastructure Security infrastructure: SSL, PKI
25
Browser
Middleware
Data Warehouse
Communication Server
Directories
26
Web 2.0
A general and loose concept for recent advancements (roughly from 2005) of the World Wide Web
http://www.zdnet.com/videos/whiteboard/what-is-web20/154425
Human behavior aspect of Web 2.0: massive user participation, contribution, sharing, and collaboration
User generated content: Wiki, blog, video, news, reviews, etc. Social networking Folksonomy (tagging)
27
Rich interface, more responsive and interactive; brings desktop experience to the web
AJAX (Asynchronous JavaScript and XML), Flash, Silverlight Content push: Google Finance In-page navigation (MDI, TDI): Yahoo Mail, Zimbra, Google Docs, etc.
XML (family), RSS, JSON Portal Web services: Amazon Web Services Lightweight Web APIs: Google search API Mash-up: housingmaps.com
28
29
Web client
Web server
Web content
Web protocol
Web URL
30
Summary
Key Concepts
Internet, web Web site, web page, web application, web service Web server, browser HTTP, URL, Domain, IP, DNS, Protocol HTML, DHTML, CSS, XML Client side, server side Multi-tier (n-tier) system, application server ASP.Net, Java (JSP) Web 2.0, API, AJAX
31