SlideShare a Scribd company logo
1 of 17
Download to read offline
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
Module 2
Introduction to a web-app
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
Contents
Objective:
1. Get familiar with the basic terminology of webapps and development
2. Convert basic understanding into more technical understanding
Topics:
1. Using a web app
2. Webapps - A detailed look
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
1. Using a webapp
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
What is a webapp?
A web app is a client-server application that runs in a web browser.
For the rest of this course: webapps ≈ web applications + websites + webpages
Wikipedia Gmail
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
1. Using a webapp - browsing
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
1. Using a webapp - The Steps
1 Open a browser application Firefox
2 Enter the web address www.wikipedia.org
3 The browser fetches the data from the server
4 The browser displays the webpage
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2. Webapps - a detailed look
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2.1 Browser - Web Client
A browser is a software which needs to be installed on a device to use webapps.
Common browsers
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2.1 Browser
Browsers can make requests to servers using URLs and render the response data
Computer programs that can make requests to servers and fetch responses are called clients. When these programs
make requests to web servers, they are called web clients. A browser is a web client.
Content Type File
extension
Example
http://www.flipkart.com/robots.txt
http://www.cenlib.iitm.ac.in/docs/library/ejnls-iitm.html
https://hasura.io/img/hasura-sand.png
https://www.iitm.ac.in/sites/default/files/uploads/calendar-revised-jul-nov_2016.pdf
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2.1 Browser
● Modern browsers can interpret and run code written by the application author (Javascript)
● Purpose: Make page interactive or dynamic.
Facebook newsfeed keeps automatically fetching new
content
Clicking on the icon shows the pending friend
requests (facebook)
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2.2 URL
● A URL identifies both the server and the resource (webpage or content)
● URL stands for: Uniform Resource Locator
● Also informally called ‘web address’
● Purpose: Find a resource on the Internet
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2.2 URL
https://www.flipkart.com/books/pr?sid=bks&q=web+app
Protocol Hostname Path Query string
Protocol: It defines the mode/rules of communication between the client and server for the request.
Hostname: It identifies the server which will serve the request. It may contain the domain name. In this
case “flipkart.com”
Path: It defines the resource which is being requested. It typically points to a webpage. (in this case list of
books)
Query String: It typically contains any additional parameters that is typically used to add more context to
the same path (in this case books that are about “web app”)
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2.3 DNS - Domain Name System
● DNS is like a directory which links the domain name to the IP address of the server
○ google.com <> 216.58.197.78
○ facebook.com <> 173.252.89.132
● Every server must have a unique IP address which clients can use to connect with it over the
internet.
● This IP address is mapped to a human friendly domain name to make it easy to remember.
● The directory is maintained by “name servers”. Programs can exchange the domain-name for the
registered IP address by requesting the name server. This is called a “DNS lookup”
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2.4 Network
● Your computer connected to your router connected to your ISP, connected to other ISPs, finally
connected to another computer (the server)
● A program can send a request on a network by mentioning the IP of the other computer and the
network (meaning the entire systems of hardware and software) will route your request to the
computer that has that IP.
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
2.5 Server - Web Server
● A web server can listen to requests and respond back with data on the same connection
● Very commonly, a server is also used to refer to the actual computer (also called a
host) on which the “server” software is installed.
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
Summary
Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura)
What we covered
Using webapps
We examined how we use typical webapps
Webapps - A detailed look
We examined the technical components that come together when a webapp works
Web apps & websites
Browser, URL, DNS, Network, Web server
Client - server architecturehttps
You can watch the module video on Youtube:https://www.youtube.com/watch?v=n5CQK1knRko

More Related Content

Similar to Module 2 introduction to a web-app

The Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptThe Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptAsad Majeed
 
Web Design Solutions
Web Design Solutions Web Design Solutions
Web Design Solutions APARNA SANAKA
 
Big data-hadoop-training-course-content-content
Big data-hadoop-training-course-content-contentBig data-hadoop-training-course-content-content
Big data-hadoop-training-course-content-contentTraining Institute
 
Sasmita bigdata resume
Sasmita bigdata resumeSasmita bigdata resume
Sasmita bigdata resumeSasmita Swain
 
Social Media Market Trender with Dache Manager Using Hadoop and Visualization...
Social Media Market Trender with Dache Manager Using Hadoop and Visualization...Social Media Market Trender with Dache Manager Using Hadoop and Visualization...
Social Media Market Trender with Dache Manager Using Hadoop and Visualization...IRJET Journal
 
PWA basics for developers
PWA basics for developersPWA basics for developers
PWA basics for developersFilip Rakowski
 
Online Quiz System Project Report
Online Quiz System Project Report Online Quiz System Project Report
Online Quiz System Project Report Kishan Maurya
 
quiz game project report.pdf
quiz game project report.pdfquiz game project report.pdf
quiz game project report.pdfzccindia
 
Worldranking universities final documentation
Worldranking universities final documentationWorldranking universities final documentation
Worldranking universities final documentationBhadra Gowdra
 
