Technical Lecture Designing the Web How is data transmitted - - PowerPoint PPT Presentation

technical lecture designing the web
SMART_READER_LITE
LIVE PREVIEW

Technical Lecture Designing the Web How is data transmitted - - PowerPoint PPT Presentation

MARCH 31, 2016 Technical Lecture Designing the Web How is data transmitted across networks? What is the di ff erence between the internet and the worldwide web. What is the internet? A network of networks not a single entity with a


slide-1
SLIDE 1

Technical Lecture

MARCH 31, 2016

slide-2
SLIDE 2

Designing the Web

How is data transmitted across networks? What is the difference between the internet and the worldwide web.

slide-3
SLIDE 3

What is the internet?

“A network of networks” no not a single entity with a single owner; a single entity with a single owner; comprises a hierarchy of individual comprises a hierarchy of individual networks that have been connected networks that have been connected to one another. to one another.

slide-4
SLIDE 4

1. The network would not have a central controlling computer.

  • 2. The network should be able to deliver

information between any two computers on the network even if some

  • f the machines in the network had

failed.

Design Factors

slide-5
SLIDE 5

Datagram

When When data, data, such such as as a a pictur picture, e, movie movie or

  • r a

a document document is is sent ent ov

  • ver

er the the int internet, ernet, it it is is not not sent ent as as a a single single chunk.

  • chunk. Ins

Instead ead it it is is split split up up int into

  • small,

small, unif uniformly

  • rmly siz

sized ed block blocks s called alled da datagr tagrams ams, , als also

  • sometimes
  • metimes called

alled pack packets. ts.

slide-6
SLIDE 6

It’s It’s actually actually possible possible to to see see these these datagrams in action, often with h surprising results. surprising results.

http://www.monitis.com/traceroute/

slide-7
SLIDE 7

Websites that receive heavy usage from a particular location might be cached locally ; that is to say, copies of the website’s data might be temporarily stored on a computer closer to the location from which the information is being accessed.

slide-8
SLIDE 8

Why we internet standards?

As you’ve learned, when you send data

  • ver the internet it is sent across several

hierarchies of networks, using different technologies from many different providers and operated by different

  • rganizations.
slide-9
SLIDE 9

The TCP protocol is responsible for ensuring data can be sent reliably over the internet. It works through a number of software ports that act to keep data separate on the same computer – so it is possible to browse a web page, collect email and listen to streaming music at the same time.

TCP (Transmission Control

Protocol)

slide-10
SLIDE 10

port 20 – File Transfer Protocol (FTP) for sending and receiving files port 22 – Secure Shell (SSH) for secure logins to computers port 25 – Simple Mail Transfer Protocol (SMTP) for sending email port 80 – HyperText Transfer Protocol (HTTP) for browsing web pages

Common TCP Port Numbers

slide-11
SLIDE 11

IP (Internet Protocol)

The Internet Protocol does the hard work of actually moving data across the internet. IP is only concerned with moving data, it doesn’t actually check that data actually arrives (that’s handled by TCP).

slide-12
SLIDE 12

IPv4

Most familiar form of IP address consisting of four digits, each ranging from 0 to 255, separated by full stops (periods) in the form 192.168.0.1. IPv4 has long underpinned the internet although it is now in urgent need of replacement due to exhausting available addresses

IPv6

A replacement for IPv4 originally outlined in 1998 to accommodate the increasing demand for IP numbers as more people and devices were connected to the internet. IPv6 can support a theoretical 3.4×1038devices meaning it is suitable for any conceivable demand.

slide-13
SLIDE 13

The internet is not the The internet is not the World-Wide Web! World-Wide Web!

We’ve all done it. We’ve been browsing a website and said ‘I’m on the internet’”.

slide-14
SLIDE 14

The World Wide Web is nothing more than the part of the internet that can be accessed through the HyperText Transfer Protocol (HTTP). HTTP allows two computers to exchange information as a series of requests and responses

slide-15
SLIDE 15

The World Wide Web is an example of hypertext – documents joined together using links. Every time you click on a link, HTTP is used to request a new page from a web server using TCP port 80.

slide-16
SLIDE 16

The World Wide Web was designed from the very start to be an open environment which encouraged people to set up their

  • wn web servers and to write web pages.
slide-17
SLIDE 17

The computer language used to format web documents is HyperText Mark-up Language (HTML)

slide-18
SLIDE 18

When writing HTML, you add "tags" to create the structure. These tags tell the browser how to display the text or graphics in the document.

slide-19
SLIDE 19

JavaScript is a programming language used to make web pages interactive

slide-20
SLIDE 20

HTML tags create objects; JavaScript lets you manipulate those objects.

slide-21
SLIDE 21

AJAX (Asynchronous JavaScript and XML) loads data from the server without a browser page refresh.

slide-22
SLIDE 22

That is, your javascript can send asynchronous requests then use the results of those requests to modify its page

slide-23
SLIDE 23

The only part of AJAX that you need is the XMLHttpRequest object from

  • javascript. This is used to load and

reload small part of your html as a div or any other tags.

slide-24
SLIDE 24

jQuery simplifies HTML document traversing, event handling, animating, and AJAX interactions for Rapid Web Development.

slide-25
SLIDE 25

JSON (JavaScript Object Notation) is a way to store information in an

  • rganized, easy-to-access manner.
slide-26
SLIDE 26

Is Javascript limited to front- end develpment?

slide-27
SLIDE 27

Node.js is built on Google Chrome’s JavaScript Runtime engine called V8. V8 could be used to handle the role of a server side language while taking a d v a n t a g e o f J a v a s c r i p t ’s asynchronicity.