Videos now hosted on Vimeo. Uploading will be a slow process. Let Tony know if there are any you’d like uploaded first (20GB/week upload quota).
CPNT 262 Assignment 5: Due date extended to Friday.
CPNT 262 Final Project: DM Tony a summary of your Fancy Feature in Slack. A video chat will be scheduledm if needed.
Poll: Do you have PHP/MySQL installed already?
1. Install XAMPP
Learning Objectives
Summarize the differences between the Node and PHP server environments.
Install XAMPP or a similar PHP/MySQL development environment.
Locate the local location of the PHP web directory.
Terminology
LAMP Stack
A server environment that uses Linux (operating system), Apache (web server), MySQL (database) and PHP (codebase). Wordpress runs on the LAMP stack.
Single Threaded
One process handles all requests, one command at a time. The Jacascript run-time environment is single threaded. In other languages, such as PHP, the server is multi-threaded: a new process is created for each individual server request.
Multi Threaded
A process is created for each request and is ended when the response has been sent (or not sent). The PHP run-time environment is multi threaded. There is no event queue (the way we think of it). The server will handle multiple requests at a time, although they are handled synchronously.
Synchronous
One at a time (and in order).
Materials
Note: If you already have php and mysql set up on your machine, you can skip this step.
php is not a focus of this course but some basic knowledge will help navigate mysql and Wordpress later on. Today we’ll take a look at basic syntax and examples of some simple php websites.
Open lab-time
Get php and mysql running on your local machine!
Dailies
No Daily today beyond successfully installing php and mysql.