SlideShare a Scribd company logo
1 of 17
Chap 1
PHP-I
Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune) 1
What we Learn?
2Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Client Server Model
3Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Client Server Model
1. In client-server model, computer runs
software called the client(web browser) and it interacts
with another software called server(web server) located at
a remote computer.
2. The client is usually a browser such as Internet
Explorer, Netscape Navigator or Mozilla. Browsers
interact with the server using a set of instructions called
protocols.
3. These protocols help in the accurate transfer of data
through http requests from a web browser and responses
from the web server .
4Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Client Server Model
4. The World Wide Web(WWW), which is a part of the
Internet, brings all these protocols together. we can,
use HTTP, FTP, Telnet etc. from one platform -
your & so on protocols on our web browser.
Internet protocols:
HTTP (HyperText transfer Protocol): used on the World
Wide Web (WWW) for transferring web pages and files
contained in web pages such as images.
FTP (File Transfer protocol): employed for transferring
files from one machine to the other.
SMTP (Simple Mail Transport Protocol): used to send
emails
Telnet Protocol: Used to open telnet sessions. 5
Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
For Static HTML page generation
The client (browser) requests for an HTML file stored
on the remote machine through the server software. The
server locate this file and passes it to the client. The
client then displays this file on your machine. In this
case, the HTML page is static. Static pages do not
change until the developer modifies them.or supportive
language required to convert it to dynamic.
6Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
For server side scripting /dynamic page
With server technologies like PHP, JSP it has become easier to
maintain Web pages especially helpful for a large web sites.
A request sent for a PHP page from a client is passed to the PHP
interpreter by the server along with various program variables.
The interpreter then processes the PHP code and generates a
dynamic HTML output. This is sent to the server which in turn
redirects it to the client. The browser is not aware of the
functioning of the server. It just receives the HTML code, which
it appropriately formats and displays on your computer.
7
Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Http Basics: Http Protocol
1. Web servers and web browsers communicate via
HTTP.
2. The web browser (or client) makes a request of a
webpage to the server, and the webserver passes the
page back to the browser.
8Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Web Server
Types:-
1. Application server
2. FTP server
3. Backup Server
4. Security Server
5. Web Server
6. File Server
7. Database Server
Web Server-is computer that runs program responsible for
accepting HTTP request from web browser & generating
HTTP response accordingly.
Ex.of web server
1. Apache web server
2. Linux server
3. IIS web server
4. SSL web server
5. WAMP windows server 9Monica Deshmane(Asst.Professor @ Haribhai
V.Desai College,Pune)
Web browser
How web browser interacts with web server?
1. A web browser is a software application for retrieving,
presenting, and traversing information resources on the
World Wide Web.
2. An information resource is identified by a Uniform
Resource Identifier (URI) and may be a web page,
image, video, or other piece of content.
3. Hyperlinks present in resources enable users easily to
navigate their browsers to related resources.
EX. The major web browsers are Internet Explorer,
Firefox, Google Chrome, Apple Safari, and Opera.
10Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Http Protocol – How it works?
1. Parsing the URL
URL’s basic form: "protocol://server/request-URI".
Parts of url:
protocol: describes how to tell the server which
document the you want and how to retrieve it.
server: tells the browser which server to contact.
request-URI: is the name used by the web
server to identify the document.
Ex.
$url=“http://google.co.in”;
$arr=parse_url($url);
foreach($arr as $k=>$v)
echo $k,$v;
11Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Http Protocol – How it works?
2. Sending the request
Usually, the protocol is "http". To retrieve a
document via HTTP the browser transmits the
following request to the server:
"GET /request-URI HTTP/version",
version tells the server which HTTP version is used.
Server performs the request and returns the result.
12Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Http Protocol – How it works?
3. The server response
When the server receives the HTTP request it
locates the appropriate document and returns it.
HTTP/[VER] [CODE] [TEXT]
Ex.http/1.0 200 OK
The line shows the HTTP version used,
followed by a three-digit HTTP status code. Usually
the code is 200 and the phrase "OK“ for successful
response .
The first line is followed by some lines called the
header, which contains information about the document.
The header ends with a blank line, followed by the
document content.
13Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Http Protocol – How it works?
This is a typical header:
HTTP/1.0 200 OK
Server: Netscape-Communications/1.1
Date: Tuesday, 25-Nov-97 01:22:04 GMT
Last-modified: Thursday, 20-Nov-97 10:44:53 GMT
Content-length: 6372
Content-type: text/html
//followed by document content...
14
Monica Deshmane(Asst.Professor @ Haribhai
V.Desai College,Pune)
2 tier and 3 tier architecture
Any piece of software can be subdivided into the
following areas:
Presentation logic : User Interface, displaying data to
the user, accepting input from the user.
Business logic : Business Rules, handles data
validation and task-specific behavior.
Data Access logic : Database Communication,
constructing SQL queries and executing them via the
relevant API.
15
Monica Deshmane(Asst.Professor @ Haribhai
V.Desai College,Pune)
3 tier architecture
If you go one step further and split the presentation
logic from the business logic you have a 3 Tier
Architecture.
16Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
Thank You
https://www.slideshare.net/MonicaDeshmane/client-server-architecturephp?qid=90e027e3-b31e-4571-b1a3-
929cf6667d8b&v=&b=&from_search=2
17Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)