Web Application Development using PHP and MySQL
Web Application Development using PHP and MySQLWeb Application Development using PHP and MySQL
Web Application Development using PHP and MySQLGanesh Kamath
 
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGNEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGijma
 
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGNEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGijma
 
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGNEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGijma
 
PALLAVI GUPTA RESUMEE
PALLAVI  GUPTA RESUMEEPALLAVI  GUPTA RESUMEE
PALLAVI GUPTA RESUMEEPALLAVI GUPTA
 
web development ppt by prakash bedage
web development ppt by prakash bedageweb development ppt by prakash bedage
web development ppt by prakash bedagePrakashBedage
 
web development project prakash.pptx
web development project prakash.pptxweb development project prakash.pptx
web development project prakash.pptxPrakashBedage
 
JIT Borawan Cloud computing part 2
JIT Borawan Cloud computing part 2JIT Borawan Cloud computing part 2
JIT Borawan Cloud computing part 2Sawan Mishra
 
Company Visitor Management System Report.docx
Company Visitor Management System Report.docxCompany Visitor Management System Report.docx
Company Visitor Management System Report.docxfantabulous2024
 
Website for Media Coach & Communication Speaker
Website for Media Coach & Communication SpeakerWebsite for Media Coach & Communication Speaker
Website for Media Coach & Communication SpeakerMike Taylor
 

Similar to Module 2 introduction to a web-app (20)

The Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.pptThe Ultimate Guide to Modern Web App Development.ppt
The Ultimate Guide to Modern Web App Development.ppt
 
Web Design Solutions
Web Design Solutions Web Design Solutions
Web Design Solutions
 
Big data-hadoop-training-course-content-content
Big data-hadoop-training-course-content-contentBig data-hadoop-training-course-content-content
Big data-hadoop-training-course-content-content
 
Sasmita bigdata resume
Sasmita bigdata resumeSasmita bigdata resume
Sasmita bigdata resume
 
Social Media Market Trender with Dache Manager Using Hadoop and Visualization...
Social Media Market Trender with Dache Manager Using Hadoop and Visualization...Social Media Market Trender with Dache Manager Using Hadoop and Visualization...
Social Media Market Trender with Dache Manager Using Hadoop and Visualization...
 
PWA basics for developers
PWA basics for developersPWA basics for developers
PWA basics for developers
 
Online Quiz System Project Report
Online Quiz System Project Report Online Quiz System Project Report
Online Quiz System Project Report
 
quiz game project report.pdf
quiz game project report.pdfquiz game project report.pdf
quiz game project report.pdf
 
Worldranking universities final documentation
Worldranking universities final documentationWorldranking universities final documentation
Worldranking universities final documentation
 
Web Application Development using PHP and MySQL
Web Application Development using PHP and MySQLWeb Application Development using PHP and MySQL
Web Application Development using PHP and MySQL
 
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGNEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
 
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGNEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
 
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNINGNEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
NEED ANALYSIS: PORTABLE WEB SERVER DEVELOPMENT KITS FOR TEACHING AND LEARNING
 
PALLAVI GUPTA RESUMEE
PALLAVI  GUPTA RESUMEEPALLAVI  GUPTA RESUMEE
PALLAVI GUPTA RESUMEE
 
web development ppt by prakash bedage
web development ppt by prakash bedageweb development ppt by prakash bedage
web development ppt by prakash bedage
 
web development project prakash.pptx
web development project prakash.pptxweb development project prakash.pptx
web development project prakash.pptx
 
JIT Borawan Cloud computing part 2
JIT Borawan Cloud computing part 2JIT Borawan Cloud computing part 2
JIT Borawan Cloud computing part 2
 
Company Visitor Management System Report.docx
Company Visitor Management System Report.docxCompany Visitor Management System Report.docx
Company Visitor Management System Report.docx
 
Website for Media Coach & Communication Speaker
Website for Media Coach & Communication SpeakerWebsite for Media Coach & Communication Speaker
Website for Media Coach & Communication Speaker
 
Final White Paper_
Final White Paper_Final White Paper_
Final White Paper_
 

More from HarshitParkar6677 (20)

Wi fi hacking
Wi fi hackingWi fi hacking
Wi fi hacking
 
D dos attack
D dos attackD dos attack
D dos attack
 
Notes chapter 6
Notes chapter  6Notes chapter  6
Notes chapter 6
 
Interface notes
Interface notesInterface notes
Interface notes
 
Chapter6 2
Chapter6 2Chapter6 2
Chapter6 2
 
Chapter6
Chapter6Chapter6
Chapter6
 
8086 cpu 1
8086 cpu 18086 cpu 1
8086 cpu 1
 
Chapter 6 notes
Chapter 6 notesChapter 6 notes
Chapter 6 notes
 
Chapter 5 notes
Chapter 5 notesChapter 5 notes
Chapter 5 notes
 
Chap6 procedures &amp; macros
Chap6 procedures &amp; macrosChap6 procedures &amp; macros
Chap6 procedures &amp; macros
 
