SlideShare a Scribd company logo
Web Fundamentals 4 th  September 2007 WWW, Internet, and other weird stuff
This is not a presentation  But more of a Discussion Maximum questions  Maximum answers (if possible) You are allowed to sleep You will get a copy of these slides But slides are less important. Exercises will be there
What is Internet? Internet is a global network of smaller networks. Internet is the largest network. It is owned by NOBODY Smaller network: 1-1000 computers Satellites, Submarine Optical cables Backbone The biggest name is Cisco
What is (the) Web? You mean World Wide Web? Collection of interlinked hypertext documents.  That means Hyperlinked documents Hyperlinks? URL
HTTP? HTTP is an application level protocol for transferring data through WWW. Hyper Text Transfer Protocol HTTP 0.9  /  1.0  /  1.1  /  1.2 HTTPS (S for Secure) HTML – Header, content.  They say HTTP is stateless.
DNS DNS is like post office Some post offices will be knowing some addresses DNS servers will have addresses like this www.google.com  => 64.67.33.200 Multiple Name servers for reliability
Domain Name Netkode.com Mail.netkode.net Abc.mail.netkode.net http://mail.netkode.net/ http://mail.netkode.net:80/ http://mail.netkode.net:80/inbox/index.jsp Port
A simple web request Browser Name Server Internet Web Server IIS, Apache, Lighttpd etc. BIND, PowerDNS, djbdns HTTP Response DNS Lookup http://bookmarks.rediff.com/recent/ bookmarks.rediff.com => 210.210.93.86
Cookies Comes in different flavors Through HTTP Headers Persistent Cookie Session Cookie Secure Cookie HTTP Only Cookie 3 rd  Party Cookie
How Cookies work? 2) Response from Web server 3) 2 nd  request from browser 1) Request from Browser GET /index.html HTTP/1.1 Host: bookmarks.rediff.com HTTP/1.1 200 OK Content-type: text/html Set-Cookie: name=value; expires=date; path=/; domain=.rediff.com     (content of page)  GET /popular/ HTTP/1.1 Host: bookmarks.rediff.com Cookie: name=value Accept: */* expires=Fri, 31-Dec-2027 23:59:59
Session One type of state management mechanism A number of continuous request response sequences. The key is called SESSIONID PHPSESSID, ASPNETSESSIONID, jsessionid, SESSION_ID, mySESSID GET /popular/ HTTP/1.1 Host: bookmarks.rediff.com Cookie: PHPSESSID=4dy1q2e3d44c5dj343s3aq9
Moral of the story Programming languages are like religions All say same things Pray to same gods Keep up your spirits
Session Security Session id is like your browser’s password ‘non-guessable’ session id- even you can’t Random numbers? ‘Yet to solve’ mathematical problem. X is your ultra top secret algorithm. X sessionid CPU temperature Current date time Other junk stuff
Session Security And this algorithm can be as simple as MD5 or SHA1  These are called random hash code Irreversible id => pseudo random id Irreversible (only theoretically)
Forms Method for data transfer from client to server (part of HTTP methods) GET and POST GET Through URL Limited data POST – through HTTP Headers More (complex) data
HTTP Error codes 1xx – Informational 2xx – Success 200 OK 3xx – Redirection 304 Not Modified 4xx – Client Error 404 Not Found 5xx – Server Error 500 Server Error
Multi Tier App  Web Server Internet Web Server - Static File Serving - Caching - Proxying Database Server - Storage of Data - Retrieval - Some Biz logic Database Server Application Server App Server - Biz Logic - Processing - Modifying Data J2EE, ASP.NET, PHP, RoR, Python Apache/TomCat, IIS, lightTPD MS SQL, MySQL, Oracle
Simple Question Netkode.com is hosted on 64.64.1.7 IP Will  http://www.netkode.com Or http://64.64.1.7/  will load the page faster?
Believe me 3 Tier Architecture is  NOT  MVC (Model View Controller) Multi tier is an architecture concept MVC is a software design concept Excuse me. MVC?
MVC Presentation – View Logic – Controller Business Objects - Model
Which all are valid URLs http://cnn_india.com/index.asp https://cnnindia.com:8080/ http:// cnnindia.in /news 2007.asp http://wwww.cnn-india.co.in/
More Questions?
Thank You

More Related Content

What's hot (20)

PPT
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
 
PPTX
Web development using javaScript, React js, Node js, HTML, CSS and SQL
Jayant Surana
 
PPTX
HyperText Transfer Protocol (HTTP)
Gurjot Singh
 
PDF
Android Telephony Manager and SMS
Jussi Pohjolainen
 
PPT
Php Presentation
Manish Bothra
 
PPTX
Php.ppt
Nidhi mishra
 
ODP
The Full Stack Web Development
Sam Dias
 
PPTX
HTTP request and response
Sahil Agarwal
 
PDF
WEB I - 01 - Introduction to Web Development
Randy Connolly
 
PDF
Bootstrap
Jadson Santos
 
PPTX
Front-end development introduction (HTML, CSS). Part 1
Oleksii Prohonnyi
 
PPTX
Web technologies lesson 1
nhepner
 
PPTX
Front end web development
viveksewa
 
PPTX
PHP
Steve Fort
 
PPT
Introduction to CSS
Amit Tyagi
 
PPTX
Introduction to Android and Android Studio
Suyash Srijan
 
PDF
Modern Web Development
Robert Nyman
 
PDF
How the Web Works
Randy Connolly
 
PPTX
Event In JavaScript
ShahDhruv21
 
PPT
Web Application Introduction
shaojung
 
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
 
Web development using javaScript, React js, Node js, HTML, CSS and SQL
Jayant Surana
 
HyperText Transfer Protocol (HTTP)
Gurjot Singh
 
Android Telephony Manager and SMS
Jussi Pohjolainen
 
Php Presentation
Manish Bothra
 
Php.ppt
Nidhi mishra
 
The Full Stack Web Development
Sam Dias
 
HTTP request and response
Sahil Agarwal
 
WEB I - 01 - Introduction to Web Development
Randy Connolly
 
Bootstrap
Jadson Santos
 
Front-end development introduction (HTML, CSS). Part 1
Oleksii Prohonnyi
 
Web technologies lesson 1
nhepner
 
Front end web development
viveksewa
 
Introduction to CSS
Amit Tyagi
 
Introduction to Android and Android Studio
Suyash Srijan
 
Modern Web Development
Robert Nyman
 
How the Web Works
Randy Connolly
 
Event In JavaScript
ShahDhruv21
 
Web Application Introduction
shaojung
 

Viewers also liked (10)

PDF
Web Fundamental
SiliconExpert Technologies
 
PDF
Web Architectures
Fulvio Corno
 
PPT
Finding more people like you
arunv
 
PDF
Fundamentals of Web for Non-Developers
Lemi Orhan Ergin
 
PPT
HTTP Basics
sanjoysanyal
 
PPT
Basic computer fundamentals
James Macalalad
 
PPTX
WORLD LITERATURE: A Brief Introduction
MYDA ANGELICA SUAN
 
PDF
Fundamentals of Web Development For Non-Developers
Lemi Orhan Ergin
 
PPTX
Operating system overview concepts ppt
RajendraPrasad Alladi
 
Web Architectures
Fulvio Corno
 
Finding more people like you
arunv
 
Fundamentals of Web for Non-Developers
Lemi Orhan Ergin
 
HTTP Basics
sanjoysanyal
 
Basic computer fundamentals
James Macalalad
 
WORLD LITERATURE: A Brief Introduction
MYDA ANGELICA SUAN
 
Fundamentals of Web Development For Non-Developers
Lemi Orhan Ergin
 
Operating system overview concepts ppt
RajendraPrasad Alladi
 
Ad

Similar to Web Fundamentals (20)

PPT
Web Fundamentals
SiliconExpert Technologies
 
PDF
446-FUNDAMENTALS OF WEB FOR NON DEVELOPERS (Useful-Knowledge)
nrvalluri
 
PPTX
INTERNET PART1.pptx
BhoopendraKumar38
 
PPT
Class 1 - World Wide Web Introduction
Ahmed Swilam
 
PPT
Introduction To Web Technology
Arun Kumar
 
PDF
Understanding computer networks
UC San Diego
 
PDF
Unit v
APARNA P
 
PPTX
Lec 01 Introduction.pptx
AhmadMahmood62
 
PPTX
Introduction to Web Architecture
Chamnap Chhorn
 
PPTX
Web design - How the Web works?
Mustafa Kamel Mohammadi
 
PPT
21 Www Web Services
royans
 
PPT
Presentation (PPT)
webhostingguy
 
KEY
Webapp security testing
Tomas Doran
 
KEY
Webapp security testing
Tomas Doran
 
ODP
Basic's of internet
Poovarasan Shanmugasundaram
 
PDF
CNIT 129S: Ch 3: Web Application Technologies
Sam Bowne
 
PPT
Presentation (PowerPoint File)
webhostingguy
 
PPT
Presentation (PowerPoint File)
webhostingguy
 
PPTX
Unit 1 introduction to web programming
zahid7578
 
PPTX
Basic concept of internet
Snehal Shahane
 
Web Fundamentals
SiliconExpert Technologies
 
446-FUNDAMENTALS OF WEB FOR NON DEVELOPERS (Useful-Knowledge)
nrvalluri
 
INTERNET PART1.pptx
BhoopendraKumar38
 
Class 1 - World Wide Web Introduction
Ahmed Swilam
 
Introduction To Web Technology
Arun Kumar
 
Understanding computer networks
UC San Diego
 
Unit v
APARNA P
 
Lec 01 Introduction.pptx
AhmadMahmood62
 
Introduction to Web Architecture
Chamnap Chhorn
 
Web design - How the Web works?
Mustafa Kamel Mohammadi
 
21 Www Web Services
royans
 
Presentation (PPT)
webhostingguy
 
Webapp security testing
Tomas Doran
 
Webapp security testing
Tomas Doran
 
Basic's of internet
Poovarasan Shanmugasundaram
 
CNIT 129S: Ch 3: Web Application Technologies
Sam Bowne
 
Presentation (PowerPoint File)
webhostingguy
 
Presentation (PowerPoint File)
webhostingguy
 
Unit 1 introduction to web programming
zahid7578
 
Basic concept of internet
Snehal Shahane
 
Ad

Recently uploaded (20)

PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PDF
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PPTX
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
PDF
“A Re-imagination of Embedded Vision System Design,” a Presentation from Imag...
Edge AI and Vision Alliance
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
Fwdays
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
Bridging CAD, IBM TRIRIGA & GIS with FME: The Portland Public Schools Case
Safe Software
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
“A Re-imagination of Embedded Vision System Design,” a Presentation from Imag...
Edge AI and Vision Alliance
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 

Web Fundamentals

  • 1. Web Fundamentals 4 th September 2007 WWW, Internet, and other weird stuff
  • 2. This is not a presentation But more of a Discussion Maximum questions Maximum answers (if possible) You are allowed to sleep You will get a copy of these slides But slides are less important. Exercises will be there
  • 3. What is Internet? Internet is a global network of smaller networks. Internet is the largest network. It is owned by NOBODY Smaller network: 1-1000 computers Satellites, Submarine Optical cables Backbone The biggest name is Cisco
  • 4. What is (the) Web? You mean World Wide Web? Collection of interlinked hypertext documents. That means Hyperlinked documents Hyperlinks? URL
  • 5. HTTP? HTTP is an application level protocol for transferring data through WWW. Hyper Text Transfer Protocol HTTP 0.9 / 1.0 / 1.1 / 1.2 HTTPS (S for Secure) HTML – Header, content. They say HTTP is stateless.
  • 6. DNS DNS is like post office Some post offices will be knowing some addresses DNS servers will have addresses like this www.google.com => 64.67.33.200 Multiple Name servers for reliability
  • 7. Domain Name Netkode.com Mail.netkode.net Abc.mail.netkode.net http://mail.netkode.net/ http://mail.netkode.net:80/ http://mail.netkode.net:80/inbox/index.jsp Port
  • 8. A simple web request Browser Name Server Internet Web Server IIS, Apache, Lighttpd etc. BIND, PowerDNS, djbdns HTTP Response DNS Lookup http://bookmarks.rediff.com/recent/ bookmarks.rediff.com => 210.210.93.86
  • 9. Cookies Comes in different flavors Through HTTP Headers Persistent Cookie Session Cookie Secure Cookie HTTP Only Cookie 3 rd Party Cookie
  • 10. How Cookies work? 2) Response from Web server 3) 2 nd request from browser 1) Request from Browser GET /index.html HTTP/1.1 Host: bookmarks.rediff.com HTTP/1.1 200 OK Content-type: text/html Set-Cookie: name=value; expires=date; path=/; domain=.rediff.com   (content of page) GET /popular/ HTTP/1.1 Host: bookmarks.rediff.com Cookie: name=value Accept: */* expires=Fri, 31-Dec-2027 23:59:59
  • 11. Session One type of state management mechanism A number of continuous request response sequences. The key is called SESSIONID PHPSESSID, ASPNETSESSIONID, jsessionid, SESSION_ID, mySESSID GET /popular/ HTTP/1.1 Host: bookmarks.rediff.com Cookie: PHPSESSID=4dy1q2e3d44c5dj343s3aq9
  • 12. Moral of the story Programming languages are like religions All say same things Pray to same gods Keep up your spirits
  • 13. Session Security Session id is like your browser’s password ‘non-guessable’ session id- even you can’t Random numbers? ‘Yet to solve’ mathematical problem. X is your ultra top secret algorithm. X sessionid CPU temperature Current date time Other junk stuff
  • 14. Session Security And this algorithm can be as simple as MD5 or SHA1 These are called random hash code Irreversible id => pseudo random id Irreversible (only theoretically)
  • 15. Forms Method for data transfer from client to server (part of HTTP methods) GET and POST GET Through URL Limited data POST – through HTTP Headers More (complex) data
  • 16. HTTP Error codes 1xx – Informational 2xx – Success 200 OK 3xx – Redirection 304 Not Modified 4xx – Client Error 404 Not Found 5xx – Server Error 500 Server Error
  • 17. Multi Tier App Web Server Internet Web Server - Static File Serving - Caching - Proxying Database Server - Storage of Data - Retrieval - Some Biz logic Database Server Application Server App Server - Biz Logic - Processing - Modifying Data J2EE, ASP.NET, PHP, RoR, Python Apache/TomCat, IIS, lightTPD MS SQL, MySQL, Oracle
  • 18. Simple Question Netkode.com is hosted on 64.64.1.7 IP Will http://www.netkode.com Or http://64.64.1.7/ will load the page faster?
  • 19. Believe me 3 Tier Architecture is NOT MVC (Model View Controller) Multi tier is an architecture concept MVC is a software design concept Excuse me. MVC?
  • 20. MVC Presentation – View Logic – Controller Business Objects - Model
  • 21. Which all are valid URLs http://cnn_india.com/index.asp https://cnnindia.com:8080/ http:// cnnindia.in /news 2007.asp http://wwww.cnn-india.co.in/