SlideShare a Scribd company logo
1 of 14
Web
Architecture


CGS 2835 Interdisciplinary Web Development
Web sites are developed with files stored in one common folder.

                                                   index.html
                                                   <html>
                                                   <head>
                                                   <title>My Page</title>
style.css                                          <link href="style.css" rel="stylesheet" type="text/css" />
                                                   </head>
                profile.html                       <body>
                               me.jpg




                                                   <img src=“seal.gif” />
   index.html
                                        seal.gif
                                                   <a href=“profile.html”>My Profile</a>



                         mysite
                                                     </body>
                                                     </html>
WEB SERVER
Web site files are transferred to a
Web server maintaining the relative
locations of connected files.           iSpace.ci.fsu.edu

SFTP:// Secure File Transfer Protocol

                                         username


                                        html           personal

                             SFTP
             mysite
In the browser, you request resources using a URL:
http://ispace.ci.fsu.edu/~username/mysite/index.html
                         Your html
       Domain/Server               Location in html           WEB SERVER
                 Web folder
                 Client
                                                       iSpace.ci.fsu.edu

                                   HTTP REQUEST

                                                        username


                                                       html           personal


   Web pages are requested by users
                                                          mysite
   using a URL or link.

   HTTP://
   Hyper Text Transfer Protocol

   URL
   Uniform Resource Locator
HTTP RESPONSE          WEB SERVER

                                                    iSpace.ci.fsu.edu



                              seal.gif
                                                     username
     style.css
                 index.html

                                                    html           personal


An HTML page and referenced files
are delivered to client PC where they
are cached and rendered in a web
browser.
WEB CLIENT                                         WEB SERVER




                           Client/Server
                          Communication

  index.html
<html>
<head><title></title>
<script type="text/javascript">
<!--var value1 = 45;
var value2 = 60;
var sum = value1 + value2;
var str = value1;
document.write(str);
//-->
</script></head>                Javascript code may be embedded    in
<body>                          HTML, interpreted and run by the
   </body>              client.
   </html>

                                                               See www.fsu.edu
WEB CLIENT                                            WEB SERVER




                                                    Client/Server
                                                   Communication

index.html

 <html>
 <head><title></title></head>
 <body>
 <form name="rez" method="post"
 action="http://service.cs.fsu.edu/cgibin/testing/ers.cgi">



                                                 HTML Forms may be used to collect
                                                 user data and send it to the server for
   <input type="submit" name="Submit"
   value="Continue">
                                                 processing.
   </form)
   </body>
   </html>
WEB CLIENT                                    WEB SERVER




                  HTTP REQUEST w/DATA




 http://iSpace.ci.fsu.edu/username/mysite/index.html?name=geo




                     Including data (after the ? in a URL) is
                     an HTTP GET request.

                     Data sent in an HTTP Request that is
                     hidden is an
                     HTTP POST request
WEB CLIENT                          WEB SERVER




             HTTP REQUEST w/DATA




                                    PHP


                        PHP code (or other programming
                        language) runs on server,
                        manipulating input and creating HTML
                        output.
WEB CLIENT                              WEB SERVER




              HTTP REQUEST w/DATA




                                        PHP


                           PHP code is embedded in html code
                           and stored in a .php file.


         PHP code cannot run on the client browser,
         PHP is processed server-side
WEB CLIENT                            WEB SERVER




             HTTP REQUEST w/DATA




                         Other
                         Programming
                         Languages
                        Other programming languages like Perl,
                        Java, C++, Python, Ruby can also be used
                        to process HTTP requests.
WEB CLIENT                           WEB SERVER




             HTTP REQUEST w/DATA

                                                  DB
                                   PHP +
                                   MySQL

                        Programs may access data in a database
                        using a database manipulation language
                        (DBML) like MySQL.
WEB CLIENT                            WEB SERVER



                   HTTP Response
              Program Output as HTML
                                                    DB
HTML                                PHP +
CSS                                 MySQL
Javascript
Images                   A Web page is created “on the fly” as
                         output from server side software.
