1 / 18

WWW and Internet

WWW and Internet. The Internet Creation of the Web Languages for document description Active web pages. Internet. ARPANET – 1970s. Protocols TCP/IP: Transmission Control Program/Internet Protocol - low level Telnet SMTP - Simple Mail Transport Protocol FTP - File Transfer Protocol.

cargan
Download Presentation

WWW and Internet

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WWW and Internet • The Internet • Creation of the Web • Languages for document description • Active web pages

  2. Internet • ARPANET – 1970s. • Protocols • TCP/IP: Transmission Control Program/Internet Protocol - low level • Telnet • SMTP - Simple Mail Transport Protocol • FTP - File Transfer Protocol

  3. Creation of the Web WWW provides a semantic description of the information accessible through the Internet. Server program: to provide the document Client program: to read and display the document. Server and client communicate via HTTP - HyperText Transport Protocol.

  4. Basic Idea WWW is based on the concept of a semantic description language. The power of the system is that the displayed document contains pointers to other documents called hypertext.

  5. URL: Uniform Resource Locator Client program: uses URLs to locate documents and display in the web browser A database of addresses and names is maintained by a Domain Name Server.

  6. Other programs Search engines – allow user to query site for desired information Web crawlers – crawler trace all links on a Web page to find other Web pages

  7. WEB NAVIGATION

  8. Languages for documentdescription SGML: Standard Generalized Markup Language HTML – HyperText Markup Language XML – Extensible Markup Language

  9. SGML SGML uses descriptive tags. DTD –document type declaration, describes the elements What is described: -      Document presentation (e.g. boldface, italics) -      Document structure (text split into divisions, chapters, paragraphs, etc) -      Document history (author, revisions, etc)

  10. HTML • HTML creates a virtual machine that web browsers are programmed to execute. • Important elements- • Sections – Separate parts of a document • Presentation – How documents look. • List – Lists of items • URLs – links to other web pages • Image URLs – displays pictures

  11. XML An instance of SGML. Incorporates many features of HTML. Uses DTD to describe the semantics of the document.

  12. Active web pages • Forms and CGI scripts • Java Applets

  13. Forms and CGI scripts • Forms – Method to pass information between Web browsers and Web servers. • Information is entered by the user and then passed for processing to a program on the server system • CGI (Common Gateway Interface) scripts - programs that process the information

  14. HTML forms <form method=“type” action= “location of cgi script to execute”> text </form> Perl is often used as language for such scripts

  15. Java Applets Issue: Overloaded server Solution: Do more processing on client side of web JAVA APPLETS

  16. Java applets • Run on the client machine • Java programs compiled into a machine independent code – bytecode for JavaVirtual machine. • Browsers on local systems have Java Virtual machine interpreter

  17. Java Applet Example import java.awt.*; /* applet library */ public class hello extends java.applet.Applet public void paint(Graphics x) {x.drawString(“Hello World”, 100, 100);} Displayed by: <html><body> <applet code = “hello.class” width=200 height=200> </applet> </body></html>

More Related