Introduction to Server-Side Programming
[Pages:73]PHP
Introduction to Server-Side Programming
Charles Liu
Request to a Static Site
HTTP Request: GET
Server: 1. Homepage
lookup 2. Send as HTTP
Response
You (client)
HTTP Response: web content (HTML file) Client-side code: HTML, CSS, JavaScript
Web server IP: 72.26.203.99
Request to a Dynamic Site
The server must respond dynamically if it needs to provide different client-side code depending on the situation Date and time Specifics of the user's request Database contents ? forms and authentication
You (client)
HTTP Request: GET
Server: 1. Look up things that go on
user's profile, such as
wall posts and friends
caches, database
Web server lookups
2. Generate client-side
HTTP Response: web content (HTML file) Client-side code: HTML, CSS, JavaScript (dynamically generated by server)
code containing these things 3. Send as HTTP response
PHP
Introduction and Basic Syntax
Charles Liu
What is PHP?
PHP = PHP: Hypertext Preprocessor Server-side scripting language that may be
embedded into HTML Ultimate goal is to get PHP files to generate client-
side code
must end up with HTML, CSS, JavaScript, other clientside code!
Side-by-side
PHP File:
PHP Introduction This is HTML!
Output: resulting HTML
PHP Introduction This is HTML! This is PHP!
A closer look
PHP Introduction
This is HTML!
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- 242 30 arrays made easy an introduction to arrays and
- declare empty multidimensional array php montana
- php arrays and superglobals
- chapter 8 arrays and files calvin university
- introduction to server side programming
- declaring blank array in javascript
- php functions and arrays meetup
- loop do loop around arrays
- two dimensional arrays
- php arrays and superglobals github pages
Related searches
- introduction to java programming pdf
- introduction to java programming and data structures
- introduction to java programming 10th
- introduction to java programming liang
- introduction to java programming ppt
- introduction to java programming liang pdf
- introduction to r programming pdf
- introduction to python programming pdf
- introduction to java programming 10th edition pdf
- introduction to java programming 11th pdf
- datatables server side filter
- datatables server side paging