Topics Map > Web > Web Development

PHP - Training - New Developer

A guide to learning PHP including standards, useful functions, cheat sheets, and more.

This guide is to give you some resources to help you learn PHP. Once you learn how to use PHP out of the box, we can move on to learning about the PHP frameworks we use, as well as how to use PHP in the context of WordPress.

Using php.net

Your best friend when learning PHP is the website http://php.net. This website contains documentation for many different versions of PHP. Although it is a little hard to use, most of the time when you use Google to figure out the solution to a problem, it'll be found on this site.

Standards

To start, let's take a look at PHP coding standards. We follow these standards on all new applications, and try to convert legacy applications to follow these standards as well.

These come from the PHP Framework Interop Group, or PHP-FIG for short.
Take a look at these to see the standards we are looking for in PHP code. You can easily set your editor to follow these guidelines, if you use something like Sublime Text, PHP Storm, or Notepad++.

If you want some truly inspirational ... inspiration, I would take a look at The League of Extraordinary Packages.

Useful Functions

There are not always built-in functions to handle common tasks in PHP. Thankfully, some people have gone out and written down some common methods and functions that you can use.
Let's face it - there is no way you can memorize all of the PHP functions available. Thankfully, the Internet has come together to create a few cheat sheets which can really help out to have pinned to your cube or available for you while you're learning.

The first one is just a website, that contains a list of functions (and links to them on php.net) separated out by their purpose. You can find this "online cheat sheet" here: http://overapi.com/php/.

The rest of these are printable PDFs that you can save on your computer or print out to reference while coding:

Videos

If you are someone who learns by watching and doing, rather than reading about something - these videos are for you.

UWM has a Lynda.com subscription which all students and staff are able to access. You can login to Lynda.com by going to the following URL:


Once you're logged in, take a look at these videos:

Suggestions or Missing Anything?

Do you think there's something else that could be useful when learning PHP? Let us know and we will improve this document!

Enter a number between 2000 and 3000.
 



For assistance, please contact the Student Affairs Support Desk at:
Phone: (414) 229-4606
Hours:
Monday - Friday: 7:30AM - 4:30PM

For after hours support, contact the UWM Help Desk at (414) 229-4040.




Keywords:Saits, sa its, Student Affairs IT Services,php,learn,guide,cheat sheet,php5,laravel,backend,lamp,linux,mysql   Doc ID:48399
Owner:Christopher M.Group:UW-Milwaukee Student Affairs IT
Created:2015-03-05 14:59 CDTUpdated:2016-09-29 10:26 CDT
Sites:UW-Milwaukee Student Affairs IT
Feedback:  0   0