• No results found

Web Development. How the Web Works 3/3/2015. Clients / Server

N/A
N/A
Protected

Academic year: 2021

Share "Web Development. How the Web Works 3/3/2015. Clients / Server"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

1

Web

Development

How the Web Works

How the Web Works

WWW – part of the Internet (others: Email, FTP, Telnet)

Loaded to a Server | Viewed in a Browser (Client)

Client: Request & Render Content 

Browsers, mobile devices, screen readers

Server (server software): Applications that deliver web content 

or services – HTTP, FTP, mail servers (POP), DB servers, name 

servers (DNS), application servers (PHP) 

Clients   /  Server

How the Web Works

Browsers

Browser Components: Browser UI | Internal  Engine | Rendering Engine | Networking |  Data Storage | JavaScript Interpreter

TRIDENT GECKO PRESTO WEBKIT BLINK

RENDERING ENGINES Developed by Microsoft: Internet Explorer, Windows Mobile, AOL Open Source Originally developed by Netscape: Mozilla Firefox Firefox OS Developed by Opera (now using BLINK):

Opera Opera Mobile

Open Source Developed by Apple,

Google, Nokia: Safari, Android and

many other mobile browsers Based on Webkit Developed by Google: Chrome Opera 14+ Android 4.4+

(2)

How the Web Works

Basic Web Server

Computer running server software that can handle 

HTTP requests

Popular Server Software Options ‐Apache (open source) ‐Microsoft Internet Information Services (IIS)

Other Servers

Other Server Applications that deliver web content or services ‐ FTP, mail servers, DB servers, name servers, application servers  Web Stack:  Operating System | Web Server | Database Server | Programming Language Ex: LAMP: Linux | Apache | MySQL | PHP

Server

WWW / Web docs ‐ Based on HTTP | HYPERTEXT  | HTML

HTTP: Hypertext Transfer Protocol

The protocol or rules that specify how information is 

requested and sent between web server and client

(Protocol: Standardized format for transferring data between  devices – Others: FTP, SMTP (Simple Mail Transfer Protocol), POP (Post Office Protocol) RTP  (real‐time Transfer Protocol) –video) HTTP Client HTTP Server

(3)

3

How the Web Works

DNS

URL: http://www.uwm.edu 129.89.43.225 129.89.43.225 Hosting Server HTML | JS | CSS | JPG | GIF Some types of files will require  server‐side processing (php,  .net, coldfusion) before page is  rendered in browser

How the Web Works

DNS

URL: http://www.uwm.edu 129.89.43.225 129.89.43.225 Hosting Server HTML | JS | CSS | JPG | GIF SQL database (triggered by extension‐ .cfm, .aspx, .php ,net)

Client: requests & renders content (browsers, mobile devices, screen readers)  •Web Servers: Configured to detect file type 

(does it need processing) dispatch request to application  server(triggered by extension‐ .cfm, .aspx, .php ,net)

Application Servers: talks to DB, generates response and  returns info to web server. (compiles all elements and nodes needed from DB) •Application Servers: Adobe Coldfusion (Java Based web application); Microsoft Active Server Pages &  ASP.Net; PHP (free, open source); Ruby On Rails •Example ‐ ColdFusion based CMS Website Written in ColdFusion Markup Language (CFML)‐ running on server & HTML, CSS, JavaScript or JQuery – executed in the browser

Dynamic Content

How Dynamic Web Content Works

(4)

Dynamic •Present different content based on which users  are accessing the page •Create pages populated with content from a  database •Build shopping carts •Process forms

Static vs. Dynamic Content

URL – Uniform Resource Locator

1. Protocol: http:// Tells the browser that its using Hypertext Transfer Protocol 2. Domain Name (resource name): www.sois.uwm.edu Indicates the server that the browser should connect to www=subdomain uwm=domain  edu = top‐level domain 3. Pathname 4. Filename

Folder Structure & Path Names

Another Example: http://www.sois.uwm.edu/academics/graduate/mlis.html Browser will find the SOIS server (domain): www.sois.uwm.edu Open the folder called: academics Find and open the folder called: graduate And retrieve and display the file called: mlis.html (www= default subdomain on most web servers) server

(5)

5

Index??

Significance of “index”

Often the default filename a browser will look for if no 

