Web Plans and Dialects.


43 views
Uploaded on:
Category: Business / Finance
Description
These reports are gotten to by web programs and gave by web servers. ... The web server sits tight for the solicitation from the web customers over the Internet. ...
Transcripts
Slide 1

Web Designs & Languages CSC1720 – Introduction to Internet Essential Materials

Slide 2

Outline WWW and Internet Web Server and Web Clients How does the WWW work? Who characterizes the Web benchmarks? Web Programming Languages Markup Languages HTML, WML, XML, XHTML Client-side & Server-side Scripting JavaScript, VBScript, Java Servlets, ASP, JSP All copyrights held by C.C. Cheung 2003.

Slide 3

The World Wide Web Affectionately called " The Web " It is a gathering of data put away on the arranged PCs over the world. The WWW was proposed in 1991 by Tim Berners-Lee at CERN. All copyrights held by C.C. Cheung 2003.

Slide 4

Web or Internet? They are not the same things. The Internet is an accumulation of PCs or systems administration gadgets associated together. They have correspondence between each other. Decentralized outline that there is no unified body controls how the Internet capacities. The Web is a gathering of archives that are interconnected by hyper-joins. These reports are gotten to by web programs and gave by web servers. All copyrights held by C.C. Cheung 2003.

Slide 5

Internet Terminology Client Any PC on the system that solicitations administrations from another PC on the system. Server Any PC that gets demands from customer PCs, forms and sends the yield. Page Any page that is facilitated on the Internet. Web Development The way toward making, altering website pages. All copyrights saved by C.C. Cheung 2003.

Slide 6

Web Browser (Web Client) It is a project that recovers data from the Web. Microsoft Internet Explorer Most normally utilized programs Netscape, Mosaic Many distinctive processing stages Opera The speediest program on Earth Lynx Text based web customer All copyrights held by C.C. Cheung 2003.

Slide 7

Lynx – UNIX based Text mode program, quick! All copyrights saved by C.C. Cheung 2003.

Slide 8

Some Statistics Until July 02 Internet Explorer 6.x 39% Internet Explorer 5.x 51% Internet Explorer 4.x 2% Netscape 3% Others 1% Win98/ME 64% , Win 95 4% WinNT 5% , Win2000 20% MAC 1% , www.thecounter.com All copyrights saved by C.C. Cheung 2003.

Slide 9

Internet Explorer Version 1.0 -August 1995 Version 2.0 -November 1995 Version 3.0 -August 1996 Version 4.0 -October 1997 Support CSS & DOM, yet no XML Version 5.0 -March 1999 Version 5.5 -July 2000 Version 6.0 -August 2001 The most recent form All copyrights held by C.C. Cheung 2003.

Slide 10

Netscape Navigator Netscape 1.0 -December 1994 Netscape 2.0 -March 1996 Netscape 3.0 -August 1996 Netscape 4.0 The most recent one is 4.79 Mozilla Netscape 5.0 -Skipped Netscape 6.0 -November 2000 Netscape 6.1 -August 2001 Netscape 6.2 -November 2001 Netscape 7.0 All copyrights held by C.C. Cheung 2003.

Slide 11

Web Server It is a system that sits tight for solicitations from the web program. It gives four noteworthy capacities Serving website pages Running door programs (CGI) and returning yield Controlling access to the server Monitoring and logging all entrance E.g. Apache, IIS, Netscape Web server, … All copyrights saved by C.C. Cheung 2003.

Slide 12

Web association All copyrights held by C.C. Cheung 2003.

Slide 13

Web Server - Example The URL Where you put your site All copyrights saved by C.C. Cheung 2003.

Slide 14

Web Server Statistics Apache versus MS 6 : 3 All copyrights held by C.C. Cheung 2003.

Slide 15

Which server is running? Look at www.cuhk.edu.hk from netcraft All copyrights saved by C.C. Cheung 2003.

Slide 16

How does the Web work? The web data is put away in the Web pages. In HTML position. The website pages are put away in the PCs called Web servers. In the Web server document framework. The PC perusing the pages is called web customers with particular web program. Most ordinarily Internet Explorer or Netscape. The web server sits tight for the solicitation from the web customers over the Internet. Web Information Server (IIS) or Apache. All copyrights held by C.C. Cheung 2003.

Slide 17

Request Client Response Server The HTTP Request/Response Model HTML Codes <html> … </html> Program/Scripts All copyrights saved by C.C. Cheung 2003.

Slide 18

