Top Banner
Infosys Campus Connect Programme A Practical Training Seminar On Internet Web Technology By Ashish Kumar aka Ashfame CP06023 / 06EJECS022
19

Internet Web Technology

May 17, 2015

Download

Technology

Ashfame

A Practical Training Seminar on "Internet Web Technology"
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Internet Web Technology

Infosys Campus Connect Programme

APractical Training SeminarOnInternet Web TechnologyBy Ashish Kumar aka AshfameCP06023 / 06EJECS022

Page 2: Internet Web Technology

Introduction to Networking & Internet

A,B,C,D P,Q,R,S W,X,Y,Z

A,B,C,D,P,Q,R,S,W,X,Y,Z

Page 3: Internet Web Technology

Internet Service Providers (ISP)

Total Maintenance Cost

$

$$

Cost of maintaining a large network is huge because costs of maintaining small networks add up!

ISP maintains the part of internet and that’s what we pay them for ;)

• 256Kbps• UL

ISP

Router • Usernam

e• Passwor

d User

Page 4: Internet Web Technology

TCP/IP Protocol

User1

User2

User3

Packet Switching• Breaking down data into packets• Labeled with Origin & Destination

Address• Lost ones are re-send

Provides Interoperability

Page 5: Internet Web Technology

TCP/IP Model

Physical Layer

Data Link Layer

Internet Layer

Transport Layer

Application Layer

Page 6: Internet Web Technology

Internet Protocol Address

1

2

34

5

Page 7: Internet Web Technology

IP Addressing Scheme

W X Y Z

{ Network ID } { Host ID }

72.18.130.198

4 Byte Addressing Scheme

W

• 0101000• (72 in binary)

X

• 00100100

• (18 in binary)

Y

• 10000010

• (130 in binary)

Z

• 10010101

• (149 in binary)

Page 8: Internet Web Technology

Domain Name Servers

My website is 72.18.130.198

My website is bbninja.com

My website is Ashfame.com

My website is 72.18.130.198

Difficult to remember IP Addresses

Domain Name Servers translates Domain name to IP Address & vice versa

Page 9: Internet Web Technology

Internet vs. Intranet

Internet

Intranet

•Internet in smaller size•Better Controlled•More Secure

Page 10: Internet Web Technology

Proxy Servers

Proxy Server

Internet

Multiplexing Outbound requestsBetter Bandwidth Management

(Cache)Security for the intranet

Usage Restrictions

Page 11: Internet Web Technology

Firewall

Firewall

Internet

Prevent unauthorized access

Both type – Hardware & Software

Everything is examined with pre-defined rules set

Page 12: Internet Web Technology

URL

Protocol :// Host : Port / Path

•HTTP•FTPProtocol•Ashfame.com•bbninja.comHost•80•21Port•/hire-me/•/documentation/Path

http://www.ashfame.com/hire-me/

http://needaproject.com/download-projects/

Page 13: Internet Web Technology

HTTP Protocol

• Client sends a request• Server sends a response

Simple Request Response Model

• Not Secure

Plain-text Protocol

• Can’t take advantage of repeated visits• No usage is stored

State less Protocol

Page 14: Internet Web Technology

HTTP Request

GET /download/wordpress-plugin.zip HTTP/1.0User_Agent: Mozilla/3.0 GoldAccept: text/plainAccept:text/html

http://blog.ashfame.com/download/wordpress-plugin.zipExample

Initial Line (Method | URL | Protocol Version)

Zero or more Header lines

Blank line

Optional Message Body

Page 15: Internet Web Technology

HTTP Response

GET /download/wordpress-plugin.zip HTTP/1.0User_Agent: Mozilla/3.0 GoldAccept: text/plainAccept:text/html

http://blog.ashfame.com/download/wordpress-plugin.zipExample

Status Line (HTTP version | Status Code | Reason)

Headers lines

Blank line

Optional Message Body

Page 16: Internet Web Technology

HTTP Methods

Get method• Parameters are passed in URL• Example : http://ashfa.me/index.php?

id=45Post Method• Parameters are passed in message

bodyHead Method• Just gets the header information from

the server• Saves bandwidth

Page 17: Internet Web Technology

HTTP Versions

HTTP 1.0• New connection is established on

every request• Server closes the connection once the

data is sentHTTP 1.1• Persistent Connection• Allows server side management even

though HTTP doesn’t support it

Page 18: Internet Web Technology

HTTP Verdict

Advantages• Very simple• Very flexible• Easy & lightweight to implement

Disadvantages• No support for session

management• Less Secure

Page 19: Internet Web Technology

Any Queries

Go on!Ask what you want to!