Tuesday, 10 May 2016

Tutorial 2

 1.      Write a post discussing the following:
                 (i)            Discuss TCP/IP protocol.
Transport Control Protocol: Transmission control protocol (TCP) is a network communication protocol designed to handles data packets over the Internet. Besides, Transmission Control Protocol is one of the most used protocols in digital network communications and is part of the Internet protocol suite, commonly known as the TCP/IP suite.  

Internet Protocol (TCP/IP): Internet Protocol (IP) is the principal set (or communications protocol) of digital message formats and rules for exchanging messages between computers across a single network or a series of interconnected networks, using the Internet Protocol Suite (often referred to as TCP/IP). Messages are exchanged as datagrams, also known as data packets or just packets. IP is the primary protocol in the Internet Layer of the Internet Protocol Suite, which is a set of communications protocols consisting of four abstraction layers: link layer (lowest), Internet layer, transport layer and application layer (highest).  

              (ii)            Differentiate server side code and client side code. List AT LEAST THREE (3) differences.
Server side code: There are several server-side technologies that can be used when developing web applications. Server-side processing is used to interact with permanent storage like databases or files. The server will also render pages to the client and process user input.  Server-side processing happens when a page is first requested and when pages are posted back to the server. Examples of server-side processing are user validation, saving and retrieving data, and navigating to other pages.
Client side code: Client side development is done almost exclusively in JavaScript. The reason JavaScript is called a client side language is because it runs scripts on your computer after you’ve loaded a web page. In contrast to server-side code, client-side scripts are embedded on the client’s web page and processed on the client’s internet browser. Client-side scripts are written in some type of scripting language like JavaScript and interact directly with the page’s HTML elements like text boxes, buttons, list-boxes and tables. HTML and CSS (cascading style sheets) are also used in the client. In order for client-side code to work, the client’s internet browser must support these languages.

                  (iii)            Differentiate THREE (3) network scopes.
Internet: The internet is a global network of interconnected networks, connecting private, public and university networks in one cohesive unit.
Intranet: An intranet is a private enterprise network that uses internet and web technologies for information gathering and distribution within an organization.
Extranet: An extranet is a community of interest created by extending an intranet to selected entities external to an organization.