Web Authoring
  Home arrow Web Authoring arrow Page 3 - Dreamweaver MX 2004: Your Connection to th...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB AUTHORING

Dreamweaver MX 2004: Your Connection to the Internet
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 11
    2004-07-19

    Table of Contents:
  • Dreamweaver MX 2004: Your Connection to the Internet
  • File Transfer Protocol and the World Wide Web
  • TCP/IP
  • Hypertext Transfer Protocol
  • Hypertext Markup Language (HTML)
  • Understand Data-Driven Web Application Components
  • Install Dreamweaver MX 2004
  • Web Servers
  • Choose Server Technologies
  • JavaServer Pages, PHP, and ColdFusion MX
  • Install and Configure Microsoft Internet Information Services
  • Installing and Using Internet Information Services
  • Understand the Components of an IIS Installation
  • The Default Web Site
  • The Default SMTP Server
  • What to Take Away from this Module

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Dreamweaver MX 2004: Your Connection to the Internet - TCP/IP


    (Page 3 of 16 )

    A key component of the infrastructure of the Internet is the communications protocol over which it operates. Actually a suite of protocols, known as TCP/IP, is the several-tiered method by which data is packaged and sent across the wires that connect the world’s computers together. It is made up of the Transmission Control Protocol and the Internet Protocol.

    Internet Protocol

    Although IP comes after TCP in the name of the protocol, IP is the communications core that makes the Internet work. You have likely heard of IP addresses, those sets of numbers separated by dots that are assigned to each host computer and domain on the Net (for example, 208.43.51.78). The Internet Protocol utilizes that numbering scheme to determine the path it should take across the routers and hosts that make up the Internet to reach the destination it is intended for. When you make a connection to a computer somewhere out on the Web, you are, in reality, connecting to any number of other computers and routers that forward your request in the most efficient way they can determine, given the millisecond they have to think about it. If you are interested to see how your requests are being routed, you can use the tracert (trace route) utility from a command prompt on your computer to see the connections, or hops, your request makes as it travels to the destination you provide (see Figure 1-1).

    Dreamweaver MX 2004 Your Connection to the Internet

    Figure 1-1  Running tracert to www.communitymx.com
    returns a number of stops along the way.

    Now, given that this is the way the Internet works, with each request you make being forwarded through a number of stops, consider what must happen when you download a large Web page, or even a 15MB program from a shareware site. Without the IP protocol, it might be necessary for the entire file to be copied to each node along the way until it reaches your computer. That could involve as many as 30 or more copies of the same file, depending on where you and your destination site are located. Thanks to IP, your request and the response for the computer at the other end can be split up into small packets of data that travel easily across the network, following the most efficient path each of them can find.

    NOTE  A number of things can affect the route a packet takes across the Internet, includingbottlenecks and outages along the way. The ability of IP to dynamically route aroundthese problems is a key factor in the stability of this kind of distributed network.

    Consider how you might get a group of 12 friends across town to the movies. Unless one of you owns a bus, you would probably split up into three cars and head off for the theater. Perhaps one of the drivers likes the expressway, another knows a “shortcut,” and the third doesn’t have enough change for the tolls and popcorn and takes the normal route. Three cars are all taking different routes to the same destination, and they are all liable to encounter things along the way that might speed their travel (such as no line at the toll booth) or slow them down (such as a wreck along the shortcut). Although each car leaves one after the other, there is no guarantee in what order or in what timeframe they might arrive at the theatre. One car might not even make it at all.

    To make the point more clearly, suppose you order a book from Barnes and Noble, and, instead of shipping you the entire book at once, they send the individual pages by different carriers with no page numbers. When and if you receive all the pages (and how would you know if you did?), you would be hard-pressed to get them back together in an order that’s useful. This is pretty close to what happens to a file that is being transmitted across a network by the IP protocol alone. IP needs some help to make sure that things end up where they belong. That help comes from the Transmission Control Protocol.

    Transmission Control Protocol

    The Transmission Control Protocol (TCP) is like the big stack of envelopes the shipping clerk at Barnes and Noble would use to send you all the pages of the book you ordered. Each envelope would be numbered in order and would indicate the total number of envelopes in the sequence—for example, 36 of 1,008. Each envelope would also give some indication of what was on the page inside so you could make sure you got the right one. Using this scheme, you could receive all the envelopes, put them back in order, and make sure you received what the store meant to send you. Then you could call Barnes and Noble and yell at them for sending you a book in such a stupid way.

    But that’s the way it has to work on the Web. Each packet created by the IP protocol is packaged up, numbered, and labeled so the receiving computer knows what to do with it. If the receiving computer is missing any packets, it knows to send back for them from the sending computer. Also, the TCP information indicates what the packet should contain so the receiving computer can identify corrupted data.

    Together, the two protocols within TCP/IP provide the communications basis on which the Internet is built. But it can really only handle the connection between the computers over which the requests and responses of information are sent. Those actual messages are handled by the Hypertext Transfer Protocol.


    This chapter is from Dreamweaver MX 2004: A Beginner's Guide, by Tom Muck and Ray West (McGraw-Hill/Osborne, 2004, ISBN: 0-07-222996-9). Check it out at your favorite bookstore today.

    Buy this book now.

    More Web Authoring Articles
    More By McGraw-Hill/Osborne


     

    WEB AUTHORING ARTICLES

    - Yahoo Pipes: Worth a Look
    - Completing an EAR
    - Building and Deploying an EAR
    - New Nuke Security Sentinel: Worth Taking a C...
    - Administering Your CMS-Based Web Site
    - What You Need to Know Before Using a CMS
    - Introducing the Google Maps API
    - An Overview of the Yahoo User Interface Libr...
    - Basic configuration of osCommerce, concluded
    - Basic configuration of osCommerce, continued
    - Basic configuration of osCommerce
    - Deploying your Site with PHPEclipse, continu...
    - Deploying your Site with phpEclipse
    - Macromedia Captivate Review
    - Macromedia and Adobe Planning to Tie the Knot







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek