Learn the fundamentals of PHP and object-oriented programming in this free PHP tutorial. Jeremy McPeak will help you learn PHP and use it to write web apps.
PHP is one of the most used languages on the web. The vast majority of websites you visit are built with PHP on the back-end, and learning PHP is a requirement for writing plugins or themes for a CMS like WordPress. PHP is fast, but even better, it's easy to learn and easy to use for writing web applications.
In this detailed PHP tutorial, Envato Tuts+ instructor Jeremy McPeak will teach you the fundamentals of PHP programming. You'll start with the basics, learning how PHP works and writing simple PHP loops and functions. Then you'll build up to coding classes for simple object-oriented programming (OOP). Along the way, you'll learn all the most important skills for writing apps for the web: you'll get a chance to practice responding to GET and POST requests, parsing JSON, authenticating users, and using a MySQL database.
To get an idea of what's possible with PHP, check out some of the PHP scripts on CodeCanyon or the WordPress plugins and themes on Envato Elements.
1.Introduction2 lessons, 17:42
1.1Introduction01:55
1.2What You Need15:47
2.The PHP Programming Language8 lessons, 1:50:20
2.1PHP Syntax and Variables16:11
2.2PHP Error Reporting08:58
2.3PHP Conditions and Decisions16:57
2.4PHP Arrays14:09
2.5PHP Loops17:29
2.6PHP Functions09:11
2.7Local and Global PHP Variables15:37
2.8PHP Include and PHP Require11:48
3.User Input and Saving Data in PHP3 lessons, 46:28
3.1PHP GET Requests16:02
3.2PHP POST Requests12:57
3.3PHP Sessions17:29
4.The Web Glossary Project10 lessons, 2:12:35
4.1Separating PHP Logic From Presentation13:23
4.2Working With Files14:11
4.3Parse JSON and Output Data14:52
4.4Adding a Detail Page12:06
4.5Truthiness and Adding a PHP Search17:09
4.6Managing PHP Paths10:22
4.7Creating PHP Terms14:20
4.8Editing PHP Terms12:12
4.9Deleting PHP Terms09:42
4.10PHP Authentication14:18
5.Object-Oriented Programming4 lessons, 41:18
5.1Intro to PHP Classes08:14
5.2Creating a `DataProvider` Class09:44
5.3Writing a Data Abstraction Layer11:21
5.4Inheritance11:59
6.PHP and MySQL8 lessons, 59:49
6.1Intro to MySQL09:30
6.2Connecting to the Database06:25
6.3Inserting Data09:12
6.4Reading Data With `SELECT`07:40
6.5Using Prepared Statements06:46
6.6Searching Data05:08
6.7Editing and Deleting Data05:18
6.8Refactoring the Code09:50
7.Conclusion1 lesson, 01:04
7.1Conclusion01:04