REVIEW
 WEB CLIENT                                WEB SERVER




                       Client/Server
                      Communication
                           HTTP                     DB
In the web browser:
HTML
HTML FORMS                             On the web server:
IMG: JPG/GIF/PNG                       Stores files
CSS                                    PHP & OTHER PL’S
JAVASCRIPT                             MYSQL & OTHER DBML’S

More Related Content

What's hot

Web Design Basics and HTML
Web Design Basics and HTMLWeb Design Basics and HTML
Web Design Basics and HTMLRajesh Sanabada
 
Introductiontowebarchitecture 090922221506-phpapp01
Introductiontowebarchitecture 090922221506-phpapp01Introductiontowebarchitecture 090922221506-phpapp01
Introductiontowebarchitecture 090922221506-phpapp01Maisha Price
 
Jsf login logout project
Jsf login logout projectJsf login logout project
Jsf login logout projectGagandeep Singh
 
Architecture Best Practices
Architecture Best PracticesArchitecture Best Practices
Architecture Best PracticesAWS Germany
 
Session 32 - Session Management using Cookies
Session 32 - Session Management using CookiesSession 32 - Session Management using Cookies
Session 32 - Session Management using CookiesPawanMM
 
High performance website
High performance websiteHigh performance website
High performance websiteChamnap Chhorn
 
presentation on static website design
presentation on static website designpresentation on static website design
presentation on static website designjyotiyadav1926
 
Web Architecture - Mechanism and Threats
Web Architecture - Mechanism and ThreatsWeb Architecture - Mechanism and Threats
Web Architecture - Mechanism and ThreatsSumedt Jitpukdebodin
 
Restful web-services
Restful web-servicesRestful web-services
Restful web-servicesrporwal
 
Session 34 - JDBC Best Practices, Introduction to Design Patterns
Session 34 - JDBC Best Practices, Introduction to Design PatternsSession 34 - JDBC Best Practices, Introduction to Design Patterns
Session 34 - JDBC Best Practices, Introduction to Design PatternsPawanMM
 
Midgard Create and VIE
Midgard Create and VIEMidgard Create and VIE
Midgard Create and VIEHenri Bergius
 
Web Services
Web ServicesWeb Services
Web ServicesKrish
 

What's hot (20)

Web Design Basics and HTML
Web Design Basics and HTMLWeb Design Basics and HTML
Web Design Basics and HTML
 
Web servers
Web serversWeb servers
Web servers
 
Introductiontowebarchitecture 090922221506-phpapp01
Introductiontowebarchitecture 090922221506-phpapp01Introductiontowebarchitecture 090922221506-phpapp01
Introductiontowebarchitecture 090922221506-phpapp01
 
Jsf login logout project
Jsf login logout projectJsf login logout project
Jsf login logout project
 
Architecture Best Practices
Architecture Best PracticesArchitecture Best Practices
Architecture Best Practices
 
Rest
RestRest
Rest
 
Rest and Rails
Rest and RailsRest and Rails
Rest and Rails
 
Session 32 - Session Management using Cookies
Session 32 - Session Management using CookiesSession 32 - Session Management using Cookies
Session 32 - Session Management using Cookies
 
High performance website
High performance websiteHigh performance website
High performance website
 
Rest in Rails
Rest in RailsRest in Rails
Rest in Rails
 
Web architecture v3
Web architecture v3Web architecture v3
Web architecture v3
 
presentation on static website design
presentation on static website designpresentation on static website design
presentation on static website design
 
Web Architecture - Mechanism and Threats
Web Architecture - Mechanism and ThreatsWeb Architecture - Mechanism and Threats
Web Architecture - Mechanism and Threats
 
Restful web-services
Restful web-servicesRestful web-services
Restful web-services
 
Web Fundamental
Web FundamentalWeb Fundamental
Web Fundamental
 
Soap and Rest
Soap and RestSoap and Rest
Soap and Rest
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
Session 34 - JDBC Best Practices, Introduction to Design Patterns
Session 34 - JDBC Best Practices, Introduction to Design PatternsSession 34 - JDBC Best Practices, Introduction to Design Patterns
Session 34 - JDBC Best Practices, Introduction to Design Patterns
 
