PHP Bible Chapter 2 ServerSide Web Scripting PHP
PHP Bible Chapter 2 : Server-Side Web Scripting ________________________________________________________ PHP Bible, 2 nd Edition 1 Wiley and the book authors, 2002
Summary n n n Understanding static & dynamic Web pages Client-side vs. server-side scripting Introduction to server-side scripting ________________________________________________________ PHP Bible, 2 nd Edition 2 Wiley and the book authors, 2002
Static HTML n n n n Most basic type of Web page is a completely static, text-based one, written entirely in HTML. After a client computer requests a web page, the server simply passes along whatever text it finds in the file The browser then renders the HTML according to the standards (more or less) Very quick Design control is more difficult Not interactive Difficult to maintain Doesn’t scale well for large number of pages ________________________________________________________ PHP Bible, 2 nd Edition 3 Wiley and the book authors, 2002
Server-side Scripting n n Invisible to the user Connects to back-end systems Ø Ø Used to assemble pages to send to the client Used to respond to information from the client ________________________________________________________ PHP Bible, 2 nd Edition 4 Wiley and the book authors, 2002
Uses for Server-side Scripting n n n Content sites Community features (forums, bulletin boards, etc. ) E-mail (webmail, composition, forwarding) Customer-support and tech-support systems Advertising networks Web-delivered business applications Directories and membership rolls Surveys, polls, and tests Filling out and submitting forms online Personalization technologies Groupware Catalog, brochure, and informational sites ________________________________________________________ PHP Bible, 2 nd Edition 5 Wiley and the book authors, 2002
- Slides: 5