This week we are finishing up PHP for Beginners, Part 1 by wrapping up the project we started in last week's tutorials. To complete our demo site, we are going to need to work with files, and import some JSON into the site to get all of the pet data we need. We're also going to use more PHP statements and introduce some logic into our work with booleans, and the if and else statements. You'll also write your own PHP function from scratch, instead of just using the ones that are provided by PHP itself. To clean up the code organization for our site you're going to learn how to include, or require, other PHP files into the main file, and have everything still work. Finally, we'll add in some HTML so the site looks nice and consistent. In the midst of getting the project wrapped up, we take a break to look at getting a local development environment set up with XAMPP, if you haven't already done so with one of the other options available in our Installing a Local Development Server guide.
These are the six new videos we have on tap for you:
- Working with Files, JSON and Booleans in PHP (FREE for 2 weeks)
- The Wonderful PHP if Statement
- System Setup with XAMPP
- Creating PHP Functions
- Using require to Include Functions
- Add HTML Layout with require
Next week, we're headed back to Drupal-specific code taking a look at the world of Tokens.
Comments
Thank you for sharing this useful information... It will be helpful for PHP learners..
Thanks.
Jaslynn,
Svasamsoft
Add new comment