40 likes | 182 Views
CSC 3084: Web Development and Programming. Chapter 1: Introduction to Web Development and PHP. Chapter Overview. By the end of this chapter, you should be able to: Deploy a PHP application on your own computer. Describe the components of a client-server architecture.
E N D
CSC 3084:Web Development and Programming Chapter 1: Introduction to Web Development and PHP
Chapter Overview • By the end of this chapter, you should be able to: • Deploy a PHP application on your own computer. • Describe the components of a client-server architecture. • Distinguish between the way a web server processes static web pages and dynamic web pages. • Explain what these software components do as a web application runs: Apache, PHP, Firefox, and MySQL. • Describe the way a PHP application is deployed on your own computer or on an Internet server. • Describe the components of an HTTP URL.
PHP Application Example • Start your local webserver • See PHP Textbook Files/book_apps/ch01_product_discount/ • Let’s take a quick look at the source code to get the flavor of PHP scripting • The web page is written in XHTML because the book is a little dated (2010) • If you attempt to view the source in the web browser, you will see only HTML code, because that is all the web server transmits to the web browser