Midgard Create and VIE
Midgard Create and VIEMidgard Create and VIE
Midgard Create and VIE
 
Web Services
Web ServicesWeb Services
Web Services
 

Viewers also liked (15)

13 interfaces
13 interfaces13 interfaces
13 interfaces
 
Html5
Html5Html5
Html5
 
Javascript2
Javascript2Javascript2
Javascript2
 
09 polymorphism
09 polymorphism09 polymorphism
09 polymorphism
 
02 prepcode
02 prepcode02 prepcode
02 prepcode
 
Chapter.10
Chapter.10Chapter.10
Chapter.10
 
Webdev
WebdevWebdev
Webdev
 
CGS2835 HTML5
CGS2835 HTML5CGS2835 HTML5
CGS2835 HTML5
 
Xhtml
XhtmlXhtml
Xhtml
 
Mysocial databasequeries
Mysocial databasequeriesMysocial databasequeries
Mysocial databasequeries
 
Mysocial databasequeries
Mysocial databasequeriesMysocial databasequeries
Mysocial databasequeries
 
01 intro tousingjava
01 intro tousingjava01 intro tousingjava
01 intro tousingjava
 
8 Typography Notes
8 Typography Notes8 Typography Notes
8 Typography Notes
 
Database basics
Database basicsDatabase basics
Database basics
 
CGS2835 HTML5
CGS2835 HTML5CGS2835 HTML5
CGS2835 HTML5
 

Similar to Web architecture (20)

Web architecture
Web architectureWeb architecture
Web architecture
 
Introducing asp
Introducing aspIntroducing asp
Introducing asp
 
Learn REST API at ASIT
Learn REST API at ASITLearn REST API at ASIT
Learn REST API at ASIT
 
Asp.net
Asp.netAsp.net
Asp.net
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
PHP Includes
PHP IncludesPHP Includes
PHP Includes
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1
 
Drupal
DrupalDrupal
Drupal
 
Introduction To CodeIgniter
Introduction To CodeIgniterIntroduction To CodeIgniter
Introduction To CodeIgniter
 
Ch10 Hacking Web Servers http://ouo.io/2Bt7X
Ch10 Hacking Web Servers http://ouo.io/2Bt7XCh10 Hacking Web Servers http://ouo.io/2Bt7X
Ch10 Hacking Web Servers http://ouo.io/2Bt7X
 
Web components
Web componentsWeb components
Web components
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
 
Unit 02: Web Technologies (2/2)
Unit 02: Web Technologies (2/2)Unit 02: Web Technologies (2/2)
Unit 02: Web Technologies (2/2)
 
Jsp
JspJsp
Jsp
 
Html intake 38 lect1
Html intake 38 lect1Html intake 38 lect1
Html intake 38 lect1
 
C# Unit5 Notes
C# Unit5 NotesC# Unit5 Notes
C# Unit5 Notes
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
 
Wordpress on Windows
Wordpress on WindowsWordpress on Windows
Wordpress on Windows
 
Zend Framework Quick Start Walkthrough
Zend Framework Quick Start WalkthroughZend Framework Quick Start Walkthrough
Zend Framework Quick Start Walkthrough
 
21 Www Web Services
21 Www Web Services21 Www Web Services
21 Www Web Services
 

More from Program in Interdisciplinary Computing (16)

Phpmysqlcoding
PhpmysqlcodingPhpmysqlcoding
Phpmysqlcoding
 
Sdlc
SdlcSdlc
Sdlc
 
Mysocial
MysocialMysocial
Mysocial
 
Javascript
JavascriptJavascript
Javascript
 
Javascript
JavascriptJavascript
Javascript
 
Frameworks
FrameworksFrameworks
Frameworks
 
Database
DatabaseDatabase
Database
 
12 abstract classes
12 abstract classes12 abstract classes
12 abstract classes
 