Chapter 5 notes new
Chapter 5 notes newChapter 5 notes new
Chapter 5 notes new
 
Notes arithmetic instructions
Notes arithmetic instructionsNotes arithmetic instructions
Notes arithmetic instructions
 
Notes all instructions
Notes all instructionsNotes all instructions
Notes all instructions
 
Notes aaa aa
Notes aaa aaNotes aaa aa
Notes aaa aa
 
Notes 8086 instruction format
Notes 8086 instruction formatNotes 8086 instruction format
Notes 8086 instruction format
 
Misc
MiscMisc
Misc
 
Copy of 8086inst logical
Copy of 8086inst logicalCopy of 8086inst logical
Copy of 8086inst logical
 
Copy of 8086inst logical
Copy of 8086inst logicalCopy of 8086inst logical
Copy of 8086inst logical
 
Chapter3 program flow control instructions
Chapter3 program flow control instructionsChapter3 program flow control instructions
Chapter3 program flow control instructions
 
Chapter3 8086inst stringsl
Chapter3 8086inst stringslChapter3 8086inst stringsl
Chapter3 8086inst stringsl
 

Recently uploaded

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 

Recently uploaded (20)

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 

Module 2 introduction to a web-app

  • 1. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) Module 2 Introduction to a web-app
  • 2. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) Contents Objective: 1. Get familiar with the basic terminology of webapps and development 2. Convert basic understanding into more technical understanding Topics: 1. Using a web app 2. Webapps - A detailed look
  • 3. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 1. Using a webapp
  • 4. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) What is a webapp? A web app is a client-server application that runs in a web browser. For the rest of this course: webapps ≈ web applications + websites + webpages Wikipedia Gmail
  • 5. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 1. Using a webapp - browsing
  • 6. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 1. Using a webapp - The Steps 1 Open a browser application Firefox 2 Enter the web address www.wikipedia.org 3 The browser fetches the data from the server 4 The browser displays the webpage
  • 7. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2. Webapps - a detailed look
  • 8. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2.1 Browser - Web Client A browser is a software which needs to be installed on a device to use webapps. Common browsers
  • 9. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2.1 Browser Browsers can make requests to servers using URLs and render the response data Computer programs that can make requests to servers and fetch responses are called clients. When these programs make requests to web servers, they are called web clients. A browser is a web client. Content Type File extension Example http://www.flipkart.com/robots.txt http://www.cenlib.iitm.ac.in/docs/library/ejnls-iitm.html https://hasura.io/img/hasura-sand.png https://www.iitm.ac.in/sites/default/files/uploads/calendar-revised-jul-nov_2016.pdf
  • 10. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2.1 Browser ● Modern browsers can interpret and run code written by the application author (Javascript) ● Purpose: Make page interactive or dynamic. Facebook newsfeed keeps automatically fetching new content Clicking on the icon shows the pending friend requests (facebook)
  • 11. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2.2 URL ● A URL identifies both the server and the resource (webpage or content) ● URL stands for: Uniform Resource Locator ● Also informally called ‘web address’ ● Purpose: Find a resource on the Internet
  • 12. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2.2 URL https://www.flipkart.com/books/pr?sid=bks&q=web+app Protocol Hostname Path Query string Protocol: It defines the mode/rules of communication between the client and server for the request. Hostname: It identifies the server which will serve the request. It may contain the domain name. In this case “flipkart.com” Path: It defines the resource which is being requested. It typically points to a webpage. (in this case list of books) Query String: It typically contains any additional parameters that is typically used to add more context to the same path (in this case books that are about “web app”)
  • 13. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2.3 DNS - Domain Name System ● DNS is like a directory which links the domain name to the IP address of the server ○ google.com <> 216.58.197.78 ○ facebook.com <> 173.252.89.132 ● Every server must have a unique IP address which clients can use to connect with it over the internet. ● This IP address is mapped to a human friendly domain name to make it easy to remember. ● The directory is maintained by “name servers”. Programs can exchange the domain-name for the registered IP address by requesting the name server. This is called a “DNS lookup”
  • 14. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2.4 Network ● Your computer connected to your router connected to your ISP, connected to other ISPs, finally connected to another computer (the server) ● A program can send a request on a network by mentioning the IP of the other computer and the network (meaning the entire systems of hardware and software) will route your request to the computer that has that IP.
  • 15. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) 2.5 Server - Web Server ● A web server can listen to requests and respond back with data on the same connection ● Very commonly, a server is also used to refer to the actual computer (also called a host) on which the “server” software is installed.
  • 16. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) Summary
  • 17. Introduction to Modern Application Development Dr Gaurav Raina (IIT Madras), Tanmai Gopal (Hasura) What we covered Using webapps We examined how we use typical webapps Webapps - A detailed look We examined the technical components that come together when a webapp works Web apps & websites Browser, URL, DNS, Network, Web server Client - server architecturehttps You can watch the module video on Youtube:https://www.youtube.com/watch?v=n5CQK1knRko