More Related Content

What's hot

Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer ProtocolRajan Pandey
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1hussulinux
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Shimona Agarwal
 
HTTP Definition and Basics.
HTTP Definition and Basics.HTTP Definition and Basics.
HTTP Definition and Basics.Halah Salih
 
Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocolwanangwa234
 
HyperText Transfer Protocol
HyperText Transfer ProtocolHyperText Transfer Protocol
HyperText Transfer Protocolponduse
 
Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)maamir farooq
 
Http and its Applications
Http and its ApplicationsHttp and its Applications
Http and its ApplicationsNayan Dagliya
 
HTTP fundamentals for developers
HTTP fundamentals for developersHTTP fundamentals for developers
HTTP fundamentals for developersMario Cardinal
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)johnny19910916
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol BasicChuong Mai
 

What's hot (20)

Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
HTTP
HTTPHTTP
HTTP
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1
 
HTTP
HTTPHTTP
HTTP
 
HTTP & WWW
HTTP & WWWHTTP & WWW
HTTP & WWW
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
HTTP Definition and Basics.
HTTP Definition and Basics.HTTP Definition and Basics.
HTTP Definition and Basics.
 
Http
HttpHttp
Http
 
Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocol
 
HyperText Transfer Protocol
HyperText Transfer ProtocolHyperText Transfer Protocol
HyperText Transfer Protocol
 
Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)
 
Http and its Applications
Http and its ApplicationsHttp and its Applications
Http and its Applications
 
HTTP fundamentals for developers
HTTP fundamentals for developersHTTP fundamentals for developers
HTTP fundamentals for developers
 
Web technology
Web technologyWeb technology
Web technology
 
Web server
Web serverWeb server
Web server
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
 
The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
 
Http VS. Https
Http VS. HttpsHttp VS. Https
Http VS. Https
 
Http protocol
Http protocolHttp protocol
Http protocol
 

Similar to ip1clientserver model

Web Technologies Notes - TutorialsDuniya.pdf
Web Technologies Notes - TutorialsDuniya.pdfWeb Technologies Notes - TutorialsDuniya.pdf
Web Technologies Notes - TutorialsDuniya.pdfRaghunathan52
 
Web Technologies Notes - TutorialsDuniya.pdf
Web Technologies Notes - TutorialsDuniya.pdfWeb Technologies Notes - TutorialsDuniya.pdf
Web Technologies Notes - TutorialsDuniya.pdfRaghunathan52
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side ProgrammingMilan Thapa
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009Cathie101
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009Cathie101
 
Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systemsReza Gh
 
Web application development ( basics )
Web application development ( basics )Web application development ( basics )
Web application development ( basics )Chirag Nag
 
Web Programming HTML.pptx
Web Programming HTML.pptxWeb Programming HTML.pptx
Web Programming HTML.pptxMarwaAnany1
 
MADS4007_Fall2022-Intro to Web Technologies.docx.pptx
MADS4007_Fall2022-Intro to Web Technologies.docx.pptxMADS4007_Fall2022-Intro to Web Technologies.docx.pptx
MADS4007_Fall2022-Intro to Web Technologies.docx.pptxawadalsabbah
 

Similar to ip1clientserver model (20)