11 polymorphism
11 polymorphism11 polymorphism
11 polymorphism
 
15b more gui
15b more gui15b more gui
15b more gui
 
15a gui
15a gui15a gui
15a gui
 
14b exceptions
14b exceptions14b exceptions
14b exceptions
 
14a exceptions
14a exceptions14a exceptions
14a exceptions
 
13 life and scope
13 life and scope13 life and scope
13 life and scope
 
11 interfaces
11 interfaces11 interfaces
11 interfaces
 
10 abstract
10 abstract10 abstract
10 abstract
 

Recently uploaded

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Recently uploaded (20)

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

Web architecture

  • 2. Web sites are developed with files stored in one common folder. index.html <html> <head> <title>My Page</title> style.css <link href="style.css" rel="stylesheet" type="text/css" /> </head> profile.html <body> me.jpg <img src=“seal.gif” /> index.html seal.gif <a href=“profile.html”>My Profile</a> mysite </body> </html>
  • 3. WEB SERVER Web site files are transferred to a Web server maintaining the relative locations of connected files. iSpace.ci.fsu.edu SFTP:// Secure File Transfer Protocol username html personal SFTP mysite
  • 4. In the browser, you request resources using a URL: http://ispace.ci.fsu.edu/~username/mysite/index.html Your html Domain/Server Location in html WEB SERVER Web folder Client iSpace.ci.fsu.edu HTTP REQUEST username html personal Web pages are requested by users mysite using a URL or link. HTTP:// Hyper Text Transfer Protocol URL Uniform Resource Locator
  • 5. HTTP RESPONSE WEB SERVER iSpace.ci.fsu.edu seal.gif username style.css index.html html personal An HTML page and referenced files are delivered to client PC where they are cached and rendered in a web browser.
  • 6. WEB CLIENT WEB SERVER Client/Server Communication index.html <html> <head><title></title> <script type="text/javascript"> <!--var value1 = 45; var value2 = 60; var sum = value1 + value2; var str = value1; document.write(str); //--> </script></head> Javascript code may be embedded in <body> HTML, interpreted and run by the </body> client. </html> See www.fsu.edu
  • 7. WEB CLIENT WEB SERVER Client/Server Communication index.html <html> <head><title></title></head> <body> <form name="rez" method="post" action="http://service.cs.fsu.edu/cgibin/testing/ers.cgi"> HTML Forms may be used to collect user data and send it to the server for <input type="submit" name="Submit" value="Continue"> processing. </form) </body> </html>
  • 8. WEB CLIENT WEB SERVER HTTP REQUEST w/DATA http://iSpace.ci.fsu.edu/username/mysite/index.html?name=geo Including data (after the ? in a URL) is an HTTP GET request. Data sent in an HTTP Request that is hidden is an HTTP POST request
  • 9. WEB CLIENT WEB SERVER HTTP REQUEST w/DATA PHP PHP code (or other programming language) runs on server, manipulating input and creating HTML output.
  • 10. WEB CLIENT WEB SERVER HTTP REQUEST w/DATA PHP PHP code is embedded in html code and stored in a .php file. PHP code cannot run on the client browser, PHP is processed server-side
  • 11. WEB CLIENT WEB SERVER HTTP REQUEST w/DATA Other Programming Languages Other programming languages like Perl, Java, C++, Python, Ruby can also be used to process HTTP requests.
  • 12. WEB CLIENT WEB SERVER HTTP REQUEST w/DATA DB PHP + MySQL Programs may access data in a database using a database manipulation language (DBML) like MySQL.
  • 13. WEB CLIENT WEB SERVER HTTP Response Program Output as HTML DB HTML PHP + CSS MySQL Javascript Images A Web page is created “on the fly” as output from server side software.
  • 14. REVIEW WEB CLIENT WEB SERVER Client/Server Communication HTTP DB In the web browser: HTML HTML FORMS On the web server: IMG: JPG/GIF/PNG Stores files CSS PHP & OTHER PL’S JAVASCRIPT MYSQL & OTHER DBML’S