1. Introduction to Computers and the Internet Outline Introduction History of the Internet Personal Computing History of the World Wide Web Hardware Trends Key Software Trend: Object Technology JavaScript: Object-Based Scripting for the Web C and C++ Java
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16. Microsoft Internet Explorer 6 Outline Introduction to the Internet Explorer 6 Web Browser Connecting to the Internet Internet Explorer 6 Features Searching the Internet Online Help and Tutorials Keeping Track of Favorite Sites File Transfer Protocol (FTP) Electronic Mail Instant Messaging Other Web Browsers
17.
18.
19.
20.
21.
22.
23. Connecting to the Internet Fig. 2.1 Internet Connection Wizard helps configure Internet access. Tutorial button Specify what type of connection to use by clicking one of the option buttons
24.
25.
26. Internet Explorer 6 Features Fig. 2.2 Deitel Website. Back Recent history Forward Stop Refresh Address bar Go Pointer (over a hyperlink) Scroll bars
27. Internet Explorer 6 Features Fig. 2.3 The History menu lists previously visited Web sites. Interactive History window History date options Site from folder Web site folder Click and drag here to resize Content window
28.
29. Internet Explorer 6 Features Fig. 2.4 AutoComplete suggests possible URLs when given a partial address. Partial address URLs
32. Online Help and Tutorials Fig. 2.6 Searching the Internet with IE6. New search Search window Search categories Search words Search button Toolbar
33.
34. Online Help and Tutorials Fig. 2.7 IE6 Help dialog. Help menu Categories
35.
36. Keeping Track of Favorite Sites Fig. 2.8 Favorites menu helps organize frequently visited Web sites. Add/Organize Favorites Favorites Favorites window Site information Organize Favorites dialog
37.
38. File Transfer Protocol (FTP) Fig. 2.9 FTP site access in IE6. FTP address Folders in the FTP directory File Login window
39.
40.
41. Instant Messaging Fig. 2.11 Outlook Express e-mail main screen.. Message list Address book Preview pane Mailboxes Message toolbar items
42.
43.
44.
45. Instant Messaging Fig. 2.12 Buddy list and an instant message. Buddy list Instant message
54. Table 26.1 Data types and subtypes in MIME General binary data (8-bit bytes) Octet-Stream Adobe PostScript PostScript Application Single-channel encoding of voice at 8 KHz Basic Audio Video is in MPEG format MPEG Video Video is in GIF format GIF Image is in JPEG JPEG Image Body is a reference to another message Ext. Body Partial RFC822 Alternative Digest Parallel Mixed Plain Subtype Body is a fragment of a bigger message Body is an encapsulated message Message Parts are different versions of the same message Similar to mixed, but the default is message/RFC822 Same as above, but no order Body contains ordered parts of different data types Multiport Unformatted text Text Description Type
55. Table 26.2 Content-transfer encoding Non-ASCII characters are encoded as an equal sign followed by an ASCII code 6-bit blocks of data are encoded into 8-bit ASCII characters Non-ASCII characters with unlimited-length lines Non-ASCII characters and short lines ASCII characters and short lines Description Base64 Binary 8bit 7bit Type Category
57. Table 26.3 Base64 encoding table 2 1 0 z y x w v u t s Code 63 62 61 60 59 58 57 56 55 Value / + 9 8 7 6 5 4 3 Code 43 42 41 40 39 38 37 36 35 34 33 Value r q p o n m l k j i h Code 54 53 52 51 50 49 48 47 46 45 44 Value V U T S R Q P O N M L Code 32 31 30 29 28 27 26 25 24 23 22 Value g f e d c b a Z Y X W Code 21 20 19 18 17 16 15 14 13 12 11 Value K J I H G F E D C B A Code 9 10 6 7 8 3 4 5 2 1 0 Value
71. Example 2 We show some of the user interface commands that accomplish the same task as in Example 1. The user input is shown in boldface. As shown below, some of the commands are provided automatically by the interface. The user receives a prompt and provides only the arguments. $ ftp challenger.atc.fhda.edu Connected to challenger.atc.fhda.edu 220 Server ready Name: forouzan Password: xxxxxxx ftp > ls /usr/user/report 200 OK 150 Opening ASCII mode ........... ........... 226 transfer complete ftp > close 221 Goodbye ftp > quit
72. Example 3 We show an example of using anonymous FTP. We connect to internic.net, where we assume there are some public data available. $ ftp internic.net Connected to internic.net 220 Server ready Name: anonymous 331 Guest login OK, send "guest" as password Password: guest ftp > pwd 257 '/' is current directory ftp > ls 200 OK 150 Opening ASCII mode bin ... ftp > close 221 Goodbye ftp > quit
89. TCP Segment Format Destination Port Options (if any) Data 1 byte 1 byte Source Port Sequence Number Acknowledgment Number 1 byte 1 byte offset Reser. Control Window Checksum Urgent Pointer
90.
91.
92.
93.
94.
95.
96.
97. SYN ISN= X Client Server SYN ISN= Y ACK= X +1 ACK= Y +1 1 2 3
98.
99.
100.
101.
102.
103.
104.
105. FIN SN= X App1 App2 ACK= X +1 ACK= Y +1 1 2 4 FIN SN= Y 3 ...
132. The Web is always changing Address bar (address is constant, but the content changes) Hyperlinks Print button
133. Uniform Resource Locator (URL) http://www.annex.com/southwest/museum.htm Means of access, HyperText Transfer Protocol Internet Address (Web site) Document Path (Directory or Folder)
134.
135.
136.
137.
138.
139. Popular Web Search Engines http://www.search.com/ http://www.yahoo.com http://www.google.com/ http://www.webcrawler.com/ http://www.askjeeves.com/ http://www.lycos.com http://www.excite.com/ http://www.go.com/ http://www.msn.com/ http://www.altavista.com/
140. Web Site and Saving an Image Choose Save Picture As command Right click picture for context-sensitive menu
141.
142. Returning to a Previous Site History folder Favorites folder
191. Dynamic HTML: Object Model and Collections Outline Introduction Object Referencing Collections all and children Dynamic Styles Dynamic Positioning Using the frames Collection navigator Object Summary of the DHTML Object Model
227. Cascading Style Sheets™ (CSS) Outline Introduction Inline Styles Embedded Style Sheets Conflicting Styles Linking External Style Sheets W3C CSS Validation Service Positioning Elements Backgrounds Element Dimensions Text Flow and the Box Model User Style Sheets Web Resources
279. User Style Sheets Fig. 6.21 User style sheet applied with em measurement.
280. Introduction to XHTML Outline Introduction Editing XHTML First XHTML Example W3C XHTML Validation Service Headers Linking Images Special Characters and More Line Breaks Unordered Lists Nested and Ordered Lists Web Resources
330. Name Server Architecture Zone transfer From disk Master server Zone data file Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process
331. Authoritative Data Query Response Resolver Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process
332. Using Other Name Servers Response Query Query Response Arbitrary name server Resolver Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process
333. Cached Data Query Response Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process Resolver
353. Registries, Registrars, and Registrants Registry Zone DB Registrants End user requests add/modify/delete Registrar submits add/modify/delete to registry Registrar Registrar Registrar Master updated Registry updates zone Slaves updated
393. Example 1 In this example, we use the default mode to show the concept and its deficiencies even though it is almost obsolete today. The client and the server negotiate the terminal type and terminal speed and then the server checks the login and password of the user. See Figure 19.16.
395. Example 2 In this example, we show how the client switches to the character mode. This requires that the client request the server to enable the SUPPRESS GO AHEAD and ECHO options.