Web Technologies Notes - TutorialsDuniya.pdf
Web Technologies Notes - TutorialsDuniya.pdfWeb Technologies Notes - TutorialsDuniya.pdf
Web Technologies Notes - TutorialsDuniya.pdf
 
Web Technologies Notes - TutorialsDuniya.pdf
Web Technologies Notes - TutorialsDuniya.pdfWeb Technologies Notes - TutorialsDuniya.pdf
Web Technologies Notes - TutorialsDuniya.pdf
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
 
Www and http
Www and httpWww and http
Www and http
 
CN UNIT V.pptx
CN UNIT V.pptxCN UNIT V.pptx
CN UNIT V.pptx
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side Programming
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009
 
Web Services 2009
Web Services 2009Web Services 2009
Web Services 2009
 
Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systems
 
Apache web server
Apache web serverApache web server
Apache web server
 
Internet
InternetInternet
Internet
 
Web application development ( basics )
Web application development ( basics )Web application development ( basics )
Web application development ( basics )
 
Spider Course Day 1
Spider Course Day 1Spider Course Day 1
Spider Course Day 1
 
WP Chap 1 & 2.pptx
WP Chap 1 & 2.pptxWP Chap 1 & 2.pptx
WP Chap 1 & 2.pptx
 
Web Programming HTML.pptx
Web Programming HTML.pptxWeb Programming HTML.pptx
Web Programming HTML.pptx
 
MADS4007_Fall2022-Intro to Web Technologies.docx.pptx
MADS4007_Fall2022-Intro to Web Technologies.docx.pptxMADS4007_Fall2022-Intro to Web Technologies.docx.pptx
MADS4007_Fall2022-Intro to Web Technologies.docx.pptx
 
Webbasics
WebbasicsWebbasics
Webbasics
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
unit 1(chapter1).pdf
unit 1(chapter1).pdfunit 1(chapter1).pdf
unit 1(chapter1).pdf
 
Web server
Web serverWeb server
Web server
 

More from monikadeshmane

More from monikadeshmane (20)

File system node js
File system node jsFile system node js
File system node js
 
Nodejs functions & modules
Nodejs functions & modulesNodejs functions & modules
Nodejs functions & modules
 
Nodejs buffers
Nodejs buffersNodejs buffers
Nodejs buffers
 
Intsllation & 1st program nodejs
Intsllation & 1st program nodejsIntsllation & 1st program nodejs
Intsllation & 1st program nodejs
 
Nodejs basics
Nodejs basicsNodejs basics
Nodejs basics
 
Chap 5 php files part-2
Chap 5 php files   part-2Chap 5 php files   part-2
Chap 5 php files part-2
 
Chap 5 php files part 1
Chap 5 php files part 1Chap 5 php files part 1
Chap 5 php files part 1
 
Chap4 oop class (php) part 2
Chap4 oop class (php) part 2Chap4 oop class (php) part 2
Chap4 oop class (php) part 2
 
Chap4 oop class (php) part 1
Chap4 oop class (php) part 1Chap4 oop class (php) part 1
Chap4 oop class (php) part 1
 
Chap 3php array part4
Chap 3php array part4Chap 3php array part4
Chap 3php array part4
 
Chap 3php array part 3
Chap 3php array part 3Chap 3php array part 3
Chap 3php array part 3
 
Chap 3php array part 2
Chap 3php array part 2Chap 3php array part 2
Chap 3php array part 2
 
Chap 3php array part1
Chap 3php array part1Chap 3php array part1
Chap 3php array part1
 
PHP function
PHP functionPHP function
PHP function
 
php string part 4
php string part 4php string part 4
php string part 4
 
php string part 3
php string part 3php string part 3
php string part 3
 
php string-part 2
php string-part 2php string-part 2
php string-part 2
 
PHP string-part 1
PHP string-part 1PHP string-part 1
PHP string-part 1
 
java script
java scriptjava script
java script
 
Chap1introppt2php(finally done)
Chap1introppt2php(finally done)Chap1introppt2php(finally done)
Chap1introppt2php(finally done)
 

Recently uploaded

Forest laws, Indian forest laws, why they are important
Forest laws, Indian forest laws, why they are importantForest laws, Indian forest laws, why they are important
Forest laws, Indian forest laws, why they are importantadityabhardwaj282
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxmalonesandreagweneth
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |aasikanpl
 