Valid HTTP Request/Response mesgs Provides extra data HTTP/1.0 200 OK Last-Modified: Mon, 20 Dec 1999 … Date: Tue, 11 Jan 2002 … Status: 200 Content-Type: content/html Servlet-Engine: Tomcat Web Server Content-Length: 59 <html> … </html> GET/index.html HTTP/1.0 Host: www.anyhost.com User-Agent : Mozilla/4.5 [en] (WinNT; I) Accept : picture/gif, picture/jpeg, */* Accept-dialect : en Accept-charset : iso-8859-1, *, utf-8 All copyrights saved by C.C. Cheung 2003.

Slide 19

HTTP ( H yper t ext T ransfer P rotocol) convention used to get to information on the WWW. utilizes one TCP association on understood port 80. two sorts of http messages: Request , Response move information as plain content, hypertext, sound, video, et cetera. All copyrights saved by C.C. Cheung 2003.

Slide 20

HTTP DEMO! All copyrights saved by C.C. Cheung 2003.

Slide 21

Example – Request/Response All copyrights held by C.C. Cheung 2003.

Slide 22

Top-Level Domains Generic area Country code space All copyrights saved by C.C. Cheung 2003.

Slide 23

IP Address Space All copyrights saved by C.C. Cheung 2003.

Slide 24

Who characterizes the Web measures? The Web models are not characterized or setup by the program organizations or Microsoft, however the World Wide Web Consortium ( W3C ). The details frame the Web measures. HTML, CSS, XML, XHTML, … All copyrights saved by C.C. Cheung 2003.

Slide 25

W3C Quoted from W3C\'s long haul objectives for the Web are: Universal Access : To make the Web open to all by advancing innovations that check the unlimited contrasts in society, dialects, instruction, capacity, material assets, and physical constraints of clients on all mainlands; Semantic Web : To build up a product domain that allows every client to make the best utilization of the assets accessible on the Web; Web of Trust : To control the Web\'s improvement with cautious thought for the novel legitimate, business, and social issues raised by this innovation. All copyrights held by C.C. Cheung 2003.

Slide 26

Web Programming Languages The Web is no more simply exhibiting data on a PC screen. Numerous business locales incorporate a few strategies for getting data from a program to web servers. How would you program your site such that it can communicate with individuals? With XML, information from spreadsheets, reports or different applications can be effectively shown on the Web. Can we learn XML without the comprehension of HTML and other Web dialect? All copyrights held by C.C. Cheung 2003.

Slide 27

The History of Markup In the mid 1970s GML (the Generalized Markup Language) " :h1.The Content is put here " Since the 1980s SGML (the Standard GML) HTML Currently XML Not proposed to supplant HTML! XHTML improves information depiction, … All copyrights saved by C.C. Cheung 2003.

Slide 28

SGML, HTML and XML disentangles Meta Language SGML XML characterizes HTML Language XHTML Meta Data XML Definitions Usage of the Language Web pages XML Documents Data All copyrights saved by C.C. Cheung 2003.

Slide 29

HTML H yper T ext M arkup L anguage It is not a programming dialect. Can\'t be utilized to depict calculations. Use to portray the general structure and format of reports to be shown by the program. Make out of " Content " and " Controls " All copyrights saved by C.C. Cheung 2003.

Slide 30

HTML Element/Tag < p adjust = " right " > </p> Element Attribute Name Attribute Value You need to comprehend the imperative terms identified with HTML. Not case-delicate. All copyrights saved by C.C. Cheung 2003.

Slide 31

WML W ireless M arkup L anguage Formerly called HDML (Handheld Devices Markup Languages) Allows the content segments of website pages to be shown on mobile phones or PDAs through remote media. It is a piece of the Wireless Application Protocol (WAP). All copyrights saved by C.C. Cheung 2003.

Slide 32

XML e X tensible M arkup L anguage (XML) It gives a standard approach to speak to data to permit data to be put away and exchanged among any Internet-associated gadgets. It is not a markup dialect. It is a meta-markup dialect that determines rules for making markup dialects. Programs use XML parsers to disconnect and concentrate the data from XML reports. All copyrights saved by C.C. Cheung 2003.

Slide 33

Examples of XML-based dialects All copyrights saved by C.C. Cheung 2003.

Slide 34

XML Transformation Same XML Document HTML WML XSL Transformation StyleSheet 1 (XSL) StyleSheet 2 (XSL) XML Document All copyrights held by C.C. Cheung 2003.

Slide 35

XML Example Reference: HK Weather Forecast All copyrights held by C.C. Cheung 2003.

Slide 36

MathML Example E = mc 2 MathML Presentation Markup Example <mrow> <mi>E</mi><mo>=</mo><mi>m</mi> <msup> <mi>c</mi> <mn>2</mn> </msup> </mrow> All copyrights saved by C.C. Cheung 2003.

Slide 37

XHTML The e X tensible H yper T ext M arkup L anguage A Reformulation of HTML 4 in XML 1.0 Consists all HTML 4.0.1 predefined segments joined with XML measures A method for making XML records that look and act like HTML archives. Utilizing XHTML helps you fortify the structure and linguistic structure of your markup. All copyrights held by C.C. Cheung 2003.

Slide 38

HTML – OK, XHTML - !OK <HTML> <HEAD> <TITLE>My Title</TITLE> <body> </HEAD> <td> It is an adequate HTML, yet an

Recommended
View more...