
Lecture Description
Lecture 2: What is PHP?
PHP is one of the most (if not the most popular) server-side programming language on the web today, with more than 240 million websites using it (as of January 2013 — according to Wikipedia).
Websites like Google, Apple, Facebook and YouTube utilize PHP. Popular Content Management Systems (CMS) like Wordpress, Drupal, Joomla and Expression Engine all rely on PHP.
PHP stands for "Hypertext Preprocessor" — I know, right? I don't get it either...
PHP can be used as a stand-alone programming language to create robust applications, or it can be used within HTML code to create dynamic websites (which is the goal of this course).
PHP runs on a "server", and in order to use PHP on your own computer when developing a website, you'll need to have a server installed on your machine — don't worry about this part, it's quick & painless to get set up, and it doesn't cost you a penny.
I'll be covering the tools you'll need in an upcoming lecture.
Also, I will be frequently referencing PHP.net throughout the duration of this course, and I recommend you bookmark it for easy access.
Stay tuned, because in the next lecture I'll give you a quick rundown of some of the cool things PHP can do!
See you there!
DOWNLOAD COURSE FILES HERE
www.bradhussey.ca/download-php-course
Course Index
- Welcome to the Course
- What is PHP?
- What Does PHP Do?
- Tools to Get Started
- Download Course Files
- Your First PHP Page
- PHP Syntax
- PHP Variables
- More Variables
- Defining Constants
- Get Your Hands Dirty
- Arrays
- Associative Arrays
- Multi-Dimensional Arrays
- Get Your Hands Dirty
- If Statements
- Else
- Else If
- Get Your Hands Dirty
- Comparison Operators
- Logical Operators
- Arithmetic Operators
- String Operators
- Assignment Operators
- While Loop
- For Loop
- Foreach Loop
- Do While Loop
- PHP Functions
- Custom Functions
- Simple Arguments
- Final Website
- Basic Layout
- Global Header & Footer
- Copyright & Hours of Operation
- Team Member Array & Template
- Menu Array & Template
- Understanding $_GET
- Menu Item Template
- Contact Form
- Understanding $_POST
- Form Validation
- Form Submission
- Upload Your Website Live
- Wrap Up
Course Description
This course is a Total Beginner's Guide to Coding Your Very Own Dynamic Websites with PHP, so you need no prior knowledge or experience — although it's a good idea that you know some HTML (my beginner's guide "Build a Website from Scratch with HTML & CSS" will get teach you everything you need to know).
So — why learn PHP? Well, PHP is a very powerful scripting language used by millions of websites. Some of the most popular websites and frameworks utilize PHP to build their dynamic websites. PHP works very well with HTML, and therefore will allow you to start coding dynamic websites quickly without having to learn some of the more complicated scripting languages out there.