filename is provide.

http://www.sois.uwm.edu/EPub/spring

retrieving a file called “index.html” in the spring folder

Software associated with web development

Web page authoring

(Dreamweaver, Nvu)

HTML editors 

(NotePad, TextEdit, BBEdit, jEdit)

Graphics software 

(Adobe Photoshop (elements); Adobe Fireworks; Adobe  Illustrator; Corel Paint Shop Pro, GIMP)

Multimedia tools 

(Adobe Flash; QuickTime and iMovie; Apple Final Cut Pro;  Windows Movie Maker; Adobe After Effects; Sony Sound Forge; Audacity)

Internet tools  

(browsers, mobile browsers, ftp programs)

Content Management Systems

Web

Tools

“Server‐side software that is designed to simplify the 

creation and maintenance of sites. These systems 

manage online content, generate web pages, and 

allow users to upload and change content without 

requiring technical expertise”

CMS

– CONTENT MANAGEMENT SYSTEM CMS Fundamentals http://www.lynda.com/course20/Business‐Online‐Marketing‐SEO‐tutorials/ CMS‐Fundamentals/74535‐2.html?org=uwm.edu

(6)

Content Management Systems

•Resources •http://www.cmsmatrix.org •http://cmsreport.com •http://www.backendbattles.com/ http://www.lynda.com/Drupal‐6‐tutorials/essential‐training/620‐2.html

CMS

– CONTENT MANAGEMENT SYSTEM

DATABASE

WEB CONTENT STORED IN DATABASE re‐used, re‐purposed, published in  multiple places – as needed

ADMIN

AUTHORING  ENVIRONMENT ONLINE Input, upload, edit content TEMPLATES Input, upload, edit content

TEMPLATES

CMS

– CONTENT MANAGEMENT SYSTEM

USERS

FUNCTIONALITY

MANAGE PERMISSIONS site administrators, publishers,  editors, authors, contributors ADVANCED FUNCTIONS blogs, e‐commerce,  calendars, widgets 

(7)

7

Ease of Use*

•Ability to update content without technical knowledge  (Web‐based editor) •Site‐wide editing and modifications •Speed up site development •Add advanced functionality

Multiuser/Levels of Permission

•Control over editing and publishing of content & content  updates by content owners (edit, review and/or publish  based on role and authority) •Admin, Author, Contributor

CMS

Benefits

Consistency

•Consistency in content presentation  (templates & style sheets) •Modular page elements •Ability to manage versions of the content (version control) •Scheduling

Extensible

•Ability to repurpose content across a large site or multiple  sites •Nodes / Page Elements(move & arrange) •Modules •Page View (collected & generated)

CMS

Benefits

Content Management Systems (CMS)

CommonSpot

Paper|Thin

(http://www.paperthin.com/)

ColdFusion‐based CMS

Education Customers

Cornell University, Kent State, Stanford, Savannah College of Art & Design UW‐Milwaukee (http://www.paperthin.com/customers/University‐of‐Wisconsin‐Milwaukee.cfm)

References

Related documents

Firstly, the conversion of a non-stock educational institution into a stock corporation is not legally feasible. Pursuant to Section 87 of the Corporation Code,

Using gene expression profile data from the Gene Expression Omnibus database, we identified differentially expressed genes that can contribute to the pathology of CAD..

Feasibility study of one promotion in Jeddah, Kingdom of Saudi Arabia and most important cultural differences with the western society.. Feasibility study of one promotion in

Use the following list of answers to assess an employee’s performance on safety quizzesA. Please note that the quizzes are ordered alphabetically

In 2017, the level of non-performing loans relevantly declined to 3.71 per cent of gross total loans, thanks to the initiatives promulgated by European Institutions in order

1.4 Understand Client-server Architecture, Browsers, Server Software 1.5 Web Browsers: Internet Explorer, Mozilla FireFox, Google Chrome 1.6 Discuss Server Software: PWS, IIS, Java

Secure fi le transfer over HTTP (HTTPS) that supports single port (440) access by Web browsers (including Firefox, Internet Explorer, Mozilla, Netscape, Opera, and Safari) as well

caliper correction hole SH2 indicating variations in hole diameter; (b) porosity calculated from the density log before removing the anomalously low values caused by poor bore-