insect anatomy and insect body wall and their physiology
insect anatomy and insect body wall and their  physiologyinsect anatomy and insect body wall and their  physiology
insect anatomy and insect body wall and their physiologyDrAnita Sharma
 
Temporomandibular joint Muscles of Mastication
Temporomandibular joint Muscles of MasticationTemporomandibular joint Muscles of Mastication
Temporomandibular joint Muscles of Masticationvidulajaib
 
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Heredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsHeredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsCharlene Llagas
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxSwapnil Therkar
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzohaibmir069
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
Module 4: Mendelian Genetics and Punnett Square
Module 4:  Mendelian Genetics and Punnett SquareModule 4:  Mendelian Genetics and Punnett Square
Module 4: Mendelian Genetics and Punnett SquareIsiahStephanRadaza
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxyaramohamed343013
 
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaDashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaPraksha3
 
TOTAL CHOLESTEROL (lipid profile test).pptx
TOTAL CHOLESTEROL (lipid profile test).pptxTOTAL CHOLESTEROL (lipid profile test).pptx
TOTAL CHOLESTEROL (lipid profile test).pptxdharshini369nike
 
Call Girls in Hauz Khas Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Hauz Khas Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Hauz Khas Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Hauz Khas Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Neurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trNeurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trssuser06f238
 
Evidences of Evolution General Biology 2
Evidences of Evolution General Biology 2Evidences of Evolution General Biology 2
Evidences of Evolution General Biology 2John Carlo Rollon
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024AyushiRastogi48
 

Recently uploaded (20)

Forest laws, Indian forest laws, why they are important
Forest laws, Indian forest laws, why they are importantForest laws, Indian forest laws, why they are important
Forest laws, Indian forest laws, why they are important
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
 
insect anatomy and insect body wall and their physiology
insect anatomy and insect body wall and their  physiologyinsect anatomy and insect body wall and their  physiology
insect anatomy and insect body wall and their physiology
 
Hot Sexy call girls in Moti Nagar,🔝 9953056974 🔝 escort Service
Hot Sexy call girls in  Moti Nagar,🔝 9953056974 🔝 escort ServiceHot Sexy call girls in  Moti Nagar,🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Moti Nagar,🔝 9953056974 🔝 escort Service
 
Temporomandibular joint Muscles of Mastication
Temporomandibular joint Muscles of MasticationTemporomandibular joint Muscles of Mastication
Temporomandibular joint Muscles of Mastication
 
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Aiims Metro Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Heredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of TraitsHeredity: Inheritance and Variation of Traits
Heredity: Inheritance and Variation of Traits
 
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptxAnalytical Profile of Coleus Forskohlii | Forskolin .pptx
Analytical Profile of Coleus Forskohlii | Forskolin .pptx
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistan
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
Module 4: Mendelian Genetics and Punnett Square
Module 4:  Mendelian Genetics and Punnett SquareModule 4:  Mendelian Genetics and Punnett Square
Module 4: Mendelian Genetics and Punnett Square
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docx
 
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tantaDashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
Dashanga agada a formulation of Agada tantra dealt in 3 Rd year bams agada tanta
 
TOTAL CHOLESTEROL (lipid profile test).pptx
TOTAL CHOLESTEROL (lipid profile test).pptxTOTAL CHOLESTEROL (lipid profile test).pptx
TOTAL CHOLESTEROL (lipid profile test).pptx
 
Call Girls in Hauz Khas Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Hauz Khas Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Hauz Khas Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Hauz Khas Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Neurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 trNeurodevelopmental disorders according to the dsm 5 tr
Neurodevelopmental disorders according to the dsm 5 tr
 
Evidences of Evolution General Biology 2
Evidences of Evolution General Biology 2Evidences of Evolution General Biology 2
Evidences of Evolution General Biology 2
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024
 

