You've already started watching Introduce the Project
To learn PHP, we’re going to build an online T-shirt store. Visitors can browse through the shirts and look at details for specific shirts. We’ll integrate the site with a PayPal shopping cart so that visitors can purchase the shirts through PayPal.
-
0:00
[treehouse]
-
0:03
[PHP Paradise - Stage 1: Getting Started with PHP with Randy Hoyt]
-
0:06
Hi. I'm Randy. Welcome to PHP Paradise.
-
0:10
PHP is a programming language that can add advanced functionality to our web pages
-
0:14
and make them easier to maintain as our sites grow.
-
0:19
Before starting with PHP, you should already know a little about how web pages work
-
0:22
and be able to write some HTML and CSS.
-
0:26
If you don't, you might want to take a detour and head over to Website Waters first.
-
0:30
Once you're ready to learn PHP, we're going to build this online t-shirt store.
-
0:36
Visitors can browse through the collection of shirts
-
0:38
and look at details for a specific shirt.
-
0:41
We'll integrate the site with a PayPal shopping cart
-
0:43
so that visitors can purchase the shirts through PayPal.
-
0:48
We'll also build a contact form that sends us an email whenever someone fills it out.
-
0:55
We'll use PHP to add this functionality
-
0:58
and to keep the design and product information consistent
-
1:00
across the site as the catalog grows.
-
1:03
As we go, we'll cover core programming concepts like variables and conditionals
-
1:07
and sophisticated techniques for building more dynamic websites
-
1:10
like form processing and template files.
-
1:13
We'll be making an online store, but you can build all sorts of web sites
-
1:17
and web applications with PHP, like social networks, forums, blogs, and more.
-
1:23
Ready to get started?
-
1:24
Let's open up our text editors and take a look at a very simple example
-
1:28
of what PHP code looks like.
-
1:31
First, we'll type an opening angled bracket, followed by a question mark
-
1:33
and the letters P-H-P with no spaces in between them.
-
1:39
Then we'll type a space and the word "echo"
-
1:42
followed by another space.
-
1:44
Next, a quotation mark, the name of our website "Shirts for Mike"
-
1:50
followed by another quotation mark, a semicolon, a space,
-
1:55
another question mark and a closed angled bracket.
-
1:59
Now I'd like you to take a turn typing this line out.
-
2:01
Make sure you type it exactly as I have done here.
-
2:04
When you're done, we'll go over each part.
You need to sign up for Treehouse in order to download course files.
Sign up