Over 20 million websites are using PHP as their method of displaying content to you, the user.
PHP is an open source language constantly being modified by thousands of people. The syntax of PHP is very equivalent to many other programming languages, such as C.
Learning the syntax of one language can ultimately teach you the syntax of many other common-ground languages.
In this course I would be developing an easy to follow syllabus starting off with the bare essentials, gradually working our way up to Object Oriented Programming (OOP) in PHP and eventually developing our first application that users can interact with.
Google Group: https://groups.google.com/forum/#!forum/php001
YouTube Playlist: http://www.youtube.com/playlist?list=PL2CF7FC50CEFE20E6
- Installing PHP and "Hello World"
Start by setting up PHP on your computer and creating our first application.
- PHP Syntax, Variables and Mathematical Operations
Learn the basic syntax of PHP, how to create variables and how to change variables using mathematical operations.
- Conditional Logic
How do we ask PHP questions, and then get multiple answers in return?
- PHP Loops
How can we execute code on PHP multiple times?
- Playing With Strings
Now that we know how to make variables, let's start playing around with how they can look!
- Playing With Arrays
Storing data has never been easier!
- User Defined Functions
We know how to use built in PHP functions, how can we create our own?
- Recursion
Since we can create our own functions now, what happens if we call that same function inside of itself?
- Playing with GET
How can we interact with the URL?
- Playing with POST
Ever wonder how we can login using a username and password? Using POST is how we can figure that out.
- Sessions and Cookies
Ever wonder how you STAY logged into a website?
- First Project
Creating a password protected login screen.
- Object Oriented Programming
Using data objects has never been easier!
- Using a Database
Storing information in a database is very, very simple while integrating it with PHP.
- Second Project
Creating a user registration and login page.
- Playing with Files
We can now create, edit and delete files on our servers!
A text editor with PHP syntax highlighting.
All class material will be hosted on the Google group, and source files will be hosted through Github (link coming soon). This will include almost everything, including lessons and resources.
The class is expected to begin August 27, 2012, but may begin earlier.
Syllabus can be downloaded here:
https://php001.googlegroups.com/attach/dcf563036e12bcf0/PHP001-Syllabus.pdf?part=4
All lecture material will be posted as a link to a Google group topic discussion.
>7 years experience using PHP
>6 years experience teaching PHP
>~1.8 million views on my PHP video tutorials
Latest Twitter post:
Error fetching tweets. Click to go to the @uofreddit Twitter feed.
Top Reddit Post:
Can any Stanford Undergrad. Psychology students send me their reading list(s)?
Latest WordPress Post:
Featured class: Microsoft Excel - Lessons & Training
Latest GitHub commit:
Error fetching latest commit.