ip1clientserver model

  • 1. Chap 1 PHP-I Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune) 1
  • 2. What we Learn? 2Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 3. Client Server Model 3Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 4. Client Server Model 1. In client-server model, computer runs software called the client(web browser) and it interacts with another software called server(web server) located at a remote computer. 2. The client is usually a browser such as Internet Explorer, Netscape Navigator or Mozilla. Browsers interact with the server using a set of instructions called protocols. 3. These protocols help in the accurate transfer of data through http requests from a web browser and responses from the web server . 4Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 5. Client Server Model 4. The World Wide Web(WWW), which is a part of the Internet, brings all these protocols together. we can, use HTTP, FTP, Telnet etc. from one platform - your & so on protocols on our web browser. Internet protocols: HTTP (HyperText transfer Protocol): used on the World Wide Web (WWW) for transferring web pages and files contained in web pages such as images. FTP (File Transfer protocol): employed for transferring files from one machine to the other. SMTP (Simple Mail Transport Protocol): used to send emails Telnet Protocol: Used to open telnet sessions. 5 Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 6. For Static HTML page generation The client (browser) requests for an HTML file stored on the remote machine through the server software. The server locate this file and passes it to the client. The client then displays this file on your machine. In this case, the HTML page is static. Static pages do not change until the developer modifies them.or supportive language required to convert it to dynamic. 6Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 7. For server side scripting /dynamic page With server technologies like PHP, JSP it has become easier to maintain Web pages especially helpful for a large web sites. A request sent for a PHP page from a client is passed to the PHP interpreter by the server along with various program variables. The interpreter then processes the PHP code and generates a dynamic HTML output. This is sent to the server which in turn redirects it to the client. The browser is not aware of the functioning of the server. It just receives the HTML code, which it appropriately formats and displays on your computer. 7 Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 8. Http Basics: Http Protocol 1. Web servers and web browsers communicate via HTTP. 2. The web browser (or client) makes a request of a webpage to the server, and the webserver passes the page back to the browser. 8Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 9. Web Server Types:- 1. Application server 2. FTP server 3. Backup Server 4. Security Server 5. Web Server 6. File Server 7. Database Server Web Server-is computer that runs program responsible for accepting HTTP request from web browser & generating HTTP response accordingly. Ex.of web server 1. Apache web server 2. Linux server 3. IIS web server 4. SSL web server 5. WAMP windows server 9Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 10. Web browser How web browser interacts with web server? 1. A web browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. 2. An information resource is identified by a Uniform Resource Identifier (URI) and may be a web page, image, video, or other piece of content. 3. Hyperlinks present in resources enable users easily to navigate their browsers to related resources. EX. The major web browsers are Internet Explorer, Firefox, Google Chrome, Apple Safari, and Opera. 10Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 11. Http Protocol – How it works? 1. Parsing the URL URL’s basic form: "protocol://server/request-URI". Parts of url: protocol: describes how to tell the server which document the you want and how to retrieve it. server: tells the browser which server to contact. request-URI: is the name used by the web server to identify the document. Ex. $url=“http://google.co.in”; $arr=parse_url($url); foreach($arr as $k=>$v) echo $k,$v; 11Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 12. Http Protocol – How it works? 2. Sending the request Usually, the protocol is "http". To retrieve a document via HTTP the browser transmits the following request to the server: "GET /request-URI HTTP/version", version tells the server which HTTP version is used. Server performs the request and returns the result. 12Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 13. Http Protocol – How it works? 3. The server response When the server receives the HTTP request it locates the appropriate document and returns it. HTTP/[VER] [CODE] [TEXT] Ex.http/1.0 200 OK The line shows the HTTP version used, followed by a three-digit HTTP status code. Usually the code is 200 and the phrase "OK“ for successful response . The first line is followed by some lines called the header, which contains information about the document. The header ends with a blank line, followed by the document content. 13Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 14. Http Protocol – How it works? This is a typical header: HTTP/1.0 200 OK Server: Netscape-Communications/1.1 Date: Tuesday, 25-Nov-97 01:22:04 GMT Last-modified: Thursday, 20-Nov-97 10:44:53 GMT Content-length: 6372 Content-type: text/html //followed by document content... 14 Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 15. 2 tier and 3 tier architecture Any piece of software can be subdivided into the following areas: Presentation logic : User Interface, displaying data to the user, accepting input from the user. Business logic : Business Rules, handles data validation and task-specific behavior. Data Access logic : Database Communication, constructing SQL queries and executing them via the relevant API. 15 Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)
  • 16. 3 tier architecture If you go one step further and split the presentation logic from the business logic you have a 3 Tier Architecture. 16Monica Deshmane(Asst.Professor @ Haribhai V.Desai